i have Trouble with the expires-property from an
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?