Re: FormsAuthentication.SignOut(); doesn't work...

From: mo (nospam_at_please.thiankyou)
Date: 10/24/05

  • Next message: ABC: "How to prevent the logined user record is existing when I closed browser."
    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!
    >
    >


  • Next message: ABC: "How to prevent the logined user record is existing when I closed browser."

    Relevant Pages

    • Re: Random BSODs
      ... go for days without a crash, and it might crash multiple times during ... In the advice given in responses to posts like this one bad memory ... I think a hardware problem is the most likely culprit, ... If you've already tested the RAM, I would think that either overheating ...
      (microsoft.public.windowsxp.help_and_support)
    • Re: Graphics glitch fixed by safe boot but...
      ... one by one until I find the culprit. ... in an administrative account) to move them back and forth. ... Send responses to the relevant news group rather than email to me. ... Use a real news client if you want me to see your posts. ...
      (comp.sys.mac.system)
    • Re: Abusive posts made to alt.comp.virus (from AIOE) ???
      ... posts to alt.comp.virus because of some sort of abuse issue. ... I'm guessing this guy was the culprit: ... You're telling me that AIOE would respond to a single crackpot post? ... And thanks to Dave Hodgins for putting me onto Motzarella. ...
      (alt.comp.anti-virus)