Welcome to MSDN Blogs Sign in | Join | Help

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

Beep(200,100)

 

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.

 

30571

Published Friday, August 27, 2004 10:23 AM by Calvin_Hsia
Filed under: ,

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Hear your web site being hit

Friday, August 27, 2004 11:24 AM by David Cumps
Got inspiration from here:
http://thedailywtf.com/archive/2004/08/23/1298.aspx

? ;)

# re: Hear your web site being hit

Friday, August 27, 2004 12:00 PM by Andrew
That would be so funny if you got slashdotted :)

# re: Hear your web site being hit

Friday, August 27, 2004 12:01 PM by Andrew
That would be so funny if you got slashdotted :)

# Beep, I know you are here!

Friday, August 27, 2004 7:23 PM by Crap

# Beep, I know you are here!

Friday, August 27, 2004 7:23 PM by Crap

# Creating, parsing, graphing web hit logfiles or other temporal data

Thursday, October 28, 2004 9:31 PM by Calvin Hsia's WebLog

# Creating, parsing, graphing web hit logfiles or other temporal data

Friday, October 29, 2004 1:49 AM by Calvin Hsia's WebLog

# Thank you

Tuesday, February 21, 2006 6:09 AM by Useful blog
The blog is very useful.

# unnecessary Worthing

Tuesday, January 16, 2007 8:26 PM by unnecessary Worthing

# I disagree

Tuesday, August 14, 2007 5:34 PM by warsaw apartments

thoughts from a professional developer

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

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker