I have the following problem in my application which connects to an Oracle 10g database:
When my client crashes, or the process is terminated via task manager, or the client loses connection for a while, the appropriate entry in the v$session view remains.
Now when I connect to the database with sqlplus, and i kill sqlplus.exe through the task manager, the session entry gets deleted almost instantly.
Latter behaviour would be preferred for my application for various reasons.
What does sqlplus do differently, and can I do it as well in my own application(s)?