The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

GX::Session::Store - Base class for session stores

SYNOPSIS

None.

DESCRIPTION

This module provides the GX::Session::Store class which extends the GX::Class::Object class.

METHODS

Constructor

new

Returns a new session store object.

    $store = $store_class->new( %attributes );
Attributes:
Returns:
Exceptions:

Public Methods

delete

Deletes the specified session.

    $store->delete( $session_id );
Arguments:
  • $session_id ( string )

Exceptions:

load

Loads the specified session.

    ( $session_info, $session_data ) = $store->load( $session_id );
Arguments:
  • $session_id ( string )

Returns:
  • $session_info ( HASH reference )

  • $session_data ( HASH reference )

Exceptions:

save

Saves the given session.

    $store->save( $session_id, $session_info, $session_data );
Arguments:
  • $session_id ( string )

  • $session_info ( HASH reference )

  • $session_data ( HASH reference )

Exceptions:

serializer

Returns the serializer.

    $serializer = $store->serializer;
Returns:

update

Updates the specified session.

    $store->update( $session_id, $session_info, $session_data );
Arguments:
  • $session_id ( string )

  • $session_info ( HASH reference )

  • $session_data ( HASH reference )

Exceptions:

SUBCLASSES

The following classes inherit directly from GX::Session::Store:

SEE ALSO

AUTHOR

Jörg A. Uzarek <uzarek@runlevelnull.de>

COPYRIGHT AND LICENSE

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.