You are here: Re: Session Management « PHP Programming Language « IT news, forums, messages
Re: Session Management

Posted by Gordon Burditt on 09/30/05 01:26

> Is it possible to have session management differentiate within
>browsers on one pc?

If you have DIFFERENT BROWSERS on one PC, say, IE and Mozilla,
they won't share cookies. In particular, they won't share the
session cookie. So they'll establish different sessions and
have different session data.

>For example, if you have two browsers on the same
>shopping site, and one browser adds to the cart, the other browser
>should still show an empty cart.

I'll disagree about "should" here: that behavior you want might
break a lot of web sites that use frames and sessions, for instance
"webmail" sites, that depend on shared information between frames.

I believe that will happen with DIFFERENT BROWSERS. It won't happen
with two windows from the same running instance of the same browser.
I'm not sure what happens if you try two different running instances
of the same browser (start it up twice - it may not let you do that
using the same user profile for both instances (Firefox won't). It
should, but I haven't tested it, work with two different running
instances of the same browser using different user profiles).

>I don't know if this is possible,
>since I have done testing on amazon.com, and have seen that when I add
>an item to the cart on one browser, then open a 2nd browser window, go
>to amazon.com, the cart will contain the item I added from the 1st
>browser window. Any ideas?

Gordon L. Burditt

 

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

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