Home > Contents > Index >
Template Tags TOC   |    Alpha TOC   |    Tag Family TOC   |    Purpose TOC   |    Annotated TOC   |    Index 

 

satellite:cookie

Sets a cookie on the user's browser.

Syntax

Attributes

name (required)
The name of the cookie you want to set.

value (required)
The value of the cookie you want to set.

timeout (required)
Timeout value of the cookie in seconds.

secure (required)
Set to true to indicate a secure cookie; set to false to indicate a
non-secure cookie.

url (required)
A valid URL. This value restricts the sending of the cookie from the client to this URL only. The path must include the servlet that set the cookie, for example,
/catalog, which makes the cookie visible to all directories on the server under
/catalog.

Description

The satellite:cookie tag sets a cookie on the user's browser.

HTML requires that serverside cookies must be set in the head section of a Web page. However, you don't have to put the satellite:cookie tag inside the head section of a Content Server element; you can place it anywhere within the element, because CS-Satellite causes the cookie to be set in a second request to the page. The satellite:cookie tag invokes the CookieServer to set the cookie.

Example

  Home > Contents > Index >

FatWire JSP Tag Reference
Copyright 2005 by FatWire Software
All rights reserved.