isValid() This method returns true if the session is valid.
public void
setCreationTime(long time) Set the creation time for this session.
public void
setId(String id) Set the id of this session, used when initializing new sessions.
public void
setMaxInactiveInterval(int interval) Set the maximum time interval, in seconds, between client requests
before the SSO Service will invalidate the session.
Notify all session event listeners that a particular event has
occurred for this Session. The default implementation performs
this notification synchronously using the calling thread.
Note : Do not use this method outside the GWY ...
Parameters: type - Event type Parameters: data - Event data
Set the id of this session, used when initializing new sessions.
Parameters: id - the session id.
setMaxInactiveInterval
public void setMaxInactiveInterval(int interval)(Code)
Set the maximum time interval, in seconds, between client requests
before the SSO Service will invalidate the session. A negative
time indicates that the session should never time out.
Parameters: interval - The new maximum interval