Only purge if the session id has a value