22 Sep
2000
22 Sep
'00
10:05 p.m.
I learned this one the hard way. Had a python method id: expireTime parameters: self body: t = self.ZopeTime() + (1.0/192.0) # 7.5 minutes in the future t = t.toZone('GMT') return t.strftime("%A, %d-%b-%Y %H:%M:%S GMT") ------------------------------------------------------ Was trying the following <dtml-call "RESPONSE.setCookie('name', 'value', path='/', expires=expireTime)"> This does NOT work. THe following works MUCH better <dtml-call "RESPONSE.setCookie('name', 'value', path='/', expires=expireTime())"> -- Steve Drees SysAdmin/Software Developer/Web Geek/Chief Bottle Washer "A problem well-stated is a problem half-solved." http://www.christianmp3zone.com/savanna