Description
A class to get an http session object and invoke its methods. Remote
method signatures are:
getAttribute(name) - returns object, array, or primitive type.
getAttributeNames() - returns array of attribute names.
getId() - returns remote session id
getMaxInactiveInterval() - returns max inactive interval for session.
invalidate() - invalidate remote session
isNew() - returns true if the client does not yet know about the
session or if the client chooses not to join the session.
removeAttribute(name) - remove attribute named name; returns void.
setAttribute(name,value) - set attribute named name with value; returns
void.
setMaxInactiveInterval(interval) - set max inactive interval for
session.
See javax.servlet.http.HttpSession in the Java Servlet API
documentation for more information.
Details
Properties (3)
-
_attributename
-
<attribute name="_attributename" type="string" value="none" />
private var _attributename : String;
-
_classname
-
<attribute name="_classname" type="string" value="org.openlaszlo.remote.LZHttpSessionRemote" />
private var _classname : String;
-
_scope
-
<attribute name="_scope" type="string" value="none" />
private var _scope : String;
Methods (2)
-
load()
-
-
_setup()
-
<method name="_setup" args="o" />
private function _setup(o);
LZX Synopsis
<class name="
lz.sessionrpc" extends="
lz.rpc
">
<attribute name="
_classname
" type="
string" value="
org.openlaszlo.remote.LZHttpSessionRemote" />
<attribute name="
_scope
" type="
string" value="
none" />
<method name="
_setup
" args="
o" />
</class>
JavaScript Synopsis
public
lz.sessionrpc extends
lz.rpc
{
prototype public function
load
();
prototype private function
_setup
(
o);
}