Implementing session status.