Protect Pages With 1 Time Signup
Posted: Sun Mar 07, 2004 11:41 pm
Hi all.
I am hoping some one can help me. I have searched and search online but can't seam to find what I am looking for, seams like a common thing to be but maybe not.
This is what I need to do:
I have a web site that has all kind of free reports that I (or others) have written on my proffession (real estate). These reports are just pages throught my site. Right now a user has to fill in a form (enter there name and email) to get the report, this way I know who and how many people are using them.
The problem is there are a lot of them and right now a person has to fil in the form each time they want to read one.
I would really like to be able to have an include file on those page that checks to see if the they already filled in the form, if so - give them the page, if not give them the form to fill out.
So basiclly the form sets a cookie (good for 1 day or whatever) so when they go to the other page they would'nt be forced to fill in the form again.
Hopefully this makes sence to someone out there.
AJ Foote
ajfoote@rogers.com
I am hoping some one can help me. I have searched and search online but can't seam to find what I am looking for, seams like a common thing to be but maybe not.
This is what I need to do:
I have a web site that has all kind of free reports that I (or others) have written on my proffession (real estate). These reports are just pages throught my site. Right now a user has to fill in a form (enter there name and email) to get the report, this way I know who and how many people are using them.
The problem is there are a lot of them and right now a person has to fil in the form each time they want to read one.
I would really like to be able to have an include file on those page that checks to see if the they already filled in the form, if so - give them the page, if not give them the form to fill out.
So basiclly the form sets a cookie (good for 1 day or whatever) so when they go to the other page they would'nt be forced to fill in the form again.
Hopefully this makes sence to someone out there.
AJ Foote
ajfoote@rogers.com