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)?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top