Home > Contents > 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 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 Sites reside in the same DNS domain. Typically, the value returned is used with the Sites SETCOOKIE tag.
Home > Contents > Index > ![]()
Oracle XML Tag Reference
Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.