Hi,
I'm trying to check $HTTP_REFERER and if the condition is met, start the session using:
if (eregi("cartserver", $HTTP_REFERER)) {
session_start();
now in that same page passes the above test, if I check if PHPSESSID is set
if (isset($PHPSESSID)) {
show what I want
}
it doesn't "show what I want" and the PHPSESSID is not set if I echo it; however, the when I visit the next page (any page), PHPSESSID is set and I get what I want.
How can I get that variable set (or any variable set; i've tried cookies with the same result) for the page that sets the variable?
thanks
chris