API  0.9.7
 All Classes Files Functions Variables Macros Groups Pages
CPCookie Class Reference

#import <CPCookie.h>

+ Inheritance diagram for CPCookie:

Instance Methods

(CPString- expires
 
(id) - initWithName:
 
(CPString- name
 
(void) - setValue:expires:domain:
 
(CPString- value
 

Detailed Description

CPCookie is the Cappuccino interface to a web browser cookie. You can set the name

Definition at line 2 of file CPCookie.h.

Method Documentation

- (CPString) expires
implementation

Returns the cookie's expiration date

Definition at line 71 of file CPCookie.j.

- (id) initWithName: (CPString aName
implementation

Initializes a cookie with a given name aName.

Parameters
thename for the cookie

Definition at line 42 of file CPCookie.j.

- (CPString) name
implementation

Returns the cookie's name

Definition at line 63 of file CPCookie.j.

- (void) setValue: (CPString value
expires: (CPDate date
domain: (CPString domain 
implementation

Sets a value, expiration date, and domain for the cookie

Parameters
valuethe cookie's value
datethe cookie's expiration date
domainthe cookie's domain

Definition at line 82 of file CPCookie.j.

- (CPString) value
implementation

Returns the cookie's data value

Definition at line 55 of file CPCookie.j.


The documentation for this class was generated from the following files: