Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Does cookie_check() work in GetSimple 3.0?
#1
Does cookie_check() work in GetSimple 3.0, or at least how I think it should?

For example's sake, the following if used in a template doesn't work as expected.

Code:
<?php

if (!function_exists('cookie_check')) { include('admin/inc/cookie_functions.php'); }

echo (cookie_check()) ? "<p>You're logged in.</p>" : "<p>You're not logged in.</p>";

?>

It always ends up saying "You're not logged in." whether logged into the back-end or not. Also, GSCOOKIEISSITEWIDE is set to TRUE as is GSDEBUG in gsconfig.php and the website health check is all in the green.
Modern UI Admin for GetSimple
Watch the demo. Install this plugin. Use this CSS. Enjoy.
Reply


Messages In This Thread
Does cookie_check() work in GetSimple 3.0? - by sal - 2011-06-16, 13:18:37



Users browsing this thread: 1 Guest(s)