Solved
Multiple AEM requests are being sent to the server at the same time, and responses are being swapped or overridden
Hi,
We are facing some intermittent issues with one of our AEM applications that we have recently launched. We used AEM to build the frontend that has Components rendering the API data through AEM servlets, and we do have multiple users that are being managed through Cookies and third party user authentication.
Couple of critical issues that we currently see are as follows:
- When a user tries to login to the system, they see a different user account information (servlet is responsible to invoke an API with a user unique ID). Though the ID matches with the user ID, we see the information is being set with other user details
- We frequently see 'Size of a request header field exceeds server limit.' though we have increase the size for apache variables (LimitRequestFieldSize, LimitRequestLine) via dispatcher vhost files
We presume the issue is due to AEM servlets as they are singleton. Has anyone run into similar issues before? Could you please suggest how to handle these issues?
Any assistance is greatly appreciated.