Not sure whats wrong, below code logs me out of facebook but not redirecting to test2.php, after the popup disappears, the page just refreshes, no redirection
//test1.php
FB.init("xxxxxxxxxxxx", "xd_receiver.htm",{"reloadIfSessionStateChanged":true});
FB.Connect.logoutAndRedirect('test2.php');
can any one help?