Re: ending a session
| From: | Erwin | Date: | Fri, 06 Sep 2002 07:16:31 +0000 |
| Subject: | Re: ending a session | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-115400@lists.php.net to get a copy of this message | ||
Raphael Hamzagic wrote:
> Thanks,
>
> But, if the client don't accept cookies?
> And if the user open a new browser window with the same url, the new
> window will use the same opened session.
If the user opens a new window, without closing the old one first, then it
will use the same session.
If the client don't accept cookies, you'll have to turn transparant_session
on. The problem with that is, that the user will not(probably, I'm not sure
about this) get a new session, because the server doesn't know that the
browser window is actually closed, like Rasmus told you.
One reasen the user don't accept cookies, can be the following:
http://www.w3.org/P3P/
Some users/browsers/company only accept cookies from websites which have a
P3P statement. Other users just don't accept cookies. You'll have to live
with that, use transparant_sessions and accept the negative sides of that
(if it has any).
HTH
Erwin