I have been experimenting with webthreads. It would appear that I cannot access the session within the UserInterfaceUpdate method. When I assign a var to it, I get nil. Once this event has completed and a non thread breakpoint is reached, I can access the session. Is this by design or a bug?
I would guess internally it dispatches with a timer, breaking your session context. If you store the session reference, you can re-create the context. Page Not Found — Xojo documentation