Floodster
Technical User
- Jan 28, 2005
- 204
I have read numerous threads about this & the best way is to use the GLOBAL.asa file. I can record in a database how a user logs off if they choose my log out option but the problem I have is when they just close the browser.
I believe you can use Session_OnEnd but I'm unsure if I can call a function from my gbl_function.asp file or if I need to include everything in the global.asa file.
The other problem is if I have to include everything in my global.asa file how do I use the session variables I have created in other .asp pages to store user_id etc in my SQL statement??
Thanks.
I believe you can use Session_OnEnd but I'm unsure if I can call a function from my gbl_function.asp file or if I need to include everything in the global.asa file.
The other problem is if I have to include everything in my global.asa file how do I use the session variables I have created in other .asp pages to store user_id etc in my SQL statement??
Thanks.