Website Question

Twista

Diamond Member
Jun 19, 2003
9,646
1
0
Is there anyway to get my site to show a intro one time for a new user and it saves a cookie saying they viewed it and next time they go to my site.. they dont have to view that intro again? I know i seen acouple sites like this.
:(:)

thanks,
twista
 

Mucman

Diamond Member
Oct 10, 1999
7,246
1
0
Yes, use a cookie ;)

It will be a pain for those that won't accept cookies though. It also won't work if the same user goes to a different computer.
 

Twista

Diamond Member
Jun 19, 2003
9,646
1
0
Originally posted by: Mucman
Yes, use a cookie ;)

It will be a pain for those that won't accept cookies though. It also won't work if the same user goes to a different computer.

yep, how would i go about doing this?

site. www.xxxxxx.net goes to intro
if i wanted them to only see that page one time and have them go to www.xxxx.net/index1.html for the rest o f the time after viewing the intro one time.
 

notfred

Lifer
Feb 12, 2001
38,241
4
0
Write a page in a server side scripting language that lets you specify HTTP headers and include cookies.
 

AFB

Lifer
Jan 10, 2004
10,718
3
0
Set the first location to the page you want to goto if they skip the intro and set the second location to the intro page. This should be the page they get sent to before they visit either the into or the main page.
 

AFB

Lifer
Jan 10, 2004
10,718
3
0
That code can be included on the intro page and will redirect to the main page after the first visit.
 

Twista

Diamond Member
Jun 19, 2003
9,646
1
0
Originally posted by: amdfanboy
Set the first location to the page you want to goto if they skip the intro and set the second location to the intro page. This should be the page they get sent to before they visit either the into or the main page.

thank you :D Ill try it in afew.


edit:

Does my page have to be php for this to work?
 

AFB

Lifer
Jan 10, 2004
10,718
3
0
Originally posted by: Twista
Originally posted by: amdfanboy
Set the first location to the page you want to goto if they skip the intro and set the second location to the intro page. This should be the page they get sent to before they visit either the into or the main page.

thank you :D Ill try it in afew.


edit:

Does my page have to be php for this to work?

Just change the suffix to .php . This is RossMAN's hosting right? I'm sure he has PHP. You can insert the second code (Make sure to fix the angle brackets) into the intro page and it will rediect people to the second page.