You are here: Re: sessions - two with same session ID as the same time « PHP Programming Language « IT news, forums, messages
Re: sessions - two with same session ID as the same time

Posted by Gordon Burditt on 01/19/06 16:58

>I guess what I am wondering if it is a (potential) problem if two people are
>using the same session ID and if so, what are these problems.

They have the same set of session variables, which they both change.

This can be a problem with, say, a shopping cart application.
You could end up with one frustrated user repeatedly adding
a football jersey and deleting knitting needles, and the other
user repeatedly adding knitting needles and deleting the football
jersey.

Depending on how you handle logouts, if one logs out, it kills the
session for the other one.

If you have a "password change" feature, either user probably ends
up changing the password for both.

If the site has a mailbox feature, they share the same mailbox, read
each other's mail, and send mail from the same identity.

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

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