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
Excel VBA Error - Trying to select range
MS SQL 2005 - Security
TransactionScope - Sample Code
How to put background and foreground color also put those text in middle of the screen.
How to remove Subaru Crankshaft and Camshaft sensor plugs? Just pull?
Give panel rounded corners
Adding Contact with ActiveRoles PowerShell
Need English Dictionary in Database Format
Why could the man eat meat after flood?
iPhone, how do I correctly pass data model object data between various view controllers without breaking MVC?