Hello
I'm using zend framework 3 and I've added the following validators in my session configuration :
'session_manager' => [
'validators' => [
Zend\Session\Validator\RemoteAddr::class,
Zend\Session\Validator\HttpUserAgent::class,
],
],
I have a strange issue in android cellphones/tablets, I get invalid session. I debugged the Zend Session code and I noticed that the 'RemoteAddr' validator returns false on 'isValid' method and it detects different ips on the following line of code :
return ($this->getIpAddress() === $this->getData());
I don't understand why the '$this->getIpAddress()' is different from '$this->getData()'. While I don't have this issue in my laptop, and also firefox browser on android does not have this issue.
Do you have any clue what is the problem and how can I solve this to work on android chrome ?
Hello
I'm using zend framework 3 and I've added the following validators in my session configuration :
I have a strange issue in android cellphones/tablets, I get invalid session. I debugged the Zend Session code and I noticed that the 'RemoteAddr' validator returns false on 'isValid' method and it detects different ips on the following line of code :
I don't understand why the '$this->getIpAddress()' is different from '$this->getData()'. While I don't have this issue in my laptop, and also firefox browser on android does not have this issue.
Do you have any clue what is the problem and how can I solve this to work on android chrome ?