login session cookie is now removed on browser close
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 1 Sep 2006 22:04:49 +0000 (22:04 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 1 Sep 2006 22:04:49 +0000 (22:04 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5852 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/common/js/opac_utils.js

index 65aca56..0350ca6 100644 (file)
@@ -476,7 +476,7 @@ function grabUser(ses, force) {
        G.user = user;
        G.user.fleshed = false;
        G.user.session = ses;
-       cookieManager.write(COOKIE_SES, ses, '+1d');
+       cookieManager.write(COOKIE_SES, ses, -1);
 
 
        grabUserPrefs();