[Top] [Prev] [Next] [Bottom] [Contents]

SaStoreKeyString

Stores a key-value pair as a keyed string.

Synopsis

#include "SaRnHtml.h"
void SaStoreKeyString(char* key, char* val);

Arguments

key
A string specifying the key. If NULL or an empty string, nothing is stored. You must convert the key to an HTML-compatible string before calling this function.
val
A string specifying the value. If NULL or an empty string, nothing is stored. You must convert the key to an HTML-compatible string before calling this function.

Return Values

None.

Description

Stores a key-value pair as a keyed string. Keyed strings are key-value pairs separated by an equal sign. Each keyed string printed is separated from the next keyed string by 3 underscores. This can be used to hold state for an anchor in a client browser. The data site should precede the bound anchor string.

Example

SaStoreKeyString("COOKIE", "12865");

See Also



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.