Wiki source for CommandHttpsession

Show raw source

======Command httpsession======


**httpsession** Accesses session variables in a servlet.

**httpsession** [ [[SerializationOptions serialization options]] ] [options]

||-setvar var value||Sets a session variable||
||-getvar var||Gets a session variable||
||-n||Dont print error if variable does not exist using -getvar||

The httpsession command only works within a [[EmbeddingServlet Servlet.]]
Only one variable may be set or get with each call.
Setting a session variable sets the underlying servlet session variable which is persisted across calls using whatever session technology is implemented by the J2EE container. The value of the variable may be any type.


Valid XHTML :: Valid CSS: :: Powered by WikkaWiki