04-07-2023, 09:36 AM
So use the first line that I wrote in my response:
UserSession := TIWUserSession(WebApplication.Data);
Now you have your UserSession and is able to call it's methods
UserSession := TIWUserSession(WebApplication.Data);
Now you have your UserSession and is able to call it's methods