GX::Session::Store - Base class for session stores
None.
This module provides the GX::Session::Store class which extends the GX::Class::Object class.
new
Returns a new session store object.
$store = $store_class->new( %attributes );
serializer ( GX::Serializer object )
serializer
The serializer to use. Defaults to a GX::Serializer::Storable instance.
$store ( GX::Session::Store object )
$store
GX::Exception
delete
Deletes the specified session.
$store->delete( $session_id );
$session_id ( string )
$session_id
load
Loads the specified session.
( $session_info, $session_data ) = $store->load( $session_id );
$session_info ( HASH reference )
$session_info
HASH
$session_data ( HASH reference )
$session_data
save
Saves the given session.
$store->save( $session_id, $session_info, $session_data );
Returns the serializer.
$serializer = $store->serializer;
$serializer ( GX::Serializer object )
$serializer
update
Updates the specified session.
$store->update( $session_id, $session_info, $session_data );
The following classes inherit directly from GX::Session::Store:
GX::Session::Store::Cache
GX::Session::Store::Database
GX::Session
Jörg A. Uzarek <uzarek@runlevelnull.de>
Copyright (c) 2009-2011 Jörg A. Uzarek.
This module is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License Version 3 as published by the Free Software Foundation.
To install GX, copy and paste the appropriate command in to your terminal.
cpanm
cpanm GX
CPAN shell
perl -MCPAN -e shell install GX
For more information on module installation, please visit the detailed CPAN module installation guide.