store the ses cookie globally
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 20 Jun 2008 20:33:36 +0000 (20:33 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 20 Jun 2008 20:33:36 +0000 (20:33 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@9901 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/dojo/openils/User.js

index cb04539..980a03f 100644 (file)
@@ -119,7 +119,7 @@ if(!dojo._hasResource["openils.User"]) {
                     _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();