[Erp5-report] r24134 - /erp5/trunk/products/ERP5Wizard/Tool/WizardTool.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Oct 10 13:29:56 CEST 2008


Author: ivan
Date: Fri Oct 10 13:29:50 2008
New Revision: 24134

URL: http://svn.erp5.org?rev=24134&view=rev
Log:
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).

Modified:
    erp5/trunk/products/ERP5Wizard/Tool/WizardTool.py

Modified: erp5/trunk/products/ERP5Wizard/Tool/WizardTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Wizard/Tool/WizardTool.py?rev=24134&r1=24133&r2=24134&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Wizard/Tool/WizardTool.py (original)
+++ erp5/trunk/products/ERP5Wizard/Tool/WizardTool.py Fri Oct 10 13:29:50 2008
@@ -622,6 +622,7 @@
         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))




More information about the Erp5-report mailing list