Thread: Popunder php
View Single Post
  #5 (permalink)  
Old 16-06-04
ianm's Avatar
ianm ianm is offline
Avoiding real work
 
Join Date: Aug 2003
Location: Buckinghamshire
Posts: 1,382
Thanks: 0
Thanked 0 Times in 0 Posts
ianm is an unknown quantity at this point
Keith,

The fact you're using PHP shouldn't matter - I do it the same way on my PHP pages as I do on static HTML pages. You need to use a combination of JS and cookies.

I suppose if you didn't want to use JS or Cookies you could do something with session variables, but I'd say it's overkill really -

Make your pop up set a session variable
Make every other page check for the session variable being set
If the variable is set then don't do the pop-up and if it isn't do it.

Ian
__________________
Those who can do, those who can't talk about it
Reply With Quote