Difference between revisions of "ISSession:Session (Top-Level Object)"
Jump to navigation
Jump to search
(→Forms) |
|||
Line 2: | Line 2: | ||
== Forms == | == Forms == | ||
+ | *[[DataType:string|string]] '''Session''' | ||
+ | : Retrieves the name of the current session | ||
+ | *[[DataType:string|string]] '''Session['''#''']''' | ||
+ | : Retrieves the name of a session, given a number. 0 is always the current session. Sessions will not necessarily retain the same number for their entire duration, and session numbers for this session will not be the same as session numbers for other sessions. | ||
+ | *[[DataType:int|int]] '''Session['''name''']''' | ||
+ | : Retrieves the number of a session, given a name. The number is not guaranteed to be valid for long, see Session[#]. | ||
== Examples == | == Examples == |
Revision as of 05:53, 26 February 2005
Contents
Description
Forms
- string Session
- Retrieves the name of the current session
- string Session[#]
- Retrieves the name of a session, given a number. 0 is always the current session. Sessions will not necessarily retain the same number for their entire duration, and session numbers for this session will not be the same as session numbers for other sessions.
- int Session[name]
- Retrieves the number of a session, given a name. The number is not guaranteed to be valid for long, see Session[#].