[open-ils-commits] r9901 - trunk/Open-ILS/web/js/dojo/openils

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Jun 20 16:33:40 EDT 2008


Author: erickson
Date: 2008-06-20 16:33:36 -0400 (Fri, 20 Jun 2008)
New Revision: 9901

Modified:
   trunk/Open-ILS/web/js/dojo/openils/User.js
Log:
store the ses cookie globally

Modified: trunk/Open-ILS/web/js/dojo/openils/User.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/User.js	2008-06-20 19:31:12 UTC (rev 9900)
+++ trunk/Open-ILS/web/js/dojo/openils/User.js	2008-06-20 20:33:36 UTC (rev 9901)
@@ -119,7 +119,7 @@
                     _u.getBySession(onComplete);
                     if(_u.authcookie) {
                         dojo.require('dojo.cookie');
-                        dojo.cookie(_u.authcookie, _u.authtoken);
+                        dojo.cookie(_u.authcookie, _u.authtoken, {path:'/'});
                     }
                 }
                 authReq.send();



More information about the open-ils-commits mailing list