forms authentication and cookies

Discussion in 'ASP .Net' started by Phil Townsend, Nov 3, 2004.

  1. 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!
    Phil Townsend, Nov 3, 2004
    1. Advertisements

  2. Phil Townsend

    Scott Allen Guest

    Hi Phil:

    Are you invoking FormsAuthentication.RedirectFromLoginPage? If so, are
    you specifying a value of false for the second parameter (persistent
    Scott Allen, Nov 3, 2004
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.