[horde] Sessionhandler question
Andrew Morgan
morgan at orst.edu
Mon Jun 20 10:18:43 PDT 2005
On Mon, 20 Jun 2005, Kevin Konowalec wrote:
> What is the most reliable method for handling sessions in horde?
> Currently I have the session handler set to an external MySQL
> database communicating via tcp/ip. In my logs I'm noticing a lot of
> errors like this:
>
> [emergency] [horde] Could not connect to database for SQL
> SessionHandler. [on line 252 of "/myserverpath/Horde/SessionHandler/
> mysql.php"]
>
> They intersperse and are intermittent... but eventually I have to
> restart apache because it gives me "cannot connect to database"
> errors. Should I switch to the default PHP session handler? If I do
> that what is the impact on the system?
I'd be checking for errors on the mysql side. We use the mysql session
handler for a busy webmail site and have no problems.
However, if you have a single webmail server, I don't see anything wrong
with using the default file-based session handler in PHP.
Andy
More information about the horde
mailing list