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

Posted by Philip Hallstrom on 10/12/04 11:12

> Hi,
> I am using sessions in my web application which is installed in two
> pawns. So the request is randomly picked by one of the two servers. I
> am using files in php session but not database. My problem is, if the
> first request go to one server and the session is created there, then
> for the following request going to other server will not have session.
> How can we manage the session simultaniously in two servers? Please
> help me in this regard.

You could modify your app so that upon the first request (randomly picked)
the client will then continue to use that server until they quit their
browser.

Might not work for your situation, but it would get around the
file/session issue...

-philip

 

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

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