I’m having problem with cookies on Google Chrome browser. In other browsers site is working correctly. The problem is that when you sign in and than close browser. When you return you’re not logged in at first. If you click on any link, then you’ll get logged in. So on first visit cookies don’t work. Any ideas how to fix this?
I’m having problem with cookies on Google Chrome browser. In other browsers site is
Share
Before you can access a cookie you have to refresh the page. Is is because cookies work like this:
After you set a cookie you have to refresh the page in order to use it.
You say you’re using Chrome. If you’re running OS X there may be another issue: I just discovered Chrome on OS X does not correctly compensate for time zone differences.
If you are GMT + 4 and you set the cookie to expire in less than 4 hours it will expire right away. If you set it to expire in 4 hours and 10 seconds, it will expire in 10 seconds. It’s messed up!