Hello Emilsingh,
well, sessions are setup with a inactivity interval. I.e. if a session object is not used for a specific period it is marked as expired and becomes eligible for a cleanup by the session cleanup thread. Therefore once a session is expired there is no way to reliably say that the session data is still available. What I've seen at some customers sites is that there is a little piece of JavaScript running in the users browser which sends a "ping" request to the server after a certain time of inactivity to keep the session alive.
If you mention that "
results in the timeout for the interface components expecting a response within a short timespan" - what is the time-span we are talking about? Well, sure session creation takes some time, but are you sure it is the root cause of the ESB timeout? How long does the session creation take time? What are the session settings?
Hope that helps.
Kind regards and have a good day - Hermann
------------------------------
Hermann Huebler
2innovate IT Consulting GmbH
Vienna
Austria
#IBMChampion
------------------------------
Original Message:
Sent: Wed August 25, 2021 03:57 AM
From: Emilsingh Samuel
Subject: Respawning of the expired sessions
Hi All,
I am currently working on WebSphere Network Deployment of version 9.0.0.11.
We are facing a problem as sessions are getting expired And when new messages are incoming, new sessions are being created which is results in the timeout for the interface components expecting a response within a short timespan. Since sessions creating in WebSphere is taking some additional time, it is resulting in the timeout to ESB waiting for response.
Just want to clarify is there any option in WebSphere so that session which is expired can respawn on its own immediately rather than creating a new session during any incoming message.
Much Thanks in advance.
Sam
------------------------------
Emilsingh Samuel
------------------------------