Im trying to figure out how i can stop people accessing a single webpage within a site by simply pasting the web address into a browser.
The client wants a terms and conditions page before, which then gives them access once they check a box.
Basically the only way to access this page is by agreeing to the terms and conditions..
Any help is much appr
The page that the user checks should set a session variable. The page you want to restrict access to needs to have a script that checks if the variable has been set. You could do this with cookies but it's best to use server side scripting.