$_SESSION

Typekeyword
DictionaryLCS
LibraryLiveCode Script
Syntax
$_SESSION
Summary

$_SESSION is an array variable that contains the data for the current active session.

Introduced5.0
OSmac, windows, linux
Platformsserver
Example
put $_SESSION into tSessionArray
put "ben" into $_SESSION["user_name"]
put $_SESSION["id"] into tSessionID
RelatedCommand: stop session, start session, delete session
Property: sessionSavePath, sessionLifetime, sessionId, sessionName
Description

Use the $_SESSION keyword to access the array containing the data for the current active session.

$_SESSION is only available when running in CGI mode (Server).

Tagsmultimedia