Global Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6441
39470 credits Members referred : 374
It's time to use PHP5!
« Reply #2 on: Jun 06, 2006, 04:52:09 PM »
There are only new session id's for new windows if they are opend f.e. via the shortcut on your desktop. If you navigate through a link (tartget=blank) then the same ID is used. Is this a problem for IE users?
At least I have used sites with new window links that kept the session.
This is what I say a link opened in a new window is OK but if you open a new window bij clicking the blue E and entering the same website via the address bar it goed wrong.
For some reason IE is really sensitive to cookie times. It won't even accept the cookie!! This took me quite a while to figureout, for I thoguht it was an IE cookie security issue.
You can set the expiriation time of the cookie on every page load. This way it will work like a normal session.
you say I have to use f.e. the this value "gc_maxlifetime" in every page? this way each session and phpsessid has the same experation time? and if someone has logged out I have to set a negative value to the cookie?