473,597 Members | 2,104 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with MSWC.Counters

I have a global.asa for my website where I use a counter from
MSWC.Counters to store the count of sessions. Unfortunately, every
time I look at it the numbers could go down, or up radically. I
tried using Scripting.FileS ystemObject to make a text file where I
could store the count, but apparently that doesn't work in
global.asa.

Is there another way to do this? I'd appreciate any help I can get.

Thanks...

--
Wayfarer
Journeys: http://wayfarer.brinkster.net/contact.asp
Jul 19 '05 #1
1 2619
Thus spake Wayfarer:
I have a global.asa for my website where I use a counter from
MSWC.Counters to store the count of sessions. Unfortunately, every
time I look at it the numbers could go down, or up radically. I
tried using Scripting.FileS ystemObject to make a text file where I
could store the count, but apparently that doesn't work in
global.asa.

Is there another way to do this? I'd appreciate any help I can get.


Never mind. I should have googled for it first. I found the answer
from there.

--
Wayfarer
Journeys: http://wayfarer.brinkster.net/contact.asp
Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1576
by: dave | last post by:
Hello Can any one tell me what value range for this code? set objTools=server.CreateObject("MSWC.Tools") Response.write objtools.Random() I executed code several times but couldnt figure out the value range and logic.
0
2049
by: Christopher Attard | last post by:
Hi, I need to create a dialog like the 'Add Counters' dialog box in perfmon. I'm using the System.Diagnostics namespace class in .NET and I've managed to do it. The problem arises when I'm using such dialog box on a non-English Windows OS (I'm currently testing on Spanish WinXP Professional). I'm noticing that on non-English Windows OS there are some categories whose
0
1925
by: Cissy | last post by:
Hi: I am learning Web Application Stress Tool and try to run Sample Script. When I tried to Add Counter under Perf Counters node, There is Error message: Failed to load the perf counters from the computer ... If I click OK, The Add counter to report window is pop-up, but Object is empty. I can't add any counter such as Get Requests/sec. When I run Performance, tried to add counters into System Monitor, All counters are there. No...
0
1529
by: Julio Naranjo | last post by:
moved an ASP application from a Windows 2000 to a Windows 2003 server I'm using MSWC.Tools to validate the existence of some files I got the next error Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed H E L P Thank you.
5
4602
by: Charles_B | last post by:
I am moving a working ASP application (not .NET) from IIS 5.0 to IIS 6.0. For some reason, when the ChooseContent method executes, the browser returns an error and the Event Log shows the following under System: Source: W3SVC Category: None Event ID: 1009 Description: A process serving application pool 'DefaultAppPool' terminated unexpectedly. The process id was '1560'. The process exit code was '0xc0000409'.
2
6066
by: Andrew Allen | last post by:
I need to migrate a site from Windows 2000 server running IIS5 to Windows 2003 running IIS6. The site uses extensively MSWC.PermissionChecker to control what links to show to users. The MSWC.PermissionChecker that was part of IIS5 resource kit but not available in IIS6 resource kit. *** set oSecurity = Server.CreateObject("MSWC.PermissionChecker")
1
2443
by: jvn | last post by:
I am experiencing a particular problem with performance counters. I have created a set of classes, that uses System.Diagnostics.PerformanceCounter to increment custom performance counters (using .Net 2.0) The performance counter categories have been successfully created. When the set of classes are used by a WinForm test harness application, they function as expected, and the performance counters can be seen to be updated by using the...
0
1534
by: Jon Paal [MSMD] | last post by:
anyone have an example of using insertion point of data with MSWC.Tools ? e.g. how can I send data to a "div" tag ? Set oTools = Server.CreateObject("MSWC.Tools" ) oTools.processForm "output.asp", "template.asp", "<div>"
12
7460
by: John Connic | last post by:
Hi All: I just setup a new machine with Vista Business Edition and IIS 7. I had to turn on IIS 7 attributes including the IIS Manager. Not sure what options I needed I turn them all on that even remotely look like I might need them. The IIS Manager looks total foreign to me but eventually I figure how to add a virtual folder. I then started making script files in html, javascript and vbscript. I would run them through IIS 7 using the...
0
7962
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7884
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8267
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8024
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6681
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5423
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3880
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3921
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1493
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.