From: Geoffrey T. <gta...@na...> - 2002-06-13 19:31:54
|
http://webware.colorstudy.net/twiki/bin/view/Webware/SettingPermanentCookies A number of changes have been proposed below the original code sample. Since this is such a common thing to want to do, someone ought to try out all the idea presented and figure out the absolute best way to do this and submit it as a patch to add a new method to Webware's Response class. - Geoff > -----Original Message----- > From: David Eriksson [mailto:da...@fa...] > Sent: Thursday, June 13, 2002 1:04 PM > To: web...@li... > Subject: [Webware-discuss] "static" Cookies > > > How do you set a cookie for use with static data. > > Just using: self.response().setCookie('bosse','mini') > shares the same cookie as the session and will expire > when the user closes the browser. > > So, I still want my session based cookie to work like > before and the ability to create a static cookie that > lasts until eternity. > > > /david |