Force web visitor along a path

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

If it is just the referring page you need to check

CGI.HTTP_REFERER

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.

create an index page that routes based on url parameters.

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

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

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