[thelist] Getting expiration date of cookie with .net

Marek Kilimajer kilimajer at webglobe.sk
Wed Jul 9 14:11:20 CDT 2003


Browsers don't send this information along with the cookie. So it is not 
possible. But you can set another cookie that will contain information 
about the first cookie expiration.

Pierre Lemieux wrote:

> We are working on a .net (C#) project where we need to check the expiration
> date of a cookie. We do this in order to know if the cookie is permanent
> (disc) or temporary (memory).
> 
> We have not find any simple way to read the property. Is it possible in
> .net? Is it possible at all?
> 
> 



More information about the thelist mailing list