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@anonym.hu mailto:fowlertrainer@anonym.hu
fowlertrainer@anonym.hu 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@netsight.co.uk 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
participants (2)
-
fowlertrainer@anonym.hu -
Matt Hamilton