I'm currently discovering Process Wire and i may encounter a blocking problem, preventing me to use pw :
My server environnement doesn't allow me to store sessions in files, the only way to store sessions is in the database (clustered servers).
I'm wondering how can I hook properly the wire session class,
my options are:
- hook the wire session class
- hack the wire session class
- attempt to ignore the wire session class and use my existing session class, and just hook/replace the login method
- wait and pray? ( http://processwire.c...ts-of-sessions/ )
My level of OOP PHP is not so good
my first attempt to hook failed:
$this->session->addHookBefore('set', $this, 'set');
return this exception:
Error Exception: Method Session::set is not hookable (in /htdocs/..../wire/core/Wire.php line 371)
any advices welcome












