|
-
Jan 30th, 2002, 12:25 PM
#1
FrontPage Extensions
I am having problems with my Front Page extensions working. Everytime I try to publish a page with a hit counter on it, the hit counter appears as a red X. I am running Front Page 2000, with the 2000 extensions (SR 1.3). This is running on a Windows NT 4.0 server with IIS 4.0. I have reinstalled server extensions, ran a repair and checked the server extensions. The counter will work on my personal web server but once I publish to the web server, the counter appears as a red 'X'. Has anyone else had this problem?
-
Jan 30th, 2002, 03:54 PM
#2
Hyperactive Member
Hi, if you are just after a counter, you can make one easily using ASP
code below
=============
<% @Language = VBScript %>
<% Option Explicit
Dim strUnique
strUnique = "Hits" & Request.ServerVariables("SCRIPT_NAME")
Application.Lock
If isEmpty(Application(strUnique)) then
Application(strUnique) = 0
End If
Application(strUnique) = Application(strUnique) +1
Application.UnLock
%> <font color="#339900" face="Verdana, Arial, Helvetica, sans-serif">Hits:
<% = Application(strUnique) %></font>
================
-
Jan 31st, 2002, 08:32 AM
#3
Cool. Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|