
January 11th, 2001, 11:12 AM
|
|
Contributing User
|
|
Join Date: Dec 2002
Posts: 14,578
  
Time spent in forums: < 1 sec
Reputation Power: 22
|
|
|
session.timeout
<i><b>Originally posted by : marlene (marlene_filbert@email.com)</b></i><br />Hi,<br /><br />I'm trying to set the session timeout variable for an application but it doesn't seem to be <br />working? Can anyone help me?<br /><br />I have a global.asa (which the application definetly uses) that looks similiar to the following:<br /><br />sub session_onstart<br /> session.Timeout=2<br />end sub<br /><br />sub session_onend<br /> response.redirect ("blabla.asp")<br />end sub<br /><br />I've tried sitting in front of a PC and waiting for more than 2 minutes and then clicking a <br />hyperlink on the page and it brings you to the new page (shouldn't do this!)<br /><br />I read somewhere that the session_onend doesn't support request, response or server <br />objects but I also read that that you cannot set the Timeout to a value less than the default,<br />which I don't believe? Either way, I need to redirect to a specific page when the session <br />has timed out.<br /><br />Anybody shed some light on this one?<br />M<br />
|