Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Default Cookie Expiration

Thread Tools

Default Cookie Expiration
Posts: n/a
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?


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Default Cookie Expiration ASP .Net Security 0 11-22-2005 12:15 AM
What relationship between cookie and ticket expiration? =?Utf-8?B?QmlsbCBCb3Jn?= ASP .Net 2 12-23-2004 07:27 AM
Trying to understand ticket/cookie expiration =?Utf-8?B?QmlsbCBCb3Jn?= ASP .Net 0 10-08-2004 10:43 PM
COOKIE EXPIRATION TIME =?Utf-8?B?T2xlZyBMZWlraW4=?= ASP .Net 15 08-04-2004 02:17 PM
Cookie Expiration Brian ASP .Net 0 07-28-2003 07:55 PM