Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Identifying the process ID in WWC
Message
From
12/03/2001 22:03:54
 
 
To
12/03/2001 19:59:45
General information
Forum:
Visual FoxPro
Category:
West Wind Web Connection
Miscellaneous
Thread ID:
00484296
Message ID:
00484313
Views:
13
Michel,

>In the continuation of troubleshooting a reason for that WWC header garbage sent back to the browser, I need to log every hit for a while. However, the log information is only valid if i can associate the WWC server process ID in order to identify the WWC VFP server which is doing what. I am talking about the task list ID which appear when we go in the task list. How can I obtain that information from the WWC VFP server?

The WWC Server has a property, cServerID, that holds the value matching the Task Manager process ID. You can reference it in methods of your Process class like this:
Server.cServerID
Here is a simple function to demonstrate that you can access it:
********************
FUNCTION ShowPID()
********************
THIS.StandardPage("Show PID",;
  "The process ID is "+Server.cServerID)
ENDFUNC
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform