Hi,
We have configured load balancing and when the Fiori webpage loads, we use the ASCS SAP Virtual service in the webpage to load the page.
We currently have 2 servers.
The load balancing by itself works fine. But the issue we are facing is as below.
We have a requirement that is a user logs in the application, before he logs out, we save his user preferences and the last page he was browsing in a cookie. So, that the next time the user logs in into the same machine, we get him to the last page where the user had left.
The issue now is
- The user logs in using the load balance url, the url randomly accesses the app server1 and the user is logging off by visiting Page A in the application.
- The second time the user logs in using the load balance url, the url randomly accesses the app server2 and the user does not see the Page A he had visited last time and he is sent to the default app page and the user logs off from Page B.
- The third time when the user logs in using the load balance url, the url randomly accesses the app server1, Page A is visible to him.
My understanding is when we use the load balancing, the address on the webpage changes based on the server it connects to.. so, based on the server name the cookie gets stored.
For now, After the load balancing has been configured, I'm using the ASCS based web address to launch the Fiori app, but once I hit enter, then based on the load balance routing algorithms/traffic , I'm being randomly pushed to app server 1 or app server 2 and my web address link changes to explicitly show which server I'm pointed to(the app server 1 or app server 2) in the web address
Is there an option where we can get static webpage address/load balancing generic address, that does not get changed based on the server it connects to?
Thanks,
Shahid