Forums / Developer / eZSession storage : file or DB ?
Maxime Thomas
Wednesday 24 June 2009 2:06:05 am
Hi all,
I've looked around but not have'nt found the response to my question : is a SessionHandler existing and does we have the choice to choose the way session arer stored in eZ ?
I would like to store sessions only in files, is it possible ? What about locks ?
Maxime Thomas maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou Company Blog : http://www.wascou.org/eng/Company/Blog Technical Blog : http://share.ez.no/blogs/maxime-thomas
Damien Pobel
Wednesday 24 June 2009 4:15:52 am
Hi Maxime,
As far as I know, it's not possible yet, but I hope this enhancement will be part of the next release (4.2) [1].
With eZ Publish 4.1 I think there is a workaround as the session mecanism is provided by the eZSession PHP class so it should be possible to define your own eZSession class in an extension and generate the autoload array so that your eZSession class overrides the default one.
[1] http://issues.ez.no/14489#Comment260364
Damien Planet eZ Publish.fr : http://www.planet-ezpublish.fr Certification : http://auth.ez.no/certification/verify/372448 Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish
Wednesday 24 June 2009 4:29:14 am
Hi Damien,
Thank you for this quick response.I will wait for 4.2 so...
:-D