Revision [1412]

This is an old revision of CommandHttpsession made by DavidLee on 2010-05-14 04:16:44.

 

Command httpsession


Name


httpsession Accesses session variables in a servlet.

Synopsis

httpsession [options] serialize options


Options

-setvar var valueSets a session variable
-getvar varGets a session variable
-nDont print error if variable does not exist using -getvar


Description

The httpsession command only works within a 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.




Commands
CategoryCommands
See Also xecho

There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki