I'm having an apparently IE-only problem with FuelPHP's SimpleAuth login. It works fine on localhost, but on the staging version of the site I'm working on, Auth::check()
always fails after login.
If I dump the contents of Auth::check()
on validation of the login form, I get true
, suggesting that the user has been successfully logged in. However, after I redirect the user to the next page (using Response::redirect
), Auth::check()
evaluates as false
again. I don't think the problem is directly related to the redirect because even if I don't redirect the user, the login still fails.
For some reason this problem only seems to occur in IE (both 8 and 9). In Opera, Firefox, etc, the user login and logout works fine. As I said before, it also works in IE on my local development version. I can only think that it must be some cookie or session-handling problem, but I'm at a loss to figure out what the problem is. I'd be very grateful if anyone can shed any light on this!
I'm using FuelPHP version 1.1