Hear your web site being hit

Somebody in the world is browsing the internet and hits your web site. How do you know?


IIS provides logging services (WinXP: Control Panel->Admin Tools->IIS->Web Sites->Default Web Site. Rt-Click, Properties, Enable Logging, choose the kind of logging you want and where the logs go. Hit F1 to bring up help and descriptions of the log formats.


You can create your own log format by just a SQL insert into a table of any relevant information


One simple addition is to hear your web site being hit. Web services donโ€™t have any UI, but they can play a sound on the PCโ€™s sound system.


Just play a sound with this code:


DECLARE integer Beep IN WIN32API integer frequency,integer duration



IIn addition, my web site logs events to a VFP table, so I can open an instance of VFP and BROWSE the table, using a refresh rate of 2 seconds (SET REFRESH to 2) to see the log changing as web hits happen.


For more about my web site architecture, see this blog.



Comments (14)

  1. Andrew says:

    That would be so funny if you got slashdotted ๐Ÿ™‚

  2. Andrew says:

    That would be so funny if you got slashdotted ๐Ÿ™‚

  3. Useful blog says:

    The blog is very useful.

  4. thoughts from a professional developer

    I do not agree. Go to http://apartments.waw.pl/

Skip to main content