Re: Forms Authentication problem

From: Ben (Ben_at_discussions.microsoft.com)
Date: 08/05/05

  • Next message: Dominick Baier [DevelopMentor]: "Re: SSL Forms Authentication Redirect - Problem Redirecting out of HTTPS"
    Date: Thu, 4 Aug 2005 18:31:01 -0700
    
    

    Brock,

    Setting the second parameter to false did the trick!

    Thanks for your help!

    Ben

    "Brock Allen" wrote:

    > Sounds like whereever you're calling FormsAuthentication.SetAuthCookie or
    > FormsAuthentication.RedirectFromLoginPage you're passing true as the 2nd
    > parameter. Pass false -- this says to not use a persistent cookie.
    >
    > -Brock
    > DevelopMentor
    > http://staff.develop.com/ballen
    >
    >
    >
    > > Hi,
    > >
    > > I am using forms authentication. When the user clicks the "Logout"
    > > button and then tries to login again, all is well. But when the user
    > > closes the browser and comes back in, the app thinks that the user is
    > > still logged in.
    > >
    > > I am using cookies. How can I check for this problem and clear it?
    > >
    > > Thanks
    > >
    > > Ben
    > >
    >
    >
    >
    >


  • Next message: Dominick Baier [DevelopMentor]: "Re: SSL Forms Authentication Redirect - Problem Redirecting out of HTTPS"
  • Quantcast