Subject: | lock_handle should not be required when username, password, etc. is supplied |
Logged as requested by Dave Rolsky on mason-users list.
The following error is shown in Apache's error log even though appropriate parameters have been set in httpd.conf:
Not all of the required parameters for your chosen session class (Apache::Session::MySQL) were provided. Missing the following: handle lock_handle.
Example of required params in httpd.conf:
PerlAddVar MasonSessionCookieDomain myhost.example.com
PerlAddVar MasonSessionClass Apache::Session::MySQL
PerlSetVar MasonSessionDataSource dbi:mysql:mydb:127.0.0.1
PerlSetVar MasonSessionUserName user
PerlSetVar MasonSessionPassword password
PerlSetVar MasonSessionLockDataSource dbi:mysql:mydb:127.0.0.1
PerlSetVar MasonSessionLockUserName user
PerlSetVar MasonSessionLockPassword password
PerlSetVar MasonSessionUseCookie true
PerlSetVar MasonSessionCookieName mycookie