How did the ‘state’ come into GET at facebook auth at http://developers.facebook.com/docs/authentication/? At the code that comes after the “The following PHP example demonstrates the server-side flow with CSRF protection in one self-contained example:”, line if($_REQUEST['state'] == $_SESSION['state']) { . I don’t understand how come that part of the session is transmitted somewhere else.
See related questions: Will the auth work without state at the SESSION?
The state came into the Get via this code: