If you are already using the in-proc session managemer, there's only one
other thing i can think of. Session only gets established (if i remember
correctly) when you stuff something into session and a request is completely
fulfilled. If the user's visit to the site never puts any data into session
state, this user won't have an established session, and no session_end will
fire.
Try stuffing something into session on a page, and then call
Session.Abandon() to see if it fires.
-Rob Teixeira [MVP]
"Tony" <To************@msn.com> wrote in message
news:OC**************@tk2msftngp13.phx.gbl...
Ok it was already set to in-proc management state.
what is a good test to see what I'm doing wrong?
the session_start works perfect. but the session_end doesn't seem to work?
Thanks
"Rob Teixeira [MVP]" <RobTeixeira@@msn.com> wrote in message
news:%2******************@tk2msftngp13.phx.gbl... in your web.config file, check for this element:
http://msdn.microsoft.com/library/de...atesection.asp
-Rob Teixeira [MVP]
"Tony" <To************@msn.com> wrote in message
news:Oa**************@TK2MSFTNGP11.phx.gbl... How can I set things to use in-proc session state manager or is that
controlled by the hosting service of my website?
Thanks
"Rob Teixeira [MVP]" <RobTeixeira@@msn.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
> It only works if you use in-proc session state manager.
> If you use state server or db state server, you're out of luck.
>
> -Rob Teixeira [MVP]
>
> "Tony" <To***********@msn.com> wrote in message
> news:OO*************@TK2MSFTNGP11.phx.gbl...
> > I can't seem to get the session_end event to work?
> > I've tried to update databases in it and response.redirect to
someplace > > else.
> > Nothing works.
> > I load page and leave it for 60 minutes and I know that the
session id > > expired.
> > I used session.abandon and it didn't fire the session_end.
> >
> > How can I test this? What is a good way to test if it's working?
> >
> > Thanks
> >
> >
>
>