Using Session in Lightweight Language

 By using Alinous-Core Lightweight Language, you can use the session very simply. Just stbstitute variable, automatically sotred in session database.

Session variable

 By using debugger, you can watch the $SESSION variable.

Session variable in the debugger

Store value into the session

 The $SESSION is a dom variable, so we can set child variable easily.

After substituting the variable.

After substitute session variable

 The children of the $SESSION variable is stored after the script finished, automatically.

Remove the session variable

In order to release a session variable, use Variable.release() function.

After release it and the script is done, the variable is automatically removed.

Go to Top