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!

Cookie Question... 1

Status
Not open for further replies.

coldfused

Technical User
Jan 27, 2001
2,442
US
Can I do this?

Home page set a cookie and give it the variable of:

"page=1"

Rest of pages check for variable "page=1"

if page = 1 the page now = 2
elseif page = 2 page now = 3

if page = 3 popup window open

What i want to do is trac users to a third page view, once on the third page view i would like to have a teaser ad pop up enticing them to sign up for special giveaway.

Now i know all about pop ups and cookie browser issues so i dont really need to hear all the details on why i should not do this.

My boss insist that we do this because he heard it somewhere and wants to get it done, so i am forced to find a solution.

Anyone have any ideas on how to impliment this, i'm not that familiar with cookies so an example would be great if someone new how and had the time.

Thanks in advance,

---------------------------------------------
 
That will work too :). Now just pray that your users have cookies enabled.

Wow JT that almost looked like you knew what you were doing!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top