cookies, forms authentication problems

  • Thread starter Thread starter Phil Townsend
  • Start date Start date
P

Phil Townsend

I have an application which uses forms authentication. Once users log
in, if they close their browser, then they should have to log in again.
However, I cannot seem to make this happen unless I manually delete the
cookie. I know that I can reset the Expiration on the cookie, but cannot
figure out how to fire an event which causes this. Session_End does not
seem to work for this. What is the best way to accomplish this? Thanks!
 
Hi Phil:

Are you invoking FormsAuthentication.RedirectFromLoginPage? If so, are
you specifying a value of false for the second parameter (persistent
cookie)?
 
Back
Top