Thanks Luke & Geoff for the cookies tip.

So what's the best way of getting to know when a client enters any 
page for the first time "per session" within the context.  I would 
prefer to initiate the long-life cookie on a place outside a 
SitePage.py alike servlet.




At 15.31 -0400 02-06-13, Geoffrey Talvola wrote:
>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
>
>  >
>>  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

Reply via email to