Hi Jim:
Check out the following URL:
http://www.eggheadcafe.com/articles/20030416.asp
In fact I had a very similar problem and heavily depending on Session_OnEnd and the above trick really works.
================================
Deepak Kumar Vasudevan (MVP)
CS Software Solutions
Phones: +91-44-2819-1336 thru 38
91-98400-26014
www.cssolutionsinc.com
Mailbox Protected by SpamPal (
http://www.spampal.org.uk/)
================================
"Jim Owen" <jk********@comcast.net> wrote in message news:OA**************@TK2MSFTNGP12.phx.gbl...
I'm not sure I understand. I'm using Session the way I use Cache, putting
Session-specific data in there, such as what record I'm currently editing,
etc. So how does that differ from what you're talking about?
--
- Jim Owen
206-501-6936
"Ram" <ra**********@yahoo.com> wrote in message
news:fe**************************@posting.google.c om...
You have to store something in the Session for Session_End to work.
In the Session on start event add this
Session("Started")="True"
Now your session_end should work.
Thanks
Ram
"Jim Owen" <jk********@comcast.net> wrote in message
news:<u#**************@tk2msftngp13.phx.gbl>...
I know I';ve posted on this topic before, but it still doesn't work.
I have a Session_End event in my Global.asax file, but it never fires. I
have gone into my web.config file and in session state I changed the
timeout to "2" and made sure the mode was "InProc". Then I opened my app, did
some stuff, and closed it, expecting in two minutes' time the Session_End
event would fire (It updates the database from the Cache). But it doesn't.
I've tried running by hitting F5 in VS.Net, and have also tried by opening a
browser outside of VS. What am I missing here?