Hello,
I use HTTP_USER_AGENT information in session validation something like that
===============
$agent = getenv('HTTP_USER_AGENT');
$_SESSION['o']=md5($agent);
......
$agentnow = getenv('HTTP_USER_AGENT');
$agentnow=md5($agentnow);
if ($_SESSION['o'] != $agentnow) {
logout();
}
There are no problem with it. It works for all users but today I got a support request from one user that he can login but on the next click he is being logged out.
So, how is it possible that his HTTP_USER_AGENT information changes on each click?
Thanks.