Class

CookieJar

Extends:

There's no documentation for this item.

Public Methods
[] Returns the value of the cookie by name — or nil if no such cookie exists. You set new cookies using cookies[]= (for simple name/value cookies without options).
[]=
delete Removes the cookie on the client machine by setting the value to an empty string and setting its expiration date into the past. Like []=, you can pass in an options hash to delete cookies with extra data such as a path.
new
Private Methods
set_cookie
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.