If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > global.asa session_onend not firing

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-13-02, 16:08
Shagg Shagg is offline
Registered User
 
Join Date: Dec 2002
Posts: 1
Question global.asa session_onend not firing

I can't get my session_onend to fire in global.asa. I'm trying to add a list of users who are online to a database by adding their username in the session_onstart event, and then removing them from the database in session_onend.
the onstart event fires and the usernames get added to the database, but they never get deleted. I tried copying the code in onend to an asp file and everything works fine there. The timeout is set to 5 minutes.

Any ideas?
Reply With Quote
  #2 (permalink)  
Old 12-20-02, 06:51
JonathanB JonathanB is offline
Registered User
 
Join Date: Feb 2002
Location: North Wales, UK
Posts: 114
Have you tried calling the following in your code to see if it runs your code in Session_OnEnd??

Quote:
session.abandon
__________________
J^ - web | email
newsASP Developer

Last edited by JonathanB; 12-20-02 at 06:56.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On