View Single Post
Old 09-29-2007, 01:28 AM   #1 (permalink)
poseidon
Contributing Member
 
Join Date: 05-07-06
Posts: 95
iTrader: 0 / 0%
Latest Blog:
None

poseidon is liked by many
How to set cookie to the visitor so pop only gets shown once ?

I am working on a popup script which gets shown when the user leaves the page. The problem is, the user keep on getting shown that page whenever he leaves page Everytime which I dont' want.

I just want the pop up to be shown to the first time visitor only. That's it. This can be easily done with PHP but I am just wondering what's the best way of doing it ? Is putting such cookie function on footer file a good idea, since it will called everytime when the page gets load, increasing the loadtime of the page ?

Cheers
__________________
SEO Tips
nBridges Media - Your SEO and SEM Partner
Contact US to Know more about My Work and for SEO inquiries
poseidon is offline   Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links