How would I go about checking to see if a site blocks cookies from my site? Because if they block cookies, then I must be able to pass the session ID through the url.
example:
if (allows cookies)
{
set_cookie("userid"....);
set_cookie("sessionid"....);
$SESSION['userid'] = $userid;
$SESSION['username'] = $username;
} else
{
// Doesn't allowe cookies so pass sessionid in url
$SESSION['userid'] = $userid;
$SESSION['username'] = $username;
}