GX::Session::Tracker::Cookie

Module Version: 0.2000_01

NAME

GX::Session::Tracker::Cookie - Cookie-based session tracker

SYNOPSIS

None.

DESCRIPTION

This module provides the GX::Session::Tracker::Cookie class which extends the GX::Session::Tracker class.

METHODS

Constructor

new

Returns a new GX::Session::Tracker::Cookie object.

$tracker = GX::Session::Tracker::Cookie->new( %attributes );
Attributes:
  • cookie_attributes ( HASH reference )

    Session cookie attributes. Defaults to:

    $cookie_attributes = {
    name => 'SESSION_ID',
    path => '/',
    secure => 0,
    http_only => 1
    };

    See GX::HTTP::Response::Cookie for a complete list of possible attributes.

Returns:
Exceptions:

Public Methods

cookie_attributes

Returns the session cookie attributes as a list of key / value pairs.

%cookie_attributes = $tracker->cookie_attributes;
Returns:
  • %cookie_attributes ( named list )

AUTHOR

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

COPYRIGHT AND LICENSE

Copyright © 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.