Permalink
Browse files

Fixed issue with iPhone cookie handling, needed to specify expiry

  • Loading branch information...
1 parent 30da243 commit 342d13b3272a0803287c9ef18f692ebf177ac1ab @matb33 committed Jun 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 client/js/lib/session.js
View
@@ -9,7 +9,7 @@ var initializeSessionToken = function () {
var rememberSessionToken = function (sessionToken) {
sessionToken = sessionToken || "";
sessionToken = sessionToken === "" ? "unknown" : sessionToken;
- $.cookie("X_SESSION_TOKEN", sessionToken);
+ $.cookie("X_SESSION_TOKEN", sessionToken, {expires: 7, path: "/"});
Session.set("token", sessionToken);
};

0 comments on commit 342d13b

Please sign in to comment.