Impersonation and Session_End()

  • Thread starter Steven Padfield via .NET 247
  • Start date
S

Steven Padfield via .NET 247

I have impersonation set to true in my web.config file, but Session_End() executes under the ASPNET identity. Is there any way to re-impersonate the identity used by the application (e.g. "IUSR_xxx") from within Session_End()?

Thanks
 
M

Marina

Session_End fires async to whichever user's session ended. Normally, when
the browser makes a request, it sends that authentication info the server,
which can then pass it on.

In this case there is no request, no authentication info, this is just
firing as an idle timeout, not related to a request. So it would make sense
that the authentication information wouldn't be there.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Newbie question about impersonation 5
Session_End 2
Impersonation? 1
Impersonation 0
Question on session_end()? 7
Session_End? 2
Session_End event, System.NullReferenceException 1
impersonation 3

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top