|
Whitebeam Template Reference Documentation
|
rb.page.cookie Object Description (system Template)
The cookie object provides a means for Web Authors to store and retieve information with
the client using standard client-side 'cookie' technology. Authors can obviously do this manually
by directly manipulating the HTTP headers that are sent to the client with a response, or inspecting
the headers received from a browser. This can be achieved using a combination of
rb.page.getHeader and
rb.page.writeheader(). In practice though this can be very complex. The Whitebeam environment offers the rb.page.session
interface to cookies as a flexible, easy to use alternative. The object takes care of reading and writing
cookies and effectively deleting cookies from the client.
Before using cookies you should understand their capabilities and limitations and decide between them and
the server side alternaives provided by the Whitebeam environment. See the
session data techical note for details.
Methods
|
|
(loadtime : 159ms) |