Disable "clear session" menu item if there is no session to clear.