Error close session in webservice calls

Description

This ticket: https://idempiere.atlassian.net/browse/IDEMPIERE-2944, it is very useful
1. Improves the performance, I tested creating partners, and decreased time 700-1500 ms to 200 ms
2. Improving the audit process because it associates all changes to a single session

The issue occurs when the session expired already and does not close.
I think the problem is the location of the sentence "m_cs.refreshLastAuthorizationTime ();"

Attached is a possible solution, please review and test

Environment

None

Attachments

1

Activity

Show:

Saúl Piña February 26, 2016 at 11:45 PM

Hello , I am testing and you're right.

Thanks for this feature.

Carlos Ruiz February 26, 2016 at 8:10 AM
Edited

Thanks for testing and feedback.

The timeout is for inactive time - example if you define Stage=9 - it doesn't mean the session will last 9 minutes, but that session will not be reused after 9 minutes of inactivity, as long as you keep the session active it can be open the whole day.

Regards,

Carlos Ruiz

Fixed

Details

Assignee

Reporter

Priority

Created February 26, 2016 at 1:10 AM
Updated April 6, 2016 at 3:36 PM
Resolved February 26, 2016 at 11:46 PM