Active Server Pages

Moderators: None (Apply to moderate this forum)
Number of threads: 1751
Number of posts: 4473

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Question about Session On_End event. Posted by gkb on 9 Oct 2002 at 10:03 PM
hello,
i have some problem deal with Session_OnEnd event.pls help me.Thanks

Question:
---------
1)When a Session On_End event occur?
2)When a user press [x] button or File->Close ,will the Session_OnEnd triger?
3)Can i write the codes that delete Application array content inside this event?

Thank You!!
Report
Re: Question about Session On_End event. Posted by Anjuna Moon on 15 Oct 2002 at 8:23 AM
Hi, at least in NT4/IIS4 the event Session_OnEnd does not work, this is a bug they did not fix for some reason. I don't know if it works under Windows 2000.
/Chris


: hello,
: i have some problem deal with Session_OnEnd event.pls help me.Thanks
:
: Question:
: ---------
: 1)When a Session On_End event occur?
: 2)When a user press [x] button or File->Close ,will the Session_OnEnd triger?
: 3)Can i write the codes that delete Application array content inside this event?
:
: Thank You!!
:

Report
Re: Question about Session On_End event. Posted by alexzhen on 15 Oct 2002 at 4:35 PM
: hello,
: i have some problem deal with Session_OnEnd event.pls help me.Thanks
:
: Question:
: ---------
: 1)When a Session On_End event occur?
: 2)When a user press [x] button or File->Close ,will the Session_OnEnd triger?
: 3)Can i write the codes that delete Application array content inside this event?
:
: Thank You!!
:

1) the session on_end occur when the session timeout and call abandon method.
2) no, it will not triger session_onEnd because their no connection between the function that close the browser and server.
3) you must call an event on the client side to trigger a page on the server. (window.unload)
Report
Re: Question about Session On_End event. Posted by gkb on 4 Nov 2002 at 9:09 AM
Thank for you all for reply me. and sorry for late to respond on your help.(bcoz i take holidays...:P )
Thanks for your time! Very much appreciated!

But here i just found out i cant end my application when i write a chat-room program using asp.
How to close the application and trigger application_onend? is it must wait for 20 minits again?
thanks!!
Report
Re: Question about Session On_End event. Posted by Anjuna Moon on 5 Nov 2002 at 5:15 AM
application_onstart is triggered when the host server is rebooted, or rather when the webserver itself is restarted.

Subsequently application_onend would be triggered when the webserver shuts down.





 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.