Solstice::Cookie - An interface for managing cookies in your solstice apps.


Solstice documentation  | view source Contained in the Solstice distribution.

Index


NAME

Top

Solstice::Cookie - An interface for managing cookies in your solstice apps.

SYNOPSIS

Top

  my $cookie = Solstice::Cookie->new();
  $cookie->setName('name');
  $cookie->setValue('value');
  $cookie->setExpiration(Solstice::DateTime->new());
  $cookie->bake();

  $cookie->expire();

  my $cookie = Solstice::Cookie->new('name');
  my $value  = Solstice::Cookie->getValue();

DESCRIPTION

Top

Creates a new cookie. If passed a name, it will try to find the value for that cookie.

bake()

Sends the cookie to the browser.

Modules Used

Solstice::Service, Solstice::LogService, Solstice::UserService, Solstice::ValidationParam, Solstice::CGI, Data::FormValidator.

AUTHOR

Top

Catalyst Group, <catalyst@u.washington.edu>

VERSION

Top

Version $Revision: 3177 $

COPYRIGHT

Top


Solstice documentation  | view source Contained in the Solstice distribution.