Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Changes to cookiecheck?
#3
Well, I'm at a loss.

I added some debug code after cookie_check():
Code:
global $USR;
global $SALT;
global $cookie_name;
var_dump($USR);
var_dump($SALT);
var_dump($cookie_name);

and it seems $USR is null. I'm guessing this may be due to the new multi-user code...

Rather than trying to use this core function I think I'll just have to create my plugin's own cookie on login hook and destroy it on logout hook.

-Rob A>
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)