DiscardSession (Object subroutine): Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
 
mNo edit summary
 
Line 1: Line 1:
{{Template:Object:DiscardSession subtitle}}
{{Template:Object:DiscardSession subtitle}}


This page is [[under construction]].
==Syntax==
==Syntax==
{{Template:Object:DiscardSession syntax}}
{{Template:Object:DiscardSession syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th nowrap="true"><var>%(Object)</var></th>
<tr><th nowrap="true"><var>%(Object)</var></th>
<td>The class name in parentheses denotes a shared method. <var>DiscardSession</var> can also be invoked via a <var>Object</var> object variable, which may be <var>Null</var>.</td></tr>
<td>The class name in parentheses denotes a [[Notation conventions for methods#Shared methods|shared method]]. <var>DiscardSession</var> can also be invoked via an <var>Object</var> class object variable, which may be <var>Null</var>.</td></tr>
 
<tr><th>name</th>
<tr><th>name</th>
<td>string</td></tr>
<td>A string that specifies the session name of the object to be discarded.</td></tr>
</table>
</table>
==Usage notes==
==Usage notes==
<ul>
<li>If the specified session name does not reference an object, this method does nothing. </li>
<li>If the specified session is not open, the request is cancelled. </li>
</ul>
==Examples==
==Examples==
See [[Global and session objects#Using system class methods to access global and session objects|Using system class methods to access global and session objects]].
==See also==
==See also==
{{Template:Object:DiscardSession footer}}
{{Template:Object:DiscardSession footer}}

Latest revision as of 19:16, 7 August 2014

Discard a session object (Object class)


Syntax

%(Object):DiscardSession( name)

Syntax terms

%(Object) The class name in parentheses denotes a shared method. DiscardSession can also be invoked via an Object class object variable, which may be Null.
name A string that specifies the session name of the object to be discarded.

Usage notes

  • If the specified session name does not reference an object, this method does nothing.
  • If the specified session is not open, the request is cancelled.

Examples

See Using system class methods to access global and session objects.

See also