Session control with Forms authentication and cookie expire time?

Discussion in 'ASP .Net' started by Guest, Sep 5, 2004.

  1. Guest

    Guest Guest


    Can anyone give me advise about following topics:

    1. I want to trace user log in and log out time in my web
    application? I can easely handle moment of log in and to store in anywhere
    (for example in database) but how can i handle the moment of log out if user
    doesn't use log out feature of my web application but juse close the web
    browser? Is there any event which is raised then?
    2.How can I create cookie with no expiration time for Forms
    Authentication?i.e. i want my cookies to live as long as the web browser is

    Thanks in advance
    Guest, Sep 5, 2004
    1. Advertisements

  2. Guest

    chanmmn Guest

    You got to use session time out. You don't really need the cookie that is
    not expire. By right cookie is meant to be expired.

    chanmmn, Sep 5, 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.