I'm using CodeIgniter and I set my sessions like this example:
$this->session->set_userdata('psLoggedInUser', $UserN );
During development I want to clear chache (for example), and run 'clean'. But I want to preseve my logged-in sessions. For example, I also have gmail and linkedin on other tabs and I don't want to be logged out.
However, the moment I clear browser history making sure that log-in sessions aren't cleared, I find myself out of my development site. But I remain logged into gmail.
Why is this happening? Does it mean that gmail uses a different mechanism to keep track of logged in sessions?
For ex. When you want to clear browser cache from chrome with alt+ctrl+del there you can see multiple options, for cache its different option to select and for cookie its different
Hope It would be helpful.