|
Session Object Methods - 2 of 2
$SetUser |
Changes the user ID of a session.
|
Syntax |
Do SESSION.$SetUser($clib,cCurID,cNewID) Returns #F
|
cCurID
|
character - user ID of session to be changed. |
cNewID |
character - the replacement ID. |
#F |
true if the user ID was changed, false if the session was not found or an error occurred. |
$Cancel |
Removes a session with a specified session code or user ID from the session table.
|
Syntax |
Do SESSION.$Cancel($clib,cUserID,cCode) Returns #F
|
cUserID
|
character - the ID of the user to be cancelled. |
cUserID
|
character - the ID of the user to be cancelled. |
#F |
true if the session was cancelled, false if an error occurred. |
Notes |
- If cUserID is specified, session table is searched by user ID.
- If cUserID is empty and cCode is specified, session table is searched by code. |
|