Default Cookie Expiration

R

ryan.d.rembaum

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
 

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

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top