Trying to understand ticket/cookie expiration

G

Guest

Hello all,

I've read through the posts out here, mostly get it, but am still trying to
understand the relationship among the ticket, the cookie, and their
expirations.

I understand that the cookie is just a holder, and that the ticket is what
I'm choosing to hold. I think I want to always set both the ticket and the
cookie to "never" expire (e.g. datetime.maxvalue). When would I *not* want to
do it this way? I know it has to do with kicking out users I no longer want
in my system (or whose roles have changed), but in this case don't I always
need to have a separate mechanism anyway for revalidating against the
database (e.g. at session start), no matter what the ticket says?

Hoping somebody can help me get this straight.

Thanks,

Bill
 

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,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top