Forums | Email a Colleague | FAQ

Dr. Website Archives

Dr. Website® Archives 2002

August 29, 2002
    Question:
    Dear Dr. Website: What is the difference between a "hit" and a "visit" on a website?
    Thank You

    Answer:
    A "hit" to a web site means that the server was accessed to retrieve a file. That file can be an .html file, an image file, an audio file, a Java applet, CSS file, .js file--anything that is connected to a web page. Each time the server is queried, that is, each time a file is requested, that is considered a "hit."

    As you can tell, a single web page can cause many "hits" as the page is downloaded. A "visit," otherwise known as a "pageview" is just that...the user requests a web page and that page, including all it's associated files, is downloaded to the user's machine.

    You can see that the number of pageviews is more significant than the number of hits.
    Thanks

    --Dr.Website

    Question:
    Dear Dr. Website:
    How do they make those mouse-over pop-ups with text in it? It looks like the alt tag but you can add colors to it and a (colored) border. Is it done with JavaScript? With best regards

    Answer:
    You guessed it! You can achieve that effect using a bit of JavaScript. As listed on our site, JavaScriptSource.com, this lets you create such a pop-up with many choices available to you:

    "This script will pop-up a description of the link.

    It is cross browser compatible and supports HTML in the description. It also has the ability to be a hierarchial menu." You can find it here, ready to be cut and pasted into your page:

    http://javascript.internet.com/navigation/pop-up-link-with-description.html
    Thanks,

    --Dr.Website --Dr.Website

    Question:
    Dear Dr. Website:
    I would like to block specific domains from visiting my site. Is this possible? Do I have multiple options, i.e., code or software? I hope you can point me in the right direction.

    Thank you!

    Answer:
    The easiest method is to use what's known as the .htaccess file to restrict access to your site. You can find more info about the .htaccess file in this article:

    http://webdeveloper.internet.com/servers/servers_htaccess_magic.html

    Essentially, the .htaccess file allows you to restrict access based on IP address or domain. This can be done by yourself if you have access, or it may have to be done by your web host if you do not. Thanks,
    Thanks

    --Dr.Website ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ForumsEmail a Colleague · FAQ



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers