Hi,
I have two sites running: a and b.
Once logged in, I use the following script to ensure the person is logged in so they can access the content:
<? session_start();if(!session_is_registered(myusername)){header("location:whoops.php");}?>
However if someone logs in to site a, they can access site b. And vice versa. How can I stop this?
Thanks in advance!
Ben