Jump to content

First Time Visiting?


Warptweet

Recommended Posts

I was wondering, is it possible to display a message to a visitor of my website IF he has NEVER visited my website before?

 

I'm not asking for a whole code (unless you already know one) but I need help thorizing the basics of this. NOTE: I can use MySQL databases to store IP's or something if needed.

Link to comment
Share on other sites

2 options that I can think of:

 

1.) Track their IP.

 

Problems:

If their IP changes, they will appear as a new user. (All dialup users will have this problem.)

If their on a network, one IP will apply to multiple users.

 

2.) Use Cookies.

 

Problems:

If they delete the cookies or it expires, they appear to be a new user.

 

Link to comment
Share on other sites

If their IP changes, they will appear as a new user. (All dialup users will have this problem.)

If their on a network, one IP will apply to multiple users.

 

As well as anyone else who has a dynamic IP.

So while my IP at home could constantly change, and I'd see the message a lot, I'd go to school and never see it there because someone else had been first - seems weird to me as a visitor.

 

I recommend the "First Time?" buttons too.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.