James -
Don't know how you're working with Cookies and sessions for sure, but the
default / "easy" way to check for an established session is to put
"session_start();" at the top of every page that's going to access the
session variables. That will check for an established/open session and make
the registered session variables accessible to the page.
Then a logical check is as simple as using "session_is_registered()" like
this:
if (session_is_registered("registered_variable_name"))
//do something here if the person has already registered their session
else
//session not registered!
Hope this helps!
Take care,
--Noel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php