Force web visitor along a path


#1

How does one prevent a visitor from going directly to a page instead of following a defined path?


#2

If it is just the referring page you need to check

CGI.HTTP_REFERER


#3

Ok, you’ve pointed me to an area I understand poorly (as demonstrated by my question) and I can see the need to do a bit of study. Many thanks.


#4

create an index page that routes based on url parameters.


#5

Yes, thanks. I’m coming to grips with CGI and Perl.


#6

for example. http://url/?page=1

if page is 1
cfinclude template=“mypage.cfm”

then you never expose the actual pages. and in the pages check the referral as mentioned above in the other comments


#7

Apologies for the delay in responding. Thank you and I’ll take it on board with all the other good advice.