By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,700 Members | 1,473 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,700 IT Pros & Developers. It's quick & easy.

Do not show this Popup Window again

P: n/a
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
Jul 20 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
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?

Jul 20 '05 #2

P: n/a
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.
--
--
Fabian
Visit my website often and for long periods!
http://www.lajzar.co.uk

Jul 20 '05 #3

P: n/a
In article <mK********************@comcast.com>, mc**********@yahoo.com
enlightened us with...
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
-------------------------------------------------
Jul 20 '05 #4

P: n/a
kaeli wrote:
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
Jul 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.