Re: Logout
From: Victor Garcia Aprea [MVP] (vga@NOobiesSPAM.com)
Date: 04/17/03
- Next message: Victor Garcia Aprea [MVP]: "Re: Form-base Authentication - Protect single Controls included in ASPX Pages"
- Previous message: Daniel Vansteenburg: "ASP.NET NT Authority\Anonymous to SQL Server issues"
- In reply to: Brian Morris: "Logout"
- Next in thread: Ron Cicotte: "Re: Logout"
- Reply: Ron Cicotte: "Re: Logout"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Victor Garcia Aprea [MVP]" <vga@NOobiesSPAM.com> Date: Thu, 17 Apr 2003 15:02:25 -0300
Hi Brian,
Take a look at the FormsAuthentication.SignOut method,
-- Victor Garcia Aprea Microsoft MVP | ASP.NET "Brian Morris" <brian@usd475.com> wrote in message news:ege6kWPBDHA.28568@TK2MSFTNGP10.phx.gbl... > I have an application that I am using FormsAuthentication on. I don't fully > understand the process and copied the code to make it work from a book. > > What I want to make is a Logout button that destroys their authentication. > I would guess that this is pretty easy since using this authentication > method was pretty easy in the first place. > > Can someone please provide me with the syntax to make the application think > I am no longer authenticated. I don't want to have my client close their > browser and am not sure that would work anyway. I haven't tried that > because I am still developing my app. > > tia, > -brian > >
- Next message: Victor Garcia Aprea [MVP]: "Re: Form-base Authentication - Protect single Controls included in ASPX Pages"
- Previous message: Daniel Vansteenburg: "ASP.NET NT Authority\Anonymous to SQL Server issues"
- In reply to: Brian Morris: "Logout"
- Next in thread: Ron Cicotte: "Re: Logout"
- Reply: Ron Cicotte: "Re: Logout"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]