Hey All,
I have a website that is divided regionally with some global pages. ie: /us/index.php /ca/index.php /uk/index.php can only be accessed after going through an intro page / if a cookie is already on the local machine. /global/*.php can be accessed if the user comes in from any region / if a cookie exists on the local machine.
I made a verification page that checks if a cookie or session variable is set BEFORE allowing a page to be accessed, if one is not set then the user is redirected to the intro page. I wanted to use a cookie or session for the verification so that users must have either come through the intro (Session) OR they can bookmark pages (cookie)...but users cannot enter any page if neither a session or previous cookie exists.
My problem is that php sessions tend to rely on cookie access, therefore if users don't have cookies enabled they cannot access the website.....how can I change this? I need to ensure that either a session or cookie exists.
thanks!
Cam.