I've been trying to get some code to fire off on Session's End. I have the sessionState set to "InProc" in the Web.Config file, but that doesn't seem to help. Any ideas what I might be doing wrong?
Printable View
I've been trying to get some code to fire off on Session's End. I have the sessionState set to "InProc" in the Web.Config file, but that doesn't seem to help. Any ideas what I might be doing wrong?
Moved from CodeBank forum (which is for code examples, not questions)
I take it you mean in the Global.asa file?
Yes, well, actually the .asax file, but yes. Visual Studio had a thing about what was required for it to fire off. I thought I had it set up correctly. Perhaps no.Quote:
Originally Posted by rory
Hmmm, okay thats ASP.NET .. might want to ask that over in the .NET forum ..
But even with ASP there are issues doing anything on Session End ... sometimes it works sometimes it doesnt ... and just depends what is being done also .. the best thing to do would be to work around that and try to do something else ..even if it means using Javascript to trigger something ... like on Window Close or something like that