Default Cookie Expiration

Discussion in 'ASP .Net Security' started by ryan.d.rembaum@kp.org, Nov 22, 2005.

  1. Guest

    I have what I hope will be a quick question:

    If I use a NON-PERSISTENT default authentication ticket (i.e. One
    created by redirectfromlogin with persistent = false) what is the
    default expiration of said ticket? Is it based on the session timeout
    in my web.config file?

    I am trying to create a custom authentication ticket and want it to be
    exactly like the default ticket except with some data in the userdata
    section. How would I do this (especially in terms of expiration time).
    For example, if the expiration of a non-persistent ticket is generally
    the same as the session expiration, how could I specify this in code.
    If it is based on some other default, how can I specify that?

    Thanks,
    Ryan
     
    , Nov 22, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Brian

    Cookie Expiration

    Brian, Jul 28, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    432
    Brian
    Jul 28, 2003
  2. =?Utf-8?B?T2xlZyBMZWlraW4=?=

    COOKIE EXPIRATION TIME

    =?Utf-8?B?T2xlZyBMZWlraW4=?=, Aug 1, 2004, in forum: ASP .Net
    Replies:
    15
    Views:
    1,156
    Scott M.
    Aug 4, 2004
  3. =?Utf-8?B?QmlsbCBCb3Jn?=

    Trying to understand ticket/cookie expiration

    =?Utf-8?B?QmlsbCBCb3Jn?=, Oct 8, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    363
    =?Utf-8?B?QmlsbCBCb3Jn?=
    Oct 8, 2004
  4. =?Utf-8?B?QmlsbCBCb3Jn?=

    What relationship between cookie and ticket expiration?

    =?Utf-8?B?QmlsbCBCb3Jn?=, Dec 22, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    388
    =?Utf-8?B?QmlsbCBCb3Jn?=
    Dec 23, 2004
  5. Default Cookie Expiration

    , Nov 22, 2005, in forum: ASP .Net Security
    Replies:
    0
    Views:
    116
Loading...

Share This Page