9 Mar
1999
9 Mar
'99
5:17 a.m.
Hello, I believe there is a bug in Confera: it sets a cookie that is hardcoded to last until 31-Dec-99. According to the spec, a cookie that is meant to last forever have to last until (currentdate+one year). Attached is a patch that adress that issue. CurrentDate+OneYear is computed with: e=(self.ZopeTime()+365).rfc822() However, as stated some time ago, this poses problem on computers where the timezone is odd (mine, for example. I had to patch DateTime.py) So, If the above expression raise an exception, I end up in using e='31-Dec-99 23:59:59 GMT' Regards, Jephte CLAIN
9913
Age (days ago)
9913
Last active (days ago)
0 comments
1 participants
participants (1)
-
Service Informatique CHSR