Smoothas
15 Dec 2009, 12:00 PM
Hi,
I'm trying to sort out my webpage so that a specific page is only accessible if the previous page is a specific one from my website :-
IE:
UploadFile.html is only accessable if the previous \ reffering page is LogIn.html.
If UploadFile.html is access directly (by typing the URL in or from a Favorite link), or the previous pages WASN'T LogIn.html, then the browser need to be redirect to LogIn.html.
I found lots of scripts , php etc that redirect depend on a pervious page ie: if the pervious page was google.co.uk then goto www.mydomain.co.uk\google.html.
Can anyone please help me on this ?
Many Thanks
I'm trying to sort out my webpage so that a specific page is only accessible if the previous page is a specific one from my website :-
IE:
UploadFile.html is only accessable if the previous \ reffering page is LogIn.html.
If UploadFile.html is access directly (by typing the URL in or from a Favorite link), or the previous pages WASN'T LogIn.html, then the browser need to be redirect to LogIn.html.
I found lots of scripts , php etc that redirect depend on a pervious page ie: if the pervious page was google.co.uk then goto www.mydomain.co.uk\google.html.
Can anyone please help me on this ?
Many Thanks