First of all sorry for my english I'm trying to use the cookies but I can't understand I saw the setCookie function in some examples but I can't understand how to use another function like getCookies Is it implemented ? pls can you help me with some examples or other documentation ? thanks in advance LR
On Tue, 16 May 2000, Lorenzo Rondelli wrote:
First of all sorry for my english I'm trying to use the cookies but I can't understand I saw the setCookie function in some examples but I can't understand how to use another function like getCookies Is it implemented ?
It is implemented and called automagically :) You do not need to call it - just test if the name exist: <dtml-if myCookie>... Oleg. (All opinions are mine and not of my employer) ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
Oleg Broytmann wrote:
It is implemented and called automagically :) You do not need to call it - just test if the name exist: <dtml-if myCookie>...
If you want to make sure you're getting the cookie: <dtml-if "REQUEST.cookies.has_key('myCookie')"> and access via: <dtml-var "REQUEST.cookies.['myCookie']"> untested, but should work unless I've been stupid ;-) cheers, Chris
What is the correct precedure for installing multiple instances of zope on an NT server? Or, where can I find some documentation on this? I seem to find references which mention multiple instances. They then go on to other subjects. I'm asking because I have done this but had some problems reaching the site I designated. I seemed to intermittently get thrown to the original install even though pcgi pointers were unique. ----- Original Message ----- From: "Lorenzo Rondelli" <Lorenzo_Rondelli@gidi.it> To: <zope@zope.org> Sent: Tuesday, May 16, 2000 12:03 PM Subject: [Zope] cookies
First of all sorry for my english I'm trying to use the cookies but I can't understand I saw the setCookie function in some examples but I can't understand how
to use
another function like getCookies Is it implemented ? pls can you help me with some examples or other documentation ? thanks in advance LR
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (4)
-
Chris Withers -
J. Michael Mc Kay -
Lorenzo Rondelli -
Oleg Broytmann