Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Changes to cookiecheck?
#6
The problem is the GS_ADMIN_USERNAME cookie, which does not honor GSCOOKIEISSITEWIDE. In login_functions.php replace

Code:
setcookie('GS_ADMIN_USERNAME', $USR);

with

Code:
if (defined('GSCOOKIEISSITEWIDE') && (GSCOOKIEISSITEWIDE == TRUE)) {

              setcookie('GS_ADMIN_USERNAME', $USR, 0, '/');
      } else {
              setcookie('GS_ADMIN_USERNAME', $USR);
      }
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply


Messages In This Thread
Changes to cookiecheck? - by RobA - 2011-03-31, 10:24:34
Changes to cookiecheck? - by ccagle8 - 2011-03-31, 10:55:14
Changes to cookiecheck? - by RobA - 2011-03-31, 13:39:28
Changes to cookiecheck? - by ccagle8 - 2011-03-31, 22:02:43
Changes to cookiecheck? - by RobA - 2011-04-02, 02:45:05
Changes to cookiecheck? - by mvlcek - 2011-04-05, 04:38:59
Changes to cookiecheck? - by RobA - 2011-04-05, 08:41:58
Changes to cookiecheck? - by ccagle8 - 2011-04-05, 10:09:45
Changes to cookiecheck? - by RobA - 2011-04-05, 21:23:05
Changes to cookiecheck? - by ccagle8 - 2011-04-05, 22:13:12



Users browsing this thread: 1 Guest(s)