Just as with any other session, this new session is not retained unless at least one session variable is associated with it. Syntax Session . GetVar method returns the value of a previously stored session variable. A character value, specifying the name of the session variable whose value is to be retrieved. This value can be of type Character, Number, DateTime, Date and Logical.
GetVarArray method returns an array containing all previously stored session variables.
The array that gets populated with the names and values of session variables. Returns the total number of session variables found. InitVars method Enables Session support for the current request. Syntax Session . The InitVars method will occasionally attempt to send a cookie to the browser, so you must call it before any output is returned by your script.