- Member | 6
I downloaded the latest version of Nette (stable version 2.0.1 for PHP 5.2) and used its sandbox for new app to get result what is causing the problem with sessions in IE (previous stable version was correct).
I am using only this code in testing environment for HomepagePresenter:
echo $this->getSession('test')->id = 25;
and the next (get) one for another presenter
Everything is ok in browsers such as mozilla, opera and chrome, but there is a problem with internet explorer (i reproduced this on ie7, 8, 9). I tried to get last NSession class from DEV 2.1 version, but it is not fixed there yet.
IE doesn't hold session and each browser reload means to create new session file on server (with empty value for my variable). I tried to solve this by P3P header in basepresenter startup (and bootstrap) but it didn't help. I tried to remove session_regeneration part of script, but it didn't solve it too.
Last edited by Stene (2012-03-23 11:36)
- Member | 6
Yes of course, I read this thread but it didn't solve this problem.
I tried to clear cache, remove all cookies, tried on another version of IE on virtual machine (trough VirtualBox), clear Nette cache, try it in browser relation, and nothing of these didn't solve it.
Tested on the Xampp with PHP 5.2.8. Session is created, but every each browser reload didn't read from this session server file – it creates a new one with empty variable value:
Session file, which was created after mozilla reload:
And another one after IE reload:
I read all similiar threads on Czech forum – it is a reason, why I post it to the “Bug reports” category.
Last edited by Stene (2012-03-23 14:24)