Do not show this Popup Window again

G

gallery

My client is asking that once a viewer visits his website, the onLoad popup
window not show up again.

What's the best way to do this?

Thanks, Marje
 
L

Lee

gallery said:
My client is asking that once a viewer visits his website, the onLoad popup
window not show up again.

What's the best way to do this?

How does one get to the point of having clients without knowing
about cookies?
 
F

Fabian

gallery hu kiteb:
My client is asking that once a viewer visits his website, the onLoad
popup window not show up again.

What's the best way to do this?

Set a cookie. If the cookie can be found by the script, dont show the
popup. This doesnt work if the visitor has disabled cookies.
 
K

kaeli

My client is asking that once a viewer visits his website, the onLoad popup
window not show up again.

What's the best way to do this?

Not to use the damn things.
Most of us block them anyhow. Either with popup blockers or by using
Netscape/Mozilla and disabling them. They are horrible, horrible things.

If he insists, cookies. Set one on first visit, then check before
popping up window. However, many of us delete cookies daily, so that
might not work too well for everyone.
Then again, those of us who delete them tend to be the same people who
disable popups to begin with.

If cookies are not looking great, check IP address, write it to a
database table, then check that before popping up window. Requires a
database and server-side scripting.

have fun. :)

-------------------------------------------------
~kaeli~
Jesus saves, Allah protects, and Cthulhu
thinks you'd make a nice sandwich.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace
-------------------------------------------------
 
T

Thomas 'PointedEars' Lahn

kaeli said:
If cookies are not looking great, check IP address, write it to a
database table, then check that before popping up window. Requires a
database and server-side scripting.

And a lack of minimum clue about the workings of the Internet.
IP addresses are either dynamic or static. If they are dynamic,
the user gets the popup anyway since his IP address has most
certainly changed on next logon. If they are static, in most
cases you will get the static IP address of a HTTP proxy, thus
other users of that proxy will not see the popup in the first
place.

Ceterum censeo: Onload popups are a Bad Thing, avoid them.


PointedEars
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top