F
Fahd Shariff
I have a web application made up of JSPs and Servlets. The JSPs connect
to a database via JDBC connections in order to execute queries and
return results. I have noticed that there are a number of "inactive
sessions" appearing in the Oracle database which have been created by
these JSPs connecting to the database. These sessions, when in large
numbers, affect database performance and I have to go into the database
and kill them off manually.
I have double checked and am positive that all connections and
statements are being closed within my JSPs and have no idea why these
inactive sessions are still appearing. Has anyone faced similar
problems?
Could this be because some users might be closing down their browsers
while the page is still loading? Or clicking on a link twice in
succession?
to a database via JDBC connections in order to execute queries and
return results. I have noticed that there are a number of "inactive
sessions" appearing in the Oracle database which have been created by
these JSPs connecting to the database. These sessions, when in large
numbers, affect database performance and I have to go into the database
and kill them off manually.
I have double checked and am positive that all connections and
statements are being closed within my JSPs and have no idea why these
inactive sessions are still appearing. Has anyone faced similar
problems?
Could this be because some users might be closing down their browsers
while the page is still loading? Or clicking on a link twice in
succession?