I can't understand why I can't access the cookies created by facebook connect. I am getting this error msg
Notice: Undefined index:{api_key}_user in xxx
My code is
<?php
error_reporting(E_ALL);
ini_set("display_errors", 1);
session_start();
echo $_SESSION['{api_key}_user'];
When using the webdeveloper plugin in firefox I can see the cookie
Name {api_key}_user
Value {user_ID}
Host .domain.com
Path /
Secure No
Expires At End Of Session
I have found this http://wiki.developers.facebook.com/index.php/PHP%5FSessions but I do not understand why I need to do that and I have tried it without success.