This is documentation for an earlier version of webMathematica.
View current User Guide (Version 3.3)

MSPSessionVariable

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.