OpenFrame::Cookies man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

OpenFrame::Cookies(3) User Contributed Perl DocumentationOpenFrame::Cookies(3)

NAME
       OpenFrame::Cookies - An abstract cookie class

SYNOPSIS
	 use OpenFrame;
	 my $cookies = OpenFrame::Cookies->new();
	 $cookies->set("animal" => "parrot");
	 my $colour = $cookies->get("colour")->value;
	 $cookies->delete("colour");
	 my %cookies = $cookies->get_all();

DESCRIPTION
       "OpenFrame::Cookies" represents cookies inside OpenFrame. Cookies in
       OpenFrame represent some kind of storage option on the requesting side.

       Cookies are a general mechanism which server side connections can use
       to both store and retrieve information on the client side of the
       connection. The addition of a simple, persistent, client-side state
       significantly extends the capabilities of Web-based client/server
       applications. "OpenFrame::Cookies" is an abstract cookie class for
       OpenFrame which can represent cookies no matter how they really come to
       exist outside OpenFrame (such as CGI or Apache cookie objects).

METHODS
   new()
       The new() method creates a new "OpenFrame::Cookies" object. These can
       hold multiple cookies (although they must have unique names) inside the
       cookie tin.

	 my $cookies = OpenFrame::Cookies->new();

   set()
       The set() method adds an entry:

	 $cookies->set("animal" => "parrot");

   get()
       The get() method returns a cookie (a "OpenFrame::Cookie" object) given
       its name:

	 my $colour = $cookies->get("colour")->value;

   delete()
       The delete() method removes a cookie element given its name:

	 $cookies->delete("colour");

   get_all()
       The get_all() method returns a hash of all the cookies:

	 my %cookies = $cookies->get_all();

AUTHOR
       James Duncan <jduncan@fotango.com>, Leon Brocard <leon@fotango.com>

perl v5.14.1			  2011-07-25		 OpenFrame::Cookies(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net