Timeout problems

Ole Sig
  • Ole Sig
    Ole Sig

    How do I work with timeout errors?

    I am including some data from a server, which sometimes are closed. When that happens I get this result on my webpage:
    Fatal error: Maximum execution time of 30 seconds exceeded in c:\ibserver\www\modules\Snoopy.class.php on line 1086

    That gives me two problems:
    1) I would like to set the timeout time smaller. I have set $_fp_timeout=2 but it still takes 30 secs. to timeout.
    2) I would like to show something else than the time-out msg. "No data available" or something like that.

    Does anyone have any ideas how to do that?