Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Identifying the process ID in WWC
Message
De
12/03/2001 22:03:54
 
 
À
12/03/2001 19:59:45
Information générale
Forum:
Visual FoxPro
Catégorie:
West Wind Web Connection
Divers
Thread ID:
00484296
Message ID:
00484313
Vues:
12
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform