I can go to my site, look in DebugKit > Session, and see the “Auth” variable – works fine, and everything is great.
BUT – on two machines (out of 5-7 tested), and only in Chrome, the Auth variable is completely missing. This keeps the user from logging in, screws up redirects…etc etc.
We’ve tried uninstalling and re-installing Chrome – we made sure security settings and session/cookie settings in Chrome were the same as all the other computers that work…etc etc. (Maybe we missed one?, but – fresh install, so…). And we made sure we’re all in the same version of Chrome.
At first I thought it might be an issue with my code (and it still could be), but then we tried logging into another Cake site on one of the “stupid” computers, and it did the same thing – can’t log-in.
It must have had something to do w/ the Security Component. When I turned that off, they could log-in fine.
Still not sure exactly what the issue is, but upgraded my site to CakePHP 2.2 beta, and it’s not an issue now.
The release notes are here.
Here are some of the release notes from the 2.1.2 stable release (I was on 2.1) – these are the ones that relate to Sessions/Auth…etc that COULD have had something to do with the problem: