[Solar-talk] Adapter-aware session package
Rodrigo Moraes
rodrigo.moraes at gmail.com
Mon Nov 5 06:05:44 CST 2007
On Oct 31, 2007 6:37 PM, Antti Holvikari wrote:
> One problem we need to solve is that it doesn't make sense to
> instantiate a Solar_Session instance for every `$_SESSION['class']`
> -storage-space. So, I created a Solar_Session_Store class which
> handles reading and writing to $_SESSION array. This class is intended
> to be instantiated for every class that needs storage-space in
> $_SESSION. This means you'd instantiate Solar_Session_Store instead of
> Solar_Session directly.
Maybe add a factory in Solar_Session_Adapter to return a new
Solar_Session_Store?
Looks great, Antti. :)
-- rodrigo
More information about the Solar-talk
mailing list