Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Senior Coder NancyJ's Avatar
    Join Date
    Feb 2005
    Location
    Bradford, UK
    Posts
    3,174
    Thanks
    19
    Thanked 66 Times in 65 Posts

    Timing out if no output to screen

    How can I stop scripts timing out if theres no output to screen for a while? Its not a script error timeout - it just stops loading in the browser.
    I've got some scripts though that do some very long queries and if nothing gets output to the browser it stops - and doesnt finish executing the script sometimes.
    I really need to fix this issue as it is causing major problems in my application.

  • #2
    Senior Coder NancyJ's Avatar
    Join Date
    Feb 2005
    Location
    Bradford, UK
    Posts
    3,174
    Thanks
    19
    Thanked 66 Times in 65 Posts
    I've just created a script with the instruction
    PHP Code:
    sleep(900); 
    After 205s it said "You have chosen to open 'script.php'" with the standard download box.

    my apache timeout is set to 600 as is the KeepAliveTimeout

  • #3
    New to the CF scene
    Join Date
    Nov 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I don't believe there is a why to do this. Maybe there is a way to replace the standard php message to something more appropriate for you.
    WatermarkIt add watermarks to photos and images
    Salo Storm Software

  • #4
    Senior Coder NancyJ's Avatar
    Join Date
    Feb 2005
    Location
    Bradford, UK
    Posts
    3,174
    Thanks
    19
    Thanked 66 Times in 65 Posts
    There is no message - as I said - its not a standard php script timeout - it just stops executing.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •