tcl-websh-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ulrich Schöbel <u...@aladyn.de>
Subject Patch to cookie.ws3
Date Sun, 12 Sep 2004 20:55:48 GMT
There's a bug in src/generic/cookie.ws3

It's not possible to specify the expiration date of a cookie as a number of 
seconds from the unix epoch, as described in 'web::cookiecontext'.

I attached a patch to cookie.ws3, which corrects it.

There's still a bug (?) I don't understand:

When I specify 1096575446 (30-Sep-2004.....) as expiration date, everything 
works ok. When I specify 1096661846 (01-Oct-2004....) the cookie has an 
expiration date of 'at end of session'. What's going wrong?

Best regards

Ulrich

Mime
View raw message