You are here: Re: [PHP] Session cookies in firefox « PHP « IT news, forums, messages
Re: [PHP] Session cookies in firefox

Posted by Richard Lynch on 05/11/05 08:26

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация