Re: Session_OnEnd not firing sometimes?
- From: Michael Nemtsev [MVP] <nemtsev@xxxxxxx>
- Date: Wed, 12 Dec 2007 13:22:22 +0000 (UTC)
Hello Chris,
You can use Application and Cache instead
read the MSDN to get more info about this
---
WBR, Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high and we miss it, but that it is too low and we reach it" (c) Michelangelo
CA> Hi michael,
CA> CA> Thanks for your response.
CA> CA> Is there any alternative? Maybe I could store some object in the
CA> session and have its finalizer do the clear up? Would this work, so
CA> when it is garbage collected (presumably at some point after there
CA> is no reference to it in Session scope), my clean up will happen
CA> because GC will call it's finalizer?
CA> CA> On 12 Dec, 12:43, Michael Nemtsev [MVP] <nemt...@xxxxxxx> wrote:
CA>
Hello Chris,
yep, it's still not relyable.
1) it works only for the InProc session management
2) With some SP (for VS or for Windows) it doesn't work at all - need
hotfix
---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog:http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high
and we miss it, but that it is too low and we reach it" (c)
Michelangelo
CA> There seem to be isolated occurences of Session_OnEnd not firing
in
CA> my app. This is problematic because some clean up of resources
CA> happens here. I know the Session events were unreliable in
classic
CA> ASP, but is this still the case in ASP.Net?
CA>
CA> What kind of scenarios would case Session_OnEnd not to fire?
Would
CA> Application_Error being hit cause Session_OnEnd not to fire?
CA>
.
- References:
- Re: Session_OnEnd not firing sometimes?
- From: Chris Ashley
- Re: Session_OnEnd not firing sometimes?
- Prev by Date: Re: Should I use .net's membership, role systems for authentication an
- Next by Date: Re: Prevent ASP.NET page to resend data on refresh?
- Previous by thread: Re: Session_OnEnd not firing sometimes?
- Next by thread: Re: Session_OnEnd not firing sometimes?
- Index(es):
Relevant Pages
|