This macro allows the user to define in their initial application what will happen when the application loses the session.