AuthenticationCooki.expires - 50 years?

S

Steffen Grau

Hello,
i have Trouble with the expires-property from an
authentication-cookie.

I create an authenticationcookie and make the change of the
expire-property to 2 hours, before the redirect to the refferer URL
started. Anyhow the expiredate from the cookie on the client is 50
years in the future. In the tracing-mode I can see, that the
authenticationcookie has an expire-date 50 years in the Future. After
that I recall the cookie as http-cookie, change the expiretime onto 2
hours an start at the end the redirect. That all makes no Changes to
the cookie on the client - there I find a cookie with an expire-date
50 years into the future.
I dont know the mistake, can everybody give me an hint?

Thank you,

Steffen Grau
 

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

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top