The problem is that $auth_key generates a different value for the cookie and the session variable.
Is there any way to turn the $auth_key (ie: random and microtime values) in to variable that does not change?
In other words can PHP store a random variable in an unchanging variable?
Using this, I am getting the same value for the session variable and the cookie data. You only set the auth_key variable once, and then use it in two places, so its value shouldn’t change between the two times that you use it.
I’m using Firecookie (a plugin for the Firefox Firebug plugin) to compare session/cookie data.
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".