[FIX] set correct session name
authorChristophe Simonis <chs@openerp.com>
Tue, 22 Nov 2011 12:20:16 +0000 (13:20 +0100)
committerChristophe Simonis <chs@openerp.com>
Tue, 22 Nov 2011 12:20:16 +0000 (13:20 +0100)
bzr revid: chs@openerp.com-20111122122016-ykckmih2q7dfb4yb

addons/web/static/src/js/core.js

index e3f85a9..0c3eaff 100644 (file)
@@ -360,7 +360,7 @@ openerp.web.Connection = openerp.web.CallbackEnabled.extend( /** @lends openerp.
         this.debug = ($.deparam($.param.querystring()).debug != undefined);
         // TODO: session should have an optional name indicating that they'll
         //       be saved to (and revived from) cookies
-        this.name = 'session';
+        this.name = openerp._session_id;
     },
 
     bind: function(server, continuation) {