[Zope] Cookies & Expiration

Kit O'Connell txpn@txpn.org
Fri, 3 Nov 2000 13:20:02 -0800 (PST)


I'm trying to set up something like is used in the Zope Elvis tutorial,
where it sets a cookie  to show when you last visited the site, so that I
can flag certain articles as 'new'. 

However, I'd like to have this cookie set to expire one week from the date
of the current visit. i.e., if its 12:30 on 11/3 when a surfer visits my
site, I want Zope to set their lastVisited cookie to expire on 12:30 on
11/10.

Any ideas?

Thanks,
Kit