MSPSessionVariable[ sym]
declare the variable sym to be a session variable, with the initial value Null

set the initial value of the session variable sym to be value


  • This is a scoping construct for declaring a variable to be a session variable.
  • The values of a session variable will be stored in a session managed by the servlet container.
  • Sessions are a standard feature of modern web servers/browsers and are used to store information on a server.
  • A session value will live from one call of the server to another.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

This function cannot be demonstrated in a normal evaluation; it must be part of a running server. The example Session.jsp demonstrates the use of MSPSessionVariable.

Translate this page: