Home > Contents > Index > 
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index 
csmac:cookievalue
Produces a cookie value that the web designer can insert into the visitor's browser to enable Transact to recognize the user without requiring additional authentication.
Syntax
<csmac:cookievalue userid="userid" storeid="storeid" [seconds="duration"] varname="varcookie"/>Parameters
userid(required)- Input parameter. Identifier of the user as known to Transact. You can get this value by calling
 vdm:getcommerceid.
storeid(required)- Input parameter. Identifier of the Transact store whose secret keys are used to generate the MAC.
 
seconds(optional)- Input parameter. Duration in seconds (from now) for which Transact honors the cookie. If omitted, the default duration is
 600(10 minutes).
varname(required)- Input and output parameter. Name of a variable that holds the cookie string output with the following form:
 
"MAC:principal_id=userid&expiration=<now+durationSeconds>&kid=storeid. <keyID>&ss=env"Description
Successful usage of such a cookie is limited to configurations where Transact and CS-Direct Advantage reside in the same DNS domain.
Home > Contents > Index > ![]()
FatWire JSP Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.