all groups > asp.net security > september 2003 >
You're in the

asp.net security

group:

Forms Authentication and Logging Out



Forms Authentication and Logging Out paul reed
9/27/2003 10:14:43 PM
asp.net security: Hi,

I am using Forms Authentication and it is working just great...someone tries
to access a form without logging in, they get routed to my login screen.

However, how do I implement logging out? I have a logout menu option where I
want to fire and ASPX page that does...what? What to do I null out or reset
so it requires them to log back in?

Thanks in advance,

Regards...Paul Reed

Forms Authentication and Logging Out Fredrik_Normén_NSQUARED
9/28/2003 12:15:58 AM
You just simple call FormsAuthentication.SignOut()

/Fredrik Norm=E9n NSQUARED2


[quoted text, click to view]
Forms Authentication and Logging Out Paul Reed
9/28/2003 11:23:25 PM
Fredrik,

Thanks so much...that did the trick.

Paul

[quoted text, click to view]
AddThis Social Bookmark Button