Re: [phplib] session4 accoss ips From: andre anneck (510064301544-0001 <email protected>)
Date: 05/17/01

Hi Daniel,

You only have 2 choices:

1) You make sure all session-data is in _one_ place (e.g. A database
instead of many filesystems)

2) You loadbalancer has the feature to make sure the same
session/connection always stays with one machine. (I know the F5 does that)

Please take note that if you go for option 2 with your setup
(filesystem-session) you will not have a fail-safe/fail-over situation.

Take care,

Andre

Daniel Bondurant wrote:

> I am running phplib with session4.
>
> I changed the ip address of the server (moving from behind firewall to
> outside), and the sessions that were still active starting doing strange
> things. I when I logged in, I ended up logged in as someone else (who
> had an active session), and had their full permissions. I fixed it by
> destroying all the php4 sessions in /tmp (on apache/linux)
>
> the only reason this concerns me, is we might be moving to load
> balancing servers shortly, where each machine has the same ip, but the
> session vars will be stored on the different machine depending on which
> one was assigned.
>
> In this circumstance, is there anyway to insure that the same phplib
> session will always get the same machine, and has anyone encountered
> this problem before.
>
> thanks
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> For additional commands, e-mail: phplib-help <email protected>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>