Re: Session cookies in firefox
| From: | Petar Nedyalkov | Date: | Wed, 11 May 2005 06:38:26 +0000 |
| Subject: | Re: Session cookies in firefox | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-214908@lists.php.net to get a copy of this message | ||
On Wednesday 11 May 2005 05:04, Kirsten wrote:
> I'm using php sessions with cookies.
> I realized that Firefox shared cookies between different instances (unlike
> IE that when someone open a new bank window a new session is created).
>
> Has anyone found a solution to this problem? Maybe detecting the new
> instance and generating a new session id.
Solution 1: Check the referer to your page and consider a "new window" all
requests whose referer is from your domain (or your site, or your site + URI,
etc. - it's up to you to figure out the exact criteria).
Solution 2: Patch the Firefox browser since it's OSS :-)
>
> Thanks!
--
Cyberly yours,
Petar Nedyalkov
Devoted Orbitel Fan :-)
PGP ID: 7AE45436
PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc
PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]