Cross-site request forgery validation failed. Required param "state" missing from persistent data
snippet in php

Cross-site request forgery validation failed. Required param "state" missing from persistent data

user3633

//At the top of both scripts (Facebook and login_page.php) add the follow:
if(!session_id()) {
    session_start();
}