Class LogOut

java.lang.Object
   |
   +----javax.servlet.GenericServlet
           |
           +----javax.servlet.http.HttpServlet
                   |
                   +----LogOut

public class LogOut
extends HttpServlet
This class Logs a user out, i.e removes all the cookies in the server database associated with the user's browser.


Variable Index

 o myCom

Constructor Index

 o LogOut()

Method Index

 o doGet(HttpServletRequest, HttpServletResponse)
This method gets the all the cookies from the HttpServletRequest stream and removes them from the server database.

Variables

 o myCom
 public static Connection myCom

Constructors

 o LogOut
 public LogOut()

Methods

 o doGet
 public void doGet(HttpServletRequest req,
                   HttpServletResponse res) throws ServletException, IOException, IllegalStateException
This method gets the all the cookies from the HttpServletRequest stream and removes them from the server database.

Overrides:
doGet in class HttpServlet