[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Zope] cookies
> How can I tell if somebody has cookies disabled in their browser?
> REQUEST.setCookie doesn't throw an error if cookies are disabled.
How should it? It only sets a header in the response to the
browser. You don't "push" the cookie through the channel into the
users browser.
After setting the cookie you could redirect to the same page (setting
an URL parameter which indicates you already were there). Then you can
test for the presence of the cookie.
Regards, Frank
_______________________________________________
Zope maillist - Zope@xxxxxxxx
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 )
This mailing list archive is a service of Copilotco.