When you design a desktop application, you must consider the following guidelines for session management.
Required |
ax: |
Applications should support Interclient Communications Conventions Manual (ICCCM) mechanisms for session management of their primary windows and key properties. The ICCCM defines important relationships and behaviors between applications and the window manager, including protocols for saving and restoring application state across invocations. |
Required |
ay: |
Applications should support ICCCM mechanisms for session management of all associated windows (that is, secondary windows that may include help windows). Associated windows include multiple primary windows and secondary windows, such as online help windows. |
Optional |
az: |
Applications should accept messages from the Common Desktop Environment Session Manager that inform them the user is logging out and should save their state at that time. |
Optional |
ba: |
Applications that have a single primary window that is open at the time the user logs out should restore the primary window, in the workspace last occupied, when the user logs in again. |
Optional |
bb: |
Save user context wherever possible. For example, applications that support the editing of files should save the state of the file at logout and should restore the file in the application window when users log in again. |
Optional |
bc: |
Applications that have multiple primary windows that are open at the time the user logs out should restore all primary windows, in their respective workspaces, when the user logs in again. |