Reputation: 321
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?
Upvotes: 0
Views: 1275
Reputation: 1840
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!
Upvotes: 1
Reputation: 1177
First try erasing all cookies, history etc. Then I suggest you check your size limit, then check your directories(move all the files in 1 place). Chrome supports HTML5 localStorage, try it for larger data . Finally check http/https status
Upvotes: 0