You are here: PHP Session ID problem « All PHP « IT news, forums, messages
PHP Session ID problem

Posted by Tom Peel on 02/16/06 16:58

We have two PHP applications on a website. We have one user who accesses
both applications from two browsers (Mozilla in this instance) on one PC
at the same time, and it appears that the session variables from one
session are turning up in the other application, leading to unexpected
and unpredictable behaviour.
Reading the manual, it would appear that this is a result of the
session being stored as a cookie on the client PC.
It would appear that we can control this behaviour by turning
session.use_cookies TRUE or FALSE in php.ini. However we would prefer
not to do this because of possible side effects and maintenance issues.
The manual suggests that session data can be sent in a URL, but does
not explain further. Can someone explain how this is done?

Another idea we had is to ensure that session variables are
application-unique. Again there is a long-term maintenance issue.

Any recommendations?

TIA

T.

 

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

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