I'm having a really strange problem and I'm hoping someone can help me with debugging this issue.
I have a PHP script which starts a php session using session_start(), then sets a cookie to save the value of the php session ID like this:
setcookie("PHPSESSID", "12345678", 0, "/", "$hostname", 1,1);
var x = document.cookie;
I've been banging my head against this wall for the past 10 hours. any help would be greatly appreciated !!!