Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Check for logged in user
#1
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
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 Sad

-Rob A>
Reply


Messages In This Thread
Check for logged in user - by RobA - 2010-11-16, 14:30:34
Check for logged in user - by yojoe - 2010-11-16, 17:39:40
Check for logged in user - by RobA - 2010-11-17, 06:31:10



Users browsing this thread: 1 Guest(s)