store the ses cookie globally
[Evergreen.git] / 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();