|
-
Feb 12th, 2003, 10:35 AM
#1
Thread Starter
Frenzied Member
global.asa
Hi yall,
Does someone know how to properly use Session_OnEnd ?
I'm trying to log out a user but can't seem to make it work!
In the Session_OnEnd , can i still use my session object, or it's all cleared up?
IE,
VB Code:
Sub Session_OnEnd
Application.Lock
Application("visitors")=Application("visitors")-1
Application.UnLock
End Sub
Application Object still works, the Request object does not work, but can i use my session object?
something like
VB Code:
Sub Session_OnEnd
Application.Lock
Application("visitors")=Application("visitors")-1
Application.UnLock
Session("userId") 'this line ????
End Sub
-
Feb 12th, 2003, 07:08 PM
#2
Hyperactive Member
Hi, Session_OnEnd does not always fire, its a bug with IIS
more information here
http://www.aspfaq.com/show.asp?id=2078
Cheers
Mark
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|