Implemented the session expiration time.