Page 1 of 1

Weird cookie behavior

Posted: Tue Jan 03, 2006 9:55 pm
by jaymoore_299
When my main page loads I assign a cookie, "visitor_" to the surfer with the value of it being his http_referer. If it is empty I assign it the value noref. I have another page, read.php, that simply reads the value of this cookie "visitor_" .

When I load my page with the address domain.com, then proceed to load domain/read.php , I get a display of the text "noref" which is expected.

However, when I load my page as http://www.domain.com then go to http://www.domain.com/read.php I get no display at all. What is going on?

Posted: Wed Jan 04, 2006 10:22 am
by Burrito
tried echoing out the referrer have you?