This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

If sessions opened in Java, how can it be closed?

 
Barbara Norway
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
If a legacy Java servlet that I inherited opens a session in Oracle via any enduser worldwide with a browser, is there a way for Java to close that connection after a certain amount of time? I feel stupid asking this question as there are probably multiple ways and it would depend on the code but I'm wondering if there is a method I should look into to start? I have been s"solving" the problem inelegantly in Oracle but would like to have it fixed in the actual Java code that's starting the sessions. Any and all help will be very much appreciated. I'll be working through the weekend so if you reply I'll see it. Thanks!!
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the Servlets forum...
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65229
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually, I don't think it is a Servlet session that Barbara is asking about, but an Oracle database session.

This topic is a duplicate of one already asked in the JDBC forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic