From 5fe5394c43966c83eedeac24453105f0f692cadd Mon Sep 17 00:00:00 2001 From: Ivan Tyagov <ivan@nexedi.com> Date: Fri, 10 Oct 2008 11:29:50 +0000 Subject: [PATCH] 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 --- product/ERP5Wizard/Tool/WizardTool.py | 1 + 1 file changed, 1 insertion(+) diff --git a/product/ERP5Wizard/Tool/WizardTool.py b/product/ERP5Wizard/Tool/WizardTool.py index 87c4881e6f..dfd7d326f3 100644 --- a/product/ERP5Wizard/Tool/WizardTool.py +++ b/product/ERP5Wizard/Tool/WizardTool.py @@ -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)) -- 2.30.9