Page Timeouts

Results 1 to 4 of 4

Thread: Page Timeouts

  1. #1
    Steve Griff Guest

    Default Page Timeouts

    Hi peeps,<BR><BR>Lets say you have logged in to this page where a session variable has been declared. Is there a way after ten minutes the session variable can be changed to -1 or something to notify you have had a "timeout". <BR><BR>Is there a good asp thing for this?<BR><BR>Cheers.<BR><BR>Steve Griff

  2. #2
    ppg Guest

    Default RE: Page Timeouts

    just a thought - perhaps you could use the session_on_end method in your global.asa file to set the variable?

  3. #3
    Join Date
    Dec 1969

    Default setTimeout

    Investigate the javascript setTimeout function....<BR><BR>setTimeout(&#039;myFunction()& #039;,5000) // runs myFunction after 5000 milliseconds - or there abouts..

  4. #4
    Steve Griff Guest

    Default RE: setTimeout

    erm... I get Object expected.<BR><BR>function myTimeout()<BR>{<BR>Session("whatever") = -1;<BR><BR>}<BR><BR><BR><BR>.....<BR><BR>setTimeout (&#039;MyTimeout&#039;, 900000);<BR><BR>what&#039;s up?<BR><BR>Steve Griff

Posting Permissions

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