Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Routing visitors

 
   Web Hosting Problem Solving Community! (Home) -> Webmaster RSS
Next:  Problem with php site  
Author Message
Mary

External


Since: Apr 13, 2006
Posts: 1



(Msg. 1) Posted: Thu Apr 13, 2006 8:25 am
Post subject: Routing visitors
Archived from groups: alt>www>webmaster (more info?)

This is my 'wished for' scenario: That visitors wishing to see this section
of my site first have to provide some basic info about themselves. On the
redirect of the submit, they are then given access to the main page of the
section.

I'd like to restrict access to that section only through that form page, but
have no idea how to do that. I've been looking at using .htaccess in that
particular directory, but I don't want to use passwords at all.

I also realize people can simply look at the url once they're in and either
bookmark it or remember it for future direct access - which is fine - if I
already received their info on their first visit.

What I'm trying to avoid though, is having a direct entry off a search
engine or any other way without that initial form completion - I'm thinking
cookies but those are so annoying to some people and I really don't want to
ask people to complete this form multiple times if they clear their cookies
regularly.

Am I dreaming? Or is this possible?

Thanks for any and all help!

Mary

 >> Stay informed about: Routing visitors 
Back to top
Login to vote
jstucklex

External


Since: Jul 14, 2003
Posts: 1507



(Msg. 2) Posted: Thu Apr 13, 2006 9:31 am
Post subject: Re: Routing visitors [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Mary wrote:
> This is my 'wished for' scenario: That visitors wishing to see this section
> of my site first have to provide some basic info about themselves. On the
> redirect of the submit, they are then given access to the main page of the
> section.
>
> I'd like to restrict access to that section only through that form page, but
> have no idea how to do that. I've been looking at using .htaccess in that
> particular directory, but I don't want to use passwords at all.
>
> I also realize people can simply look at the url once they're in and either
> bookmark it or remember it for future direct access - which is fine - if I
> already received their info on their first visit.
>
> What I'm trying to avoid though, is having a direct entry off a search
> engine or any other way without that initial form completion - I'm thinking
> cookies but those are so annoying to some people and I really don't want to
> ask people to complete this form multiple times if they clear their cookies
> regularly.
>
> Am I dreaming? Or is this possible?
>
> Thanks for any and all help!
>
> Mary
>
>

Mary,

You can do it with either sessions or cookies. Set a session or cookie variable
from the form, then check for its presence in each of the protected pages. If
it doesn't exist, redirect them back to the form.

You will need a server-side programming language to do this, such as PHP, Perl,
ASP, etc., depending on your OS and what your host has installed.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex.TakeThisOut@attglobal.net
==================

 >> Stay informed about: Routing visitors 
Back to top
Login to vote
Isaac Hunt

External


Since: Apr 13, 2006
Posts: 12



(Msg. 3) Posted: Thu Apr 13, 2006 10:55 am
Post subject: Re: Routing visitors [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> Am I dreaming? Or is this possible?
>
It's possible.

Easiest way, as you say, have a form with a redirect to the directory that
you want them to go to. To stop search engine use robots.txt to stop search
engines accessing the directory - at least the decent ones that read the
robots.txt file. If you find from your logs that too many people are
getting there via search engines just rename the directory and alter the
form to suit.

--
Isaac Hunt
Possibly the most handsome man here?
 >> Stay informed about: Routing visitors 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
network routing - Greetings one and all. I've been staring at this too long and it's now a blackhole for all creative thought. Consider this schema .... Internet - Router - Network(A) - Firewall - Network(B,C) Notes: o Internet feed provides 128 public IP-Addresses....

weird routing problem - Lately, about once every week or two, I find it impossible to reach my website and email. At first I thought it was a DNS lookup problem at my ISP, since other people can reach it, but using tracert shows that the snag is occuring further out - always a...

Why do my visitors leave? - I noticedthat a large percentage of my visitors to my home page come to it, and leave. I would like to know why. Are there any tools and tricks to find that out? thanks i

Question: Tracking visitors and where they go - Greetings, I have a new client that would like to track where the traffic comes from and where the traffic went. I was wondering if this is something to do with cookies? Or perhaps some sort of cgi/perl script? There are adequate log files on the..

How to get visitors to stay longer? - I'd like your help at finding ways to get visitors to my website to spend more time there. I have had great success at finding ways to drive traffic to my site. What I have not had much success with is getting visitors to view more of the pages on m...
   Web Hosting Problem Solving Community! (Home) -> Webmaster All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]