18.2.2. Reading Session Files

>readsession [filename=<filename>]

Performs session file reading and executing. The following option is available:

  • filename = <filename>

    Specifies the filename and path to the file that should be read and executed. If no filename is specified, the SESSION singleton object indicates the file to use. If no SESSION singleton exists, an error will be raised indicating that a filename must be specified.

18.2.2.1. readsession Command Examples

The following are example >readsession commands, and the expected results. If a SESSION singleton exists, the values of the parameters listed after the session command replaces the values stored in the SESSION singleton object. For this command, the filename command parameter value replaces the session filename parameter value in the SESSION singleton.

>readsession

Reads the session file specified in the SESSION singleton, and execute its contents. If the SESSION object does not exist, an error will be raised indicating that a filename must be specified.

>readsession filename=mysession.cse

Reads and execute the contents of the mysession.cse file.