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:[EMAIL PROTECTED]] > Sent: Thursday, June 13, 2002 1:04 PM > To: [EMAIL PROTECTED] > 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 _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
