CGI_SetSessionVariable
<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > CGI > CGI_SetSessionVariable |
Description
Set the value of specified session variable.
Syntax
s = CGI_SetSessionVariable(sSessionVarName, sVarValue)
Returns
Return a string.
The new value of the session variable.
Parameters
Name |
Type |
Optional |
Meaning |
sSessionVarName |
String |
No |
The name of session variable to set the value |
sVarValue |
String |
No |
The value to set |
Remarks
If the specified session variable does not exist it will be created.
Restrictions
See also
Examples
CGI_SetSessionVariable("Confidential", "Secret")
echo("Value of Confidential is : " + CGI_GetSessionVariable("Confidential"))