Reply to Re: Urgent Help with Session

Your name:

Reply:


Posted by Jiri Fogl on 05/10/06 05:47

Meena wrote:
> Dear All, i have developed an application located on a server that has
> a front end and a back end interface, the application uses session
> object. when i log on as a backend user and a client user form the same
>
> computer, the sessions conflict together and i get unexpected results,
> and i found out that this happenes when one of the sessions ends. Ex:
> when i log on as a backend user, and then as a front end one(from the
> same computer at the same time), if i log out(destroy the session) as a
>
> front end user the back end user no longer works because the session
> variables are destroyed. Any Ideas how to fix that, or is there a
> solution in the first place???
>
> Thnx
>

You can have different names for frontend and backend session
variables: $_SESSION['fe_xxx'] and $_SESSION['be_xxx'].
Using this solution, you must not destroy whole session, just unset
needed session members, i.e. unset($_SESSION['fe_xxx']);

[Back to original 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

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