Is there an equivalent to the autoexec file that instead runs at the end of a session? I know through Tools >> Options >> SAS Programs, you can also specify code that runs when the server is connected... any way to get custom code to run on close of a session?