Forms authorization cookie always set to expire in 2055?

A

Amil

I'm using Forms authorization. In my <forms> section I have timeout="30",
but when I examine the cookie, it shows it expiring in 2055? Why?

<authentication mode="Forms">
<forms
loginUrl="/login.aspx"
protection="All"
timeout="30"
path="/">
<credentials passwordFormat="Clear">
<user name="guest" password="xxxxxxx" />
</credentials>
</forms>
</authentication>
 
B

Brock Allen

Because they hard coded it to expire after 50 years. You can change that
(albeit manually).
 
A

Amil

So, what good is setting the "timeout" value in the <form> section? Maybe
you didn't read my post accurately.
 
A

Amil

Ahh...yes...now I see. I set the persistant parameter to false and now it
works. Thanks.

Amil
 

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,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top