I simply cannot figure this out. How to get PageRecieved to return the JSON into the calling Session Window.
I have a Login WebView, Button “Login” that fires a HTTP request. Once the PageRecieved it activated I need to process if LoginDetails = OK, and then open a new WebWindow (UserLocations) instead of the LoginWindow.
How to do that? I keep getting SessionNotAvaiableException, but I can’t figure out how to…
Should I pack the Session ID into both Sending and Receiving JSON? - But then how to Open the new Window in the same Session?
It’s sending it to a Xojo Web Service. My Client is sending, fine, Middleware is receiving and sending fine, but once I receive the returned JSON I need to ‘Reactivate’ the Session that called it and…
Dim w as New CheckInWindow
w.Initialize
// Send the new window som parameters so I use my own Show method
I can’t open the new Windows as I get a SessionNotAvaiableException
Show Login Window [WORKS]
Press Login [WORKS]
Send Login Details via HTTPSocket [WORKS]
Receive LoginIsOK via PageRecieved [WORKS]
Show UserLocationsWindow in stead of LoginWindow [DOES NOT WORK]
This must be possible, right? Any ideas. I have a feeling it’s quite simple, but I’m not that experienced in HTTPSockets and Web Services