Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Users

How to I set a variable to forever ?

 

 

Zope users RSS feed   Index | Next | Previous | View Threaded


fowlertrainer at anonym

May 19, 2004, 6:46 AM

Post #1 of 2 (438 views)
Permalink
How to I set a variable to forever ?

Hello !

I want to use a thing like "nonstopped", forever existing cookie.

My site has two languages.
When the user change the language, I must
change it forever.

I must store this value, example in cookie, and when
he/she is return, I get back to his/her choosen language.

But in Zope how to I create a cookie with no time limit ???

Thanx for every help.

--
Üdv/Kind of Regards:
fowlertrainer [at] anonym
mailto:fowlertrainer [at] anonym


_______________________________________________
Zope maillist - Zope [at] zope
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )


matth at netsight

May 19, 2004, 9:48 AM

Post #2 of 2 (436 views)
Permalink
Re: How to I set a variable to forever ? [In reply to]

fowlertrainer [at] anonym wrote:

> I must store this value, example in cookie, and when
> he/she is return, I get back to his/her choosen language.
>
> But in Zope how to I create a cookie with no time limit ???

Cookies *must* have a time limit. So the only thing you can do is set
it to 10 years time, or something (equally Y2K) like that :)

-Matt


--
Matt Hamilton matth [at] netsight
Netsight Internet Solutions, Ltd. Business Vision on the Internet
http://www.netsight.co.uk +44 (0)117 9090901
Web Design | Zope/Plone Development & Consulting | Co-location | Hosting

_______________________________________________
Zope maillist - Zope [at] zope
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Zope users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.