$Session, $Session Id, $Session Owner, and $Session Timeout: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
mNo edit summary
Line 2: Line 2:
<span class="pageSubtitle">$Session, $Session_Id, $Session_Owner, and $Session_Timeout</span>
<span class="pageSubtitle">$Session, $Session_Id, $Session_Owner, and $Session_Timeout</span>


<p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $Session, $Session_Id, <var>$Session_Owner</var> and <var>$Session_Timeout</var> function is [[to be entered]].</p>
<p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $Session, $Session_Id, $Session_Owner and $Session_Timeout function is [[to be entered]].</p>


These functions accept no arguments and return the requested value associated with the current open session.  
These functions accept no arguments and return the requested value associated with the current open session.  

Revision as of 17:40, 19 October 2012

$Session, $Session_Id, $Session_Owner, and $Session_Timeout

Most Sirius $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $Session, $Session_Id, $Session_Owner and $Session_Timeout function is to be entered.

These functions accept no arguments and return the requested value associated with the current open session.

$Session returns a 1 if the user has a session currently open and a 0 otherwise.

$Session_Id returns the id of the currently open session if there is one and a null otherwise.

$Session_Owner returns the owner of the currently open session if there is one and a null otherwise. A value of "*" indicates that the currently open session is a public session.

$Session_Timeout returns the timeout value of the currently open session if there is one and a -1 otherwise.

For more information about sessions see Sessions.

These $functions are new in Sirius Mods Version 6.3.

Products authorizing $Session, $Session_Id, $Session_Owner and $Session_Timeout