A month back I had written about why your session might not be setting, even though you had set every thing as per the book. This time I am writing about a new problem that I faced with sessions.
The Problem
I recently faced a problem, where for some reason website would not remember session data for some users. They Log in, get to the home page, but the moment they click any other link they are logged out and taken back to login page.
Interesting thing is, this happens for both Firefox and Internet Explorer.
When I used the users credentials I was able to log in perfectly on my machine. When I passed him my credentials to try, and it failed on his machine.
I have faced this problem with both Joomla and Codeigniter framework.
Initially we thought it would be a problem with just his browser’s cookie setting, so we got him to reduce the web browsers security setting to low, So that it allows for cookie acceptance. As it turns out, it was not the problem with cookies either. (more…)