Retrieves a value. Retrieves a value from the session. If the value is not present then it asks for it to the user, stores it and then answers it.