Re: logout
From: Cowboy \(Gregory A. Beamer\) (N0SpamMPleezEgbworld@comcast.netN0SpamMPleezE)
Date: 10/28/02
- Next message: Cowboy \(Gregory A. Beamer\): "Re: ASP.Net en SQL2000 authorisation"
- Previous message: JJ: "Re: How do I give ASP.NET process network credentials?"
- In reply to: bmaber: "logout"
- Next in thread: Kevin Yu: "Re: logout"
- Reply: Kevin Yu: "Re: logout"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Cowboy \(Gregory A. Beamer\)" <N0SpamMPleezEgbworld@comcast.netN0SpamMPleezE> Date: Mon, 28 Oct 2002 12:42:36 -0600
Create a logout.aspx page and have the button go to it. When it hits the
page, abandon the session and clear viewstate. BY basic auth, do you mean
basic (meaning anyone can hit it; ie, no NTLM) or do you mean a basic form
driven logon. If forms, you can use the SignOut method of the
FormsAuthentication object to ensure sign out of an authenticated user.
With all types, you can clear out the User object, but this is more work if
you have a forms based logon methodology.
-- Gregory A. Beamer MVP; MCP: +I, SE, SD, DBA Author: ADO.NET and XML: ASP.NET on the Edge **************************************************************************** **** Think outside the box! **************************************************************************** **** "bmaber" <bmaber@mondenet.com> wrote in message news:#Rkm8vifCHA.3596@tkmsftngp08... > How to implement a logout button on basic > authentication in asp.net. > Can someone point me in the right direction. > > thanks > Bruce > >
- Next message: Cowboy \(Gregory A. Beamer\): "Re: ASP.Net en SQL2000 authorisation"
- Previous message: JJ: "Re: How do I give ASP.NET process network credentials?"
- In reply to: bmaber: "logout"
- Next in thread: Kevin Yu: "Re: logout"
- Reply: Kevin Yu: "Re: logout"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]