Page 1 of 1

PHP5 Session handler class, mysql, multiple servers, suhosin

Posted: Thu Aug 12, 2010 11:01 am
by Krysti
Edited to end confusion of the topic

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

Posted: Thu Aug 12, 2010 12:37 pm
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.

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

Posted: Thu Aug 12, 2010 1:14 pm
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?