Fields
-
string
uuid
unique identifier/object reference
-
host
this_host
Currently connected host
-
user
this_user
Currently connected user
-
datetime
last_active
Timestamp for last time session was active
-
bool
pool
True if this session relates to a intra-pool login, false otherwise
Implicit messages
-
Record[session]
get_record
(session session_id, session self)
Get a record containing the current state of the given session.
-
session
get_by_uuid
(session session_id, string uuid)
Get a reference to the session instance with the specified UUID.
Explicit messages
-
session
login_with_password
(string uname, string pwd)
Attempt to authenticate the user, returning a session reference if successful
-
void
logout
(session session_id)
Log out of a session
-
void
change_password
(session session_id, string old_pwd, string new_pwd)
Change the account password