Skip to Content
author's profile photo Former Member
Former Member

Listening for httpsession close from non frontend extension

Hi

I have an extension that is not used as front end. I would like to register a HttpSessionListener to save the cart when the session expires. I would like to avoid having to modify another extension web.xml to register the listener. The best way it seems is to register my extension as an add-on. But add-ons cannot override web.xml of another extension or override beans that belong to another extension web context (please, correct me if I am wrong). Is there an elegant way to solve this problem?

Add a comment
10|10000 characters needed characters exceeded

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.