Microsoft
Software
Hardware
Network
Question : problem killing a session in java
i have started an http session in a web application on login with the following code:
HttpSession session = request.getSession(true);(
written in Login Servlet.java)
after login,i start a particular process for eg: excute a sql query on the database. As the query is getting executed i logout of the application.
on logout to kill the session i have written the following code:
HttpSession session = request.getSession(); ------ when i print the session id after this line i get an id.
session.invalidate();
response.sendRedirect(requ
est.getCon
textPath()
+ "/login.jsp. (written in LogoutServlet.java)
but the backend sql execution does not stop even after logging out. the application is redirected to the login page though.
Answer : problem killing a session in java
can you post the the code making the query you want to kill
Random Solutions
Invoke Webbrowser from a seperate thread vb.net
predictive drive failure - 2003 server - standard edition
B:Drive Error Press F1 to Resume
Calling KillTimer() from a CALLBACK function
storage solution
Winmail.dat issues Exchange 2010 Server
Outlook 2007 cerificate error
Copy database from 1 server to another
Coldfusion data form entry
Can I have the phone display if a user is logged in/out of a hunt group Cisco Call manager