Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Identifying the process ID in WWC
Message
De
13/03/2001 04:10:29
 
 
À
12/03/2001 22:03:54
Information générale
Forum:
Visual FoxPro
Catégorie:
West Wind Web Connection
Divers
Thread ID:
00484296
Message ID:
00484362
Vues:
15
>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
>
Thanks, I'll use that for the log.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform