i have a php password script for a photos page of mine. but i want to use the cookies thing. such that if a person is visiting the photos page for the first time, he is automatically redirected to the password page first to log in.
else he could simply visit Xxx.com and the password page would never kick in at all, so no use of it... how can i ensure that if a person is visiting the photos page for the first time, he is automatically redirected to the password page first to log in.
else he could simply visit Xxx.com and the password page would never kick in at all, so no use of it... how can i ensure that if a person is visiting the photos page for the first time, he is automatically redirected to the password page first to log in.