Date: 05/17/01
- Next message: alex black: "Re: [phplib] session4 accoss ips"
- Previous message: Arno A. Karner: "Re: [phplib] OT: Deleting Queries from Checkbox"
- Next in thread: alex black: "Re: [phplib] session4 accoss ips"
- Reply: alex black: "Re: [phplib] session4 accoss ips"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: alex black: "Re: [phplib] session4 accoss ips"
- Previous message: Arno A. Karner: "Re: [phplib] OT: Deleting Queries from Checkbox"
- Next in thread: alex black: "Re: [phplib] session4 accoss ips"
- Reply: alex black: "Re: [phplib] session4 accoss ips"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

