Permalink
Browse files

set session.use_only_cookies to match SESSION_FORCE_COOKIE_USE

  • Loading branch information...
1 parent bee04dc commit 96750aa43398957f7104ed612f6b9d480fdaa76d @haraldpdl haraldpdl committed Mar 5, 2010
Showing with 4 additions and 0 deletions.
  1. +2 −0 catalog/admin/includes/application_top.php
  2. +2 −0 catalog/includes/application_top.php
@@ -93,6 +93,8 @@
ini_set('session.cookie_path', DIR_WS_ADMIN);
}
+ @ini_set('session.use_only_cookies', (SESSION_FORCE_COOKIE_USE == 'True') ? 1 : 0);
+
// lets start our session
tep_session_start();
@@ -144,6 +144,8 @@
ini_set('session.cookie_domain', $cookie_domain);
}
+ @ini_set('session.use_only_cookies', (SESSION_FORCE_COOKIE_USE == 'True') ? 1 : 0);
+
// set the session ID if it exists
if (isset($HTTP_POST_VARS[tep_session_name()])) {
tep_session_id($HTTP_POST_VARS[tep_session_name()]);

0 comments on commit 96750aa

Please sign in to comment.