NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: JHojka on February 22, 2023, 10:56:42 AM

Title: WebService and SetSessionLoggedIn
Post by: JHojka on February 22, 2023, 10:56:42 AM
I would like to have two services.

ServiceA is the login service call
ServiceB must have been logged in using ServiceA

Are there examples of how to use SetSessionLoggedIn with WebServices. I cant figure it out on my own. I saw that there was going to be a webinar on this but couldnt find it.

I tried SetSessionLoggedIn(True) in ServiceA but it appears that this has a different SessionID then when I try to GetSessionLoggedIn in ServiceB. I can see that there seams to be a cookie SessionIDX. but not sure if this is helpful or not. How I would use it in ServiceB.

I found this routine

CheckForToken  routine

Should I be swapping out the session ID here? If so then how is that done? On the client I am suing nettalk for all calls to the web services.

Jeff
Title: Re: WebService and SetSessionLoggedIn
Post by: Bruce on February 27, 2023, 08:52:14 PM
discussed in webinar last thursday