01-06-2021, 08:21 PM
(01-06-2021, 09:29 AM)Alexandre Machado Wrote: Your spanish version should run under
'https://www.myweb.com/myapp/spa/index.html
no??
Is this the same application or a different one?
The application is a "link" of a website in plain HTML, CSS. So the website is at 'https://www.myweb.com', and the app (for ALL languages) is at 'http://www.myweb.com/myapp/' as (for the app) the language is changed dynamically in the app itself, and when this happens the return to the 'main page' should be done to the right one HTML webpage - English, Spanish - not the app - using 'WebApplication.TerminateAndRedirect', but currently, because of Intraweb removes the host part of the URL, it is not working for any webpage other than the main webpage. So, currently, all redirecting has to be done to 'https://www.myweb.com', as if 'https://www.myweb.com/anyotherurl/' is used it redirects to 'https://anyotherurl/'. The overloaded version of 'TerminateAndRedirect' with the 'aPrependBaseURL' parameter also gives the same result, no matter the parameter is set to true or false.


