back to mod_wxjs 

Cookie

generated from ../src/mod_wxjs/wxjscookie.cpp

Represents a cookie.

Constants

Properties

Name Type Description
isSecure read only Boolean Returns true when the security flag is set
isTainted read only Boolean Returns true when the taint flag is set
value read only String
version Integer 1 if this is an RFC cookie, 0 if its a Netscape cookie.

Methods

expires

expires(time)
 
Name Type Default Description
time string

When null is passed, the expiration is unset (meaning no expires). As argument you can pass a RFC822 date, or an offset that matches the following regular expression: /[+-]?\d+\s*[YMDhms]/.

toString

toString() : String
 

Returns a string that represents the cookie as it would appear in a valid "Set-Cookie*" header.



SourceForge.net Logo Support This Project

Table of Contents

Properties

isSecure
isTainted
value
version

Methods

expires
toString


Design downloaded from Zeroweb.org: Free website templates, layouts, and tools.