Link to home
Start Free TrialLog in
Avatar of DJ_AM_Juicebox
DJ_AM_Juicebox

asked on

Cannot read cookies in my Joomla site, in Firefox in Safari, works in IE

I have a simple login form on my Joomla site, which I have created using a module for entering custom code. (I've actually tried a few different ones, with the same results.)  On this login form, I have a "remember me" checkbox, so if the user checks it off, I save the username and password in cookies and fill them out next time they visit. This works fine in IE but in Firefox and Safari, the cookies cannot be read. I actually create them successfully in another module and I can see the cookies in Firefox but they're not in $_COOKIE. I've tried using both PHP and Javascript. Either way, it works in IE but not in Firefox. I've also tried the same code outside of Joomla and it worked fine. Is anyone aware of some Joomla settings that would cause this behavior?
Avatar of Mwenyeji
Mwenyeji

HaVE YOU ENABLED COOKIES ON YOUR BROWSER?
Avatar of DJ_AM_Juicebox

ASKER

Yes, and the cookies are being stored but cannot be read.
ASKER CERTIFIED SOLUTION
Avatar of DJ_AM_Juicebox
DJ_AM_Juicebox

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial