org.locomotive.module.base
Class LogoutServlet
java.lang.Object
|
+--javax.servlet.GenericServlet
|
+--javax.servlet.http.HttpServlet
|
+--org.locomotive.loco.servlet.LocoServlet
|
+--org.locomotive.module.base.LogoutServlet
- public class LogoutServlet
- extends LocoServlet
A sample Logout servlet. Resets the session cookie and marks the
previous session dead in the session database. This is effectively
"force expiring" a session. Sends back a generic
"you have logged out" message to the client. To use this
as a separate module add it to your hrt.conf file. An example would
be:
logout org.locomotive.module.base.LogoutServlet
- See Also:
- Serialized Form
Fields inherited from class org.locomotive.loco.servlet.LocoServlet |
conn,
DEBUG,
ERROR,
form_data,
NORMAL,
req,
resp,
session,
steam_vars,
url_tokens,
user,
WARNING |
Method Summary |
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
|
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete,
doOptions,
doPost,
doPut,
doTrace,
getLastModified,
service |
Methods inherited from class javax.servlet.GenericServlet |
destroy,
getInitParameter,
getInitParameterNames,
getServletConfig,
getServletContext,
getServletInfo,
init,
init,
log,
log |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
LogoutServlet
public LogoutServlet()
doGet
public void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
- Overrides:
- doGet in class javax.servlet.http.HttpServlet