session

Object
   |
   +--session


 
Properties Summary
 String _id
          The unique identifier for a session object (session cookie).
 String cookie
          The cookie value of a session.
 HopObject data
          Object providing space for run-time user data (user cache).
 Date lastModified
          The date a session was created or a login or logout was performed the last time.
 String message
          If set, the message will be available during the next request as res.message
 User user
          A reference to the user object associated with the current session.
 
Methods Summary
 Date lastActive()
           A date object representing the time this user's session was last active.
 Boolean login(<User> user,<String> password)
           Logs in a user defined by its name and a password phrase, or by directly passing a HopObject.
 Date onSince()
           A date object representing the time a user's session was started.
 void touch()
           Refreshes the user's session.


Properties Detail

_id

String _id

cookie

String cookie

data

HopObject data

lastModified

Date lastModified

message

String message

user

User user

Method Detail

lastActive

Date lastActive()

login

Boolean login(<User> user,<String> password)

onSince

Date onSince()

touch

void touch()


Documentation generated by JSDoc on Thu Apr 5 01:59:00 2007