[thelist] Re: Getting expiration date of cookie with .net
Pierre Lemieux
plemieux at neomedia.com
Wed Jul 9 12:17:33 CDT 2003
> Hi there,
>
> Use the Expires property of the HttpCookie class.
>
> Example:
> DateTime dt = Request.Cookies["myCookie"].Expires;
>
We already use this method but we always get 01/01/01 as a result.
We checked the cookie in the browser and his date is correct... :(
Are we missing something here?
--
Pierre Lemieux
Charge de projets
Neomedia inc.
T 418.687.6048
F 418.687.1161
More information about the thelist
mailing list