'************************************** ' for :A simple ASP Daily Hit Counter '************************************** Copyright 2003-2004 efreedownloads.com '************************************** ' Name: A simple ASP Daily Hit Counter ' Description:It shows Number of daily v ' isitors or users to your site. ' By: SJPVTLTD.COM (from psc cd) ' ' ' Inputs:No ' ' Returns:No. of Daily Visiters Or Users ' ' 'Assumes:Is application variable working ' on your Web Server or IIS? ' 'Side Effects:No '************************************** <% Dim x, y, temp, serv, D, hits x = Trim(day(date())) D = Application( "serv" ) If D = x Then Application( "hits" ) = Application( "hits" ) + 1 Else Application( "hits" ) = 1 End If y = x temp = y Application( "serv" ) = temp %> There have been <%=Application( "hits" )%> hits to this page today!