Welcome to WebmasterWorld Guest from 54.163.100.58

Forum Moderators: coopster & jatar k

Display something when a visitor clicks on 3rd page...

   
10:03 am on Jan 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi, I would like to use PHP or whatever technology possible to allow me display something whenever a visitor is making the 1st and 3rd page view on my site.

for example,

1st page <- visitor lands on site (pop-up window display)
2nd page <- nothing happens
3rd page <- (a different pop-up window display)

Is there a way to do this?

Thanks for your time. Much appreciated.

10:40 am on Jan 9, 2003 (gmt 0)

10+ Year Member



Shouldn't be a problem - just use something like a cookie to track how many pages they've been to - each time they go to a new page increment the value stored in the cookie.
10:46 am on Jan 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



you could use a session variable and header.inc on each page to trigger the pop on odd numbers or 1,3,10,15,20

DaveN

10:49 am on Jan 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Could you kindly provide some sample codes? Session isn't exactly my forte.
5:36 pm on Jan 9, 2003 (gmt 0)
 

Featured Threads

Hot Threads This Week

Hot Threads This Month