[EMAIL PROTECTED] wrote:
> 
> Joshua,
> 
> I am enclosing parts of the log file. I turned the Debug variable to 2 in 
>httpd.conf. However, I am not using global.asa or Session_OnEnd routine. When the 
>user session times out and he clicks on any hyperlink, he gets redirected to another 
>html file (forcelogout.html)
> which tries to use this Application variable to do some cleanup.
> In the log, you'll see a couple of print statements that I've put in 
>forcelogout.html.
> 

You should use Session_OnEnd for this, that is what it is
there for :)  What is happening is that the Application_OnEnd is 
occuring, resetting the contents of $Application, which happens
after the last users Session_OnEnd.  You should do user session
garbage collection in Session_OnEnd, and you will still have 
access to $Application data there.

The only thing you can tell a user for certain after a session
is destroyed is that they need to login again, and that 
timeouts occur after Apache->dir_config(SessionTimeout) minutes,
if set.

--Joshua
_________________________________________________________________
Joshua Chamas                           Chamas Enterprises Inc.
NodeWorks >> free web link monitoring   Huntington Beach, CA  USA 
http://www.nodeworks.com                1-714-625-4051

Reply via email to