I am using EP6.0 which connect to backend: R/3 version 4.6c. I have a JSPDynPage application that keeps the Portal connection to R/3 in the duration of the session since I need to lock certain infomation in R/3.
Now, in the event when the user session ends I need to disconnect from R/3 and release all the locks. Is there any mechanism to detect user session ends in portal. I tried to catch when the JSPDynPage instance being GC-ed (during finalized) but it seems that JSPDynPage instance is GC-ed after less than 2 minutes inactivity from the user and recreate the instance in the next request as long as the user session still valid.