Hi Christophe,
I have received further clarification from R&D about the session management:
First, as far I know AsteaPublisher machine is in use ONLY during the install/update processing when the client is installing/updating Astea Browser WPF application.
Once installed successfully Astea Browser is using DIFFERENT URL to run the business. It’s typically load balancer URL, when behind the load balancer is the APP servers farm:
- in use by office users
- in use by mobile users
- in use by internal batch processing
Just to confirm about the Session management. We’re are not using IIS session. We’re using Astea SessionID which stored in DB (ap_session_log table) and replicated on demand on each APP server. So, if the first (Login) request performed by APP-1 it stored in memory of APP-1 and saved in DB.
If the second request received by APP-2 when the session is still not in memory – the session loaded from DB first to the memory of APP-2 and request is continuing the execution.
Each request like QBE, Open Module or any other type of request can be redirected by load balancer randomly or by sophisticated logic to ANY machine!
Just FYI. The different story is AFTER the end user Open the module! Once open the module each request (stateful request) must to return to the same machine. And this is not because of SessionID, but because of StateID!
Take look some simple flow example.
- QBE – random server.
- Retrieve Service Order – random server, but a side an actually Service Order data client received also encrypted APP server name.
- Open Customer lookup to change the customer or Node whatever – random server.
- Save after changed customer – dedicated server.
- Close – dedicated server.
- Retrieve again – random server.