|
-
Jun 22nd, 2001, 04:11 PM
#1
Thread Starter
Hyperactive Member
session_onend
I want to add some stuff to a database when a sessions is ended or abondoned. I tried to do this in the global.asa file within the session_onend sub.
I am using Session variables in my querystring...
is it at al possible what i am trying ?
-
Jun 22nd, 2001, 04:20 PM
#2
Should be. Why don't you try doing it and see what happens
-
Jun 23rd, 2001, 12:06 AM
#3
Frenzied Member
I think if you do a search on the topic, you will find that most ppl that have attempted to do this have found that the session_onend event sometimes fires, and sometimes doesn't. Go figure...
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
-
Jun 23rd, 2001, 08:26 AM
#4
Thread Starter
Hyperactive Member
So far I have not been able to do this succesfully....
I was wondering maybe it was due to the fact that I am using session vraiables inside the session_onend routine.
-
Jun 23rd, 2001, 02:21 PM
#5
Frenzied Member
That's not the problem. The session_onEnd event occurs just before the session terminates so the values are still there. How exactly are you trying to end the session? You're aware that closing the browser does not kill the session right? (At least not on the server side which is where we're concerned here.)
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
-
Jun 23rd, 2001, 02:28 PM
#6
Thread Starter
Hyperactive Member
Yes I am aware of that...
strangly I get an run time error when i try to open a connection. I copied the code to the sesion_onstart sub and it worked without a problem...
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
|