Name

sessionrpc

Synopsis

LZX: sessionrpc
JavaScript: lz.sessionrpc
Type: Class
Access: public
Topic: Components.RPC
Declared in: lps/components/rpc/sessionrpc.lzx

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.

Superclass Chain

node (LzNode) » rpc » sessionrpc

Known Subclasses

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()
<method name="load" />
public function load();
Loads session object.
_setup()
<method name="_setup" args="o" />
private function _setup(o);

LZX Synopsis

<class name="lz.sessionrpc" extends=" lz.rpc ">
  <attribute name=" _attributename " type="string" value="none" />
  <attribute name=" _classname " type="string" value="org.openlaszlo.remote.LZHttpSessionRemote" />
  <attribute name=" _scope " type="string" value="none" />
  <method name=" load " />
  <method name=" _setup " args="o" />
</class>

JavaScript Synopsis

public lz.sessionrpc extends  lz.rpc  {
  private var _attributename  : String;
  private var _classname  : String;
  private var _scope  : String;
  prototype public function load ();
  prototype private function _setup (o);
}