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
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
> 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
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:3
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
I've been experiencing two problems with cookies from Zope:
1) When I set a cookie with the path set to the root
I'm still not able to click through to another hyperlink once I'm logged in,
i.e., I've used www.ddi.nl/support to go the password protected Zope site,
logged in as a customer, a
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 !!!
> c
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
>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
Hello !!!
can you tell me how can I use the "cookies"
Thank you very much
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/li
>
> )">
>
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
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
> -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
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
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.
)">
Any guidance will be greatly appreciated
-=Brad=-
___
Zope maillist - [EMAIL PROTECTED]
http://l
15 matches
Mail list logo