Logging PHP sessions to a database

September 1st, 2008 | Posted by ProfFalken in Linux | Open-Source - (1 Comments)

I’m currently configuring a cluster to provide high availability web-hosting.

The main issue we’ve experienced is with ensuring that PHP sessions are maintained across the web-servers without having to recode all the sites that are contained on them.

The answer appears to be session_mysql – this is a php module that replaces the “file”session manager with a MySQL backend. (more…)

Switch to our mobile site