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:
00635107
Vues:
19
>When asp.net application starts, login form appears. When user attempts login his username and password are passed to a method on VFP web service which returns a true\false indicating sucess or failure. If true, username and password are stored to a session variable and used for each trip to web service.

From an ASP.Net client, you are able to establish session variables. Were you able to convert that into a VFP client?

I assume this is passed automatically in the header that you read from the server side. If you are not using a low level API, how are you getting access to the Session object?

The only way I have found on the server side to obtain the Session object is to use low level API. That is launched from the ASP listener. So, I am able to benefit of all my Web Service methods with that approach. However, This.oSession.SessionID returns a different session ID for every hit. That's the first problem. Secondly, even if I do This.oResponse.Cookies('Username')='Test', this doesn't seem to make it on the client side. I assume that approach is not practical. From what I've read, it seems we have to establish a server attribute on the WSDL side. There is no example on that on the net I have found. The only samples I have found where session object is used is from .Net on the server side where you can store that on the line prior to the method.
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