Print at Dec 17, 2025, 7:05:29 AM

Posted by adizanni at Feb 26, 2024, 6:07:07 PM
Re: SweetHome3DJS - Porting plugin - ARM architecture support
I think I'm narrowing in the problem.
The URL are not really a problem, I set the external URLs for the JavaScript interaction in the index.jsp and I set internal URLs for the call to the backend classes (ServerUserPreferences and HomeRecorder) the problem is the session. You store the reference to the file being opened in a session variable.
I see that behind the proxy, the sessionid is renewed at every call and the session variable is destroyed, so the WriteHomeEdits script assumes that the Home file was never opened in the first place. I will explore the possibility to create a custom session manager......