Re: Session cookies in firefox

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 10, 2005 7:04 pm, Kirsten said:
> 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).

That's because IE stupidly creates a whole new program/process on each.

> Has anyone found a solution to this problem? Maybe detecting the new
> instance and generating a new session id.

Here's a solution:  It's not a problem.  It's the way it's SUPPOSED to be.
:-)

It's actually a BETTER browser because of that.

That said, if you REALLY want to be certain that I don't run two windows
accessing your site (why you care, I dunno) you could try sending out a
token with each HTTP response, embed that token in each URL/FORM/etc and
then check what comes back against what you expected.

Maybe it's just me, but it sounds to me like you just want all your users
to use IE as if that's the only way a browser can/should work...  That's
not a Good Idea, imho.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux