CPObjectCPCookie
@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. |
Method Detail |
---|
-(id)initWithName:(CPString)aName
aName
.aName
-(CPString)expires
-(CPString)name
-(void)setValue:(CPString)value expires:(CPDate)date domain:(CPString)domain
value
- the cookie's valuedate
- the cookie's expiration datedomain
- the cookie's domain-(CPString)value
Created on Sat Sep 13 14:15:43 PDT 2008