Commit 5fe5394c authored by Ivan Tyagov's avatar Ivan Tyagov

Set cookie path to '/' (i.e. global site). This information can be then used from other parts of

Wizard (i.e. to show right advertisement based on language).


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24134 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cfd20fd9
......@@ -622,6 +622,7 @@ class WizardTool(BaseTool):
REQUEST.set(LANGUAGE_COOKIE_NAME, user_preferred_language)
REQUEST.RESPONSE.setCookie(LANGUAGE_COOKIE_NAME,
user_preferred_language,
path='/',
expires=(DateTime()+30).rfc822())
# set encoded __ac_express cookie at client's browser
__ac_express = quote(encodestring(password))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment