NetTalk Central

Author Topic: WebService and SetSessionLoggedIn  (Read 2710 times)

JHojka

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
    • Email
WebService and SetSessionLoggedIn
« 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: WebService and SetSessionLoggedIn
« Reply #1 on: February 27, 2023, 08:52:14 PM »
discussed in webinar last thursday