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

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
m (misc cleanup)
 
(5 intermediate revisions by one other user not shown)
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="warn"><b>Note: </b>Most Sirius $functions have been deprecated in favor of Object Oriented methods. There are no direct OO equivalents for the $Session, $Session_Id, $Session_Owner, and $Session_Timeout functions.</p>
<p class="warn"><b>Note: </b>Many $functions have been deprecated in favor of Object Oriented methods. There are no direct OO equivalents for the $Session, $Session_Id, $Session_Owner, and $Session_Timeout functions.</p>


These functions accept no arguments and return the requested value associated with the current open [[Sessions|session]].  
These functions accept no arguments and return the requested value associated with the current open [[Sessions|session]].  
<ul>
<li><var>$Session</var> returns a 1 (if the user has a session currently open) or a 0 otherwise. </li>


<var>$Session</var> returns a 1 (if the user has a session currently open) or a 0 otherwise.  
<li><var>$Session_Id</var> returns the ID of the currently open session (if there is one) or a null otherwise. </li>


<var>$Session_Id</var> returns the ID of the currently open session (if there is one) or a null otherwise.  
<li><var>$Session_Owner</var> returns the owner of the currently open session (if there is one) or a null otherwise. A value of asterisk (<tt>*</tt>) indicates that the currently open session is a public session. </li>


<var>$Session_Owner</var> returns the owner of the currently open session (if there is one) or a null otherwise. A value of asterisk (<tt>*</tt>) indicates that the currently open session is a public session.
<li><var>$Session_Timeout</var> returns the timeout value of the currently open session (if there is one) or a <code>-1</code> otherwise.</li>
 
</ul>
<var>$Session_Timeout</var> returns the timeout value of the currently open session (if there is one) or a <code>-1</code> otherwise.  


==Products authorizing $Session, $Session_Id, $Session_Owner, and $Session_Timeout==
==Products authorizing $Session, $Session_Id, $Session_Owner, and $Session_Timeout==
Line 18: Line 19:
<li>[[List of $functions|Sirius functions]]</li>
<li>[[List of $functions|Sirius functions]]</li>
<li>[[Fast/Unload User Language Interface]]</li>
<li>[[Fast/Unload User Language Interface]]</li>
<li>[[Media:JoclrNew.pdf|Janus Open Client]</li>
<li>[[Media:JoclrNew.pdf|Janus Open Client]]</li>
<li>[http://m204wiki.rocketsoftware.com/images/1/17/JosrvrNew.pdf Janus Open Server]</li>
<li>[[Media:JosrvrNew.pdf|Janus Open Server]]</li>
<li>[[Janus Sockets]]</li>
<li>[[Janus Sockets]]</li>
<li>[[Janus Web Server]]</li>
<li>[[Janus Web Server]]</li>
<li>Japanese functions</li>
<li>Japanese functions</li>
<li>[http://m204wiki.rocketsoftware.com/images/4/4b/SirfieldNew.pdf Sir2000 Field Migration Facility]</li>
<li>[[Media:SirfieldNew.pdf|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]]

Latest revision as of 22:09, 6 October 2015

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

Note: Many $functions have been deprecated in favor of Object Oriented methods. There are no direct OO equivalents for the $Session, $Session_Id, $Session_Owner, and $Session_Timeout functions.

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) or a 0 otherwise.
  • $Session_Id returns the ID of the currently open session (if there is one) or a null otherwise.
  • $Session_Owner returns the owner of the currently open session (if there is one) or a null otherwise. A value of asterisk (*) 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) or a -1 otherwise.

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