Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help

Status
Not open for further replies.

jsteidl

IS-IT--Management
Mar 7, 2002
1
US
Hello,

I have created a site with an Access backend that has user information, etc. If the user is in the database, they can get into the site. What I want to do is show new images to people each time they come to the site. It will be image based. 4 images total. If the person comes to the site for the first time, they will see 2 images. If they come back, they will see 2 new images. I do not want to show the first 2 images again for they have seen them already. If they come back a 3rd time, they will just get the last 2 images they saw.

I really need some help here. I am really not a programmer to say, so any help/guidance much appreciated.

Thanks in advance.

Jake
 
Basically you need to increment a variable held in a cookie every time the user visits. You can then read this variable to tell you how many times the user has visited, just have an if then statement to choose which pictures to use.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top