Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Which approach to use?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Web Services
Divers
Thread ID:
00628713
Message ID:
00635139
Vues:
23
>I don't read the session variable from VFP web service. The contents of these variables (username and password) stay alive during entire user session in asp.net client application. Before any method call to web service, asp.net client store contents of session variables to string and passes them along with any other parameters to web service method being called. This way the web service has what it needs to authenicate user before running method code.

So, basically, you just pass them as parameters to every method you have. Such as this:
lcString=MyService.MyMethod(lcUsername,lcPassword,lcParamMyMethod1,lcParamMyMethod2...)
lcString=MyService.MyMethod2(lcUsername,lcPassword,lcParamMyMethod21,lcParamMyMethod22...)
lcString=MyService.MyMethod3(lcUsername,lcPassword,lcParamMyMethod31,lcParamMyMethod32...)
I was wondering how you were making use of the session object without using low level at the server end. :)
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform