Re: FormsAuthentication.SignOut(); doesn't work...
From: mo (nospam_at_please.thiankyou)
Date: 10/24/05
- Previous message: Peter Vogel: "Using useuri with security: Keep returning to login page"
- In reply to: mo: "FormsAuthentication.SignOut(); doesn't work..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 23 Oct 2005 20:02:32 -0600
Finally!
I found that the 'path' is the culprit in the web.config.
I changed from: 'path="~/" to: path="/" and now it works...
Thanks for the tips on the tools Dominick .
"mo" <nospam@please.thiankyou> wrote in message
news:OKoCQq61FHA.3780@TK2MSFTNGP12.phx.gbl...
> my current project uses FormsAuthentocation.. I need a logoff page -
>
> may logo off page contains the following in the Page_Load:
> Session.Abandon();
>
> FormsAuthentication.SignOut();
>
> After 'logging off', HttpContext.Current.User.Identity.IsAuthenticated
> and Request.IsAuthenticated is still true and the user can still access
> pages that they should net be able to..
>
> What's up with this??? I've seen quite a few posts on the web, but no firm
> answer
>
>
>
> thanks!
>
>
- Previous message: Peter Vogel: "Using useuri with security: Keep returning to login page"
- In reply to: mo: "FormsAuthentication.SignOut(); doesn't work..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|