Hello friends, how would I like to solve a question with jsp and servlets, how could I destroy a login with servlet for a web page?
Hello friends, how would I like to solve a question with jsp and servlets, how could I destroy a login with servlet for a web page?
This gets the session variables created and removes them.
request.getSession().invalidate();
If you control the login with a variable, this is the easiest way. In any case, if we could see your code and as valid that the user is logged in, we can give a more adequate response.