Three ways to get a valid session identifier.