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

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
 
mNo edit summary
Line 14: Line 14:
<var>$Session_Timeout</var> returns the timeout value of the currently open session if there is one and a -1 otherwise.  
<var>$Session_Timeout</var> returns the timeout value of the currently open session if there is one and a -1 otherwise.  


For more information about sessions see [[Sessions]].
For more information about sessions, see [[Sessions]].
 


==Products authorizing $Session, $Session_Id, $Session_Owner, and $Session_Timeout==
==Products authorizing $Session, $Session_Id, $Session_Owner, and $Session_Timeout==
Line 27: Line 26:
<li>[[Japanese functions]]</li>
<li>[[Japanese functions]]</li>
<li>[[Sir2000 Field Migration Facility]]</li>
<li>[[Sir2000 Field Migration Facility]]</li>
</ul>
</ul>




[[Category:$Functions|$Session, $Session_Id, $Session_Owner, and $Session_Timeout]]
[[Category:$Functions|$Session, $Session_Id, $Session_Owner, and $Session_Timeout]]

Revision as of 20:48, 19 July 2013

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

Note: 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.

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