Class CPCookie

CPObject
    extended byCPCookie

@implementation CPCookie : CPObject

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


Method Summary
-(id)initWithName:(CPString)aName
          Initializes a cookie with a given name aName.
-(CPString)expires
          Returns the cookie's expiration date.
-(CPString)name
          Returns the cookie's name.
-(void)setValue:(CPString)value expires:(CPDate)date domain:(CPString)domain
          Sets a value, expiration date, and domain for the cookie.
-(CPString)value
          Returns the cookie's data value.

Methods inherited from class CPObject
initialize, alloc, class, instanceMethodForSelector, instancesRespondToSelector, isSubclassOfClass, load, new, setVersion, superclass, version, init, autorelease, awakeAfterUsingCoder, class, classForCoder, classForKeyedArchiver, className, copy, dealloc, description, doesNotRecognizeSelector, forwardInvocation, hash, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableCopy, performSelector, performSelector, performSelector, release, replacementObjectForArchiver, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, retain, self, superclass


Method Detail

initWithName

-(id)initWithName:(CPString)aName
Initializes a cookie with a given name aName.
Parameters:
aName

expires

-(CPString)expires
Returns the cookie's expiration date

name

-(CPString)name
Returns the cookie's name

setValue

-(void)setValue:(CPString)value expires:(CPDate)date domain:(CPString)domain
Sets a value, expiration date, and domain for the cookie
Parameters:
value - the cookie's value
date - the cookie's expiration date
domain - the cookie's domain

value

-(CPString)value
Returns the cookie's data value

Created on Sat Sep 13 14:15:43 PDT 2008