PHP5 Session handler class, mysql, multiple servers, suhosin

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Krysti
Forum Newbie
Posts: 3
Joined: Thu Aug 12, 2010 10:46 am

PHP5 Session handler class, mysql, multiple servers, suhosin

Post by Krysti »

Edited to end confusion of the topic
Last edited by Krysti on Thu Aug 12, 2010 3:35 pm, edited 1 time in total.
Krysti
Forum Newbie
Posts: 3
Joined: Thu Aug 12, 2010 10:46 am

Re: PHP5 Session handler class, mysql, multiple servers.

Post by Krysti »

Little more info

Both servers run Suhosin

Master server (everything works including session handler code above)
PHP 5.2.6-1+lenny9 with Suhosin-Patch 0.9.6.2 (cli) (built: Aug 4 2010 03:25:57)

Slave server (Has run a session based login system without db before, basically same code, except a session handler)
PHP 5.2.12 with Suhosin-Patch 0.9.7 (cli) (built: Feb 18 2010 18:32:36)

no errors are returned for any code.
Krysti
Forum Newbie
Posts: 3
Joined: Thu Aug 12, 2010 10:46 am

Re: PHP5 Session handler class, mysql, multiple servers.

Post by Krysti »

Further progress, I disabled suhosin's cookie/session encryption.. apparently this is a problem, any insight where perhaps I can keep suhosin sessions encrypted between the two servers?
Post Reply