Namespace object holding functions and members for working with client (browser) cookies on the server side.
Platform Support
| Jaxer Server Framework | Jaxer Client Framework | 1.0 | 1.0 |
|---|
Functions
| Method | Action | Jaxer Server Framework | Jaxer Client Framework | ||||||
|---|---|---|---|---|---|---|---|---|---|
|
static get(String name) : String
Get a cookie key value
|
Show Details | 1.0 | 1.0 | ||||||
|
Parameters
Returns
|
|||||||||
|
static getAll() : Object
Get an object containing all cookie keys and values from the current request. Each cookie name will become a property on the
object and each cookie value will become that property's value.
|
Show Details | 1.0 | 1.0 | ||||||
|
Returns
|
|||||||||
|
static parseSetCookieHeaders(Array setCookieStrings) : Array
Parses a given array of an HTTP response's "Set-Cookie" header strings to extract the cookie fields
|
Show Details | 1.0 | 1.0 | ||||||
|
Parameters
Returns
|
|||||||||
|
static set(String name, String value) :
void
Set a cookie name/value pair
|
Show Details | 1.0 | 1.0 | ||||||
|
Parameters
|
|||||||||
