Constructs a filename that can be used to restore or save state information.
When saving state, ote that this file may already exist (and may have been used for saving previous state for the application), so the application should first remove or empty the file if it requires a fresh state file.
On the next application start, this function can be used to check to see if there is any previous saved state, and, if so, the state can be restored from the file.
This function will use a standard location and naming scheme and handle state cleanup (setting of the discard command) for you.
Before calling this function, the application must have a valid client ID (see get_client_id).
| this |
An SMClient |
|
a file name string, owned by the object or null if the session client is disabled. |