Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Duplicate Sessions After Network Reconnect. How to Reuse or Clean Up?

Michael HerrleinJun 16 2025 — edited Jun 16 2025

Hi everyone,
If a session is open in an application and the internet connection is lost, for example because the user unplugs the LAN cable from the laptop and the laptop connects to Wi-Fi, the application continues to work once the internet connection is restored. However, a new session is opened for each previously active session, and the old session remains in the database as an inactive session.

Is there a way to reuse the same session or to clean up sessions that are no longer needed?

I’m using Oracle.ManagedDataAccess.Core version 23.8.0 (also tested with 23.7.0) and database version 23ai.

Edit:
Pooling is also active.

Thanks in advance for any help!

Best regards,
Michael

Comments
Post Details
Added on Jun 16 2025
1 comment
102 views