How can I manually logout upon errors with forms authenticatioN?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to automatically logout if certain conditions occur in my application.
Calling Session.Abandon() does not force a logout. What can I do?
 
AAOMTim,

That depends very much what you mean with a logout. Session.Abandon does end
the session from the client. Nothing more.

Cor
 
I am using the ASP.Net 2.0 login controls and the aspnet_membership provider
with forms authentication. So my user is logged in. Upon error I need to
kill the session and force a logout.
 
Back
Top