Is there a simple way/call for a plugin to know if there is an active logged session?
I wanted to set my simplecache plugin to not show cached pages to a logged in user.
Thanks in advance-
EDIT: nvm I was checking the source and it look like I just need to call cookie_check();
EDIT: Nope - thought I could just throw in a
and then use an if(cookie_check()==FALSE) to check for no user logged in, but that isn;t working
-Rob A>
I wanted to set my simplecache plugin to not show cached pages to a logged in user.
Thanks in advance-
EDIT: nvm I was checking the source and it look like I just need to call cookie_check();
EDIT: Nope - thought I could just throw in a
Code:
include_once(GSADMININCPATH.'cookie_functions.php');
and then use an if(cookie_check()==FALSE) to check for no user logged in, but that isn;t working
-Rob A>