Weird cookie behavior
Posted: Tue Jan 03, 2006 9:55 pm
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?
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?