[TOC] [Prev] [Next] [Bottom]



<@USERREFERENCECOOKIE>

Description

Used in the default HTTP header of Tango when returning results. It permits intelligent setting of the user reference cookie, a value that can be used to track user variables.

For more information on user variable tracking, see Chapter 7, "Using Variables," in the User's Guide.

If no Tango user reference number was received, either via cookie or search argument, with the current HTTP request, <@USERREFERENCECOOKIE> returns the following:

Set-Cookie: Tango_UserReference=<@USERREFERENCE>; path=/[CRLF]

([CRLF] stands for a carriage return/linefeed (ASCII 13/10) combination.)

If a user reference number was received with the current HTTP request, <@USERREFERENCECOOKIE> returns nothing. Because the cookie has already been set, there is no need to set it again.

Example

This is the content of Tango's default HTTP header for Mac OS versions:

HTTP/1.0 200 OK [CRLF]
Server: WebSTAR/1.0 ID/ACGI [CRLF]
MIME-Version: 1.0 [CRLF]
Content-type: text/html [CRLF]
<@USERREFERENCECOOKIE>[CRLF]

See Also

userKey, altuserKey
<@USERREFERENCE>
<@USERREFERENCEARGUMENT>



[TOC] [Prev] [Next] [Bottom]



docs@pervasive.com

Copyright © 1998, Pervasive Software Inc. All rights reserved.