Share » Forums » Developer » Best way for session preferences

Best way for session preferences

Best way for session preferences

Tuesday 22 February 2011 2:56:51 am - 1 reply

Author Message

Damien Pobel

Tuesday 22 February 2011 4:27:28 am

Hi,

Ez preference stores data per user id. Each anonymus has the same id...

In fact the preference system of eZ Publish is bit more clever because for anonymous users it uses session variables instead of storing values in the database. See https://github.com/ezsystems/ezpublish/blob/master/kernel/classes/ezpreferences.php

Cheers

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

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu