RE: [Zope] Cookies & Expiration

2000-11-07 Thread Eric Walstad
Oops, forgot to send this one to the list... -Original Message- From: Eric Walstad [mailto:[EMAIL PROTECTED]] Sent: Friday, November 03, 2000 3:40 PM To: Steve Drees Subject: RE: [Zope] Cookies & Expiration Hi Steve, Your solution is very cool! I'm going to use

RE: [Zope] Cookies & Expiration

2000-11-04 Thread Aleksander Salwa
On Fri, 3 Nov 2000, Steve Drees wrote: > Have a pythonmethod > > ID expireIn1Week > Parameter List self > _BODY__ > t = self.ZopeTime() + 7.0 # 1 week in the future > t = t.toZone('GMT') > > return t.strftime("%A, %d-%b-%Y %H:%M:%S GMT") It (strftime) is correct as long as

RE: [Zope] Cookies & Expiration

2000-11-03 Thread Steve Drees
> 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. Have a pythonmethod ID expireIn1Week Parameter List self

Re: [Zope] cookies don't obey me

2000-10-10 Thread Dieter Maurer
Roland Reumerman writes: > 1) When I set a cookie with the path set to the root > Be careful with "cookies"! The value of a cookie it quite severely restricted (must not contain many characters; you read the cookie specification?). In your case, the value is not a string at all but a Zope ob

Re: [Zope] cookies

2000-07-20 Thread J. Atwood
http://www.zope.org/Members/BwanaZulia/cookies/index_html That should help. J > From: "Vincent Maton" <[EMAIL PROTECTED]> > Date: Tue, 4 Jul 2000 15:45:55 +0200 > To: "Zope" <[EMAIL PROTECTED]> > Subject: [Zope] cookies > > Hello !!! > can you tell me how can I use the "cookies" > > Thank you

Re: [Zope] cookies

2000-07-19 Thread Maik.Röder
Hi Vincent ! Vincent Maton schrieb: > > Hello !!! > can you tell me how can I use the "cookies" Just go to the following page: http://zdp.zope.org/portals/developers/sessionmanagement/cookies If you find another resource that we have overlooked, please add it yourself on this page. People can

Re: [Zope] cookies

2000-07-04 Thread Rik Hoekstra
>can you tell me how can I use the "cookies" try: no blurk today Also see the relevant portion of the DTML reference guide http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.4.5.html#pgfId-10470 78 and the dtml-snippet http://zdp.zope.org/projects/zsnippet/snippets/Client

Re: [Zope] Cookies

2000-05-25 Thread Stephan Richter
> > )"> > Try: > Regards, Stephan -- Stephan Richter CBU - Physics and Chemistry Web2k - Web Design/Development & Technical Project Management ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross pos

Re: [Zope] Cookies

2000-05-25 Thread Oleg Broytmann
On Thu, 25 May 2000, Mabe, Brad wrote: > )"> Inside double quotes there is Python, not DTML: Oleg.(All opinions are mine and not of my employer) Oleg Broytmann Foundation for Effective Policies [EMAIL PROTECTED] Programmers don't die, they just G

RE: [Zope] Cookies

2000-05-25 Thread Marcus Collins
> -Original Message- > From: Mabe, Brad [mailto:[EMAIL PROTECTED]] > Sent: 25 May 2000 16:29 > To: '[EMAIL PROTECTED]' > Subject: [Zope] Cookies > > I am trying to create a cookie based on the value returned from a sql > method. The following code fails with an invalid syntax error. > >

Re: [Zope] Cookies

2000-05-25 Thread Tony McDonald
At 10:28 am -0400 25/5/00, Mabe, Brad wrote: >I am trying to create a cookie based on the value returned from a sql >method. The following code fails with an invalid syntax error. > > > )"> > > should work hth tone -- Dr Tony McDonald, FMCC, Networked Learning Environments Project http