HTMLObject::GetCookie(3)

NAME
HTMLObject::GetCookie - Perl extension for HTMLObject.

SYNOPSIS
  use HTMLObject::GetCookie;
  HTMLObject::GetCookie::GetCookies();
  if (exists $HTMLObject::GetCookie::Cookies{'cookie name'})
  {
    print "Cookie 'cookie name' exists!\n";
  }

DESCRIPTION
The GetCookie module allows you to check for the existance of cookies that were set via the HTMLObject set_cookie method. You can retrieve the value(s) of any cookie you set and then proceed to work with them as necessary.

Exported FUNCTIONS
  scalar decode_string( string => '' )
    un-URI encodes the string and returns it.

  scalar decodeString( string => '' )
    un-URI encodes the string and returns it.

  scalar GetCookies()
    Takes:      Array of Cookie Names or A Single Cookie Name or Nothing.
    Returns:    1 (If Successful), 0 (Otherwise)

  scalar GetCompressedCookies()
    This takes the compressed cookie names, and optionally the names of
    specific cookies you want returned and uncompresses them, setting the
    values into %Cookies.  Specific names of cookies are optional and if
    not specified all cookies found in the compressed cookie will be set.
    Takes -     cname - Name of the compressed cookie to be uncompressed.
            names - Optional names of cookies to be returned from the
                    compressed cookie if you don't want them all.
    Returns:    1 - If successful, 0 - If no cookies are retrieved.

AUTHOR
James A. Pattie, htmlobject@pcxperience.com

SEE ALSO
perl(1), HTMLObject::Base(3), HTMLObject::Normal(3), HTMLObject::FrameSet(3).