Session Management

What is session management?

Session Management is an extension to the X Window system which allows applications to save and restore their state. This allows users to have their desktop look like they left it, rather than having a clean desktop every time they re-enter the GNOMosphere.

How do I use session management in my GNOME application?

Dr. Mike of RedHat has written a tutorial on this: http://www.gnome.org/devel/start/sm.shtml.