AHA
Class Logout

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--AHA.AhaServlet
                    |
                    +--AHA.Logout

public class Logout
extends AhaServlet

The class Logout is a servlet that is called when a user logs out of the Course.

See Also:
Serialized Form

Fields inherited from class AHA.AhaServlet
AHA, Background, Course, Host, HtDocs, Language, loginid, Logs, out, Port, referer, Title, UserModel
 
Constructor Summary
Logout()
           
 
Method Summary
 void init(javax.servlet.ServletConfig config)
           
 void logoutPerson(javax.servlet.ServletContext sc, javax.servlet.http.HttpSession session)
          Log out the user from this course, and remove the session if the user was only using this course.
 void println(java.lang.Object s)
           
protected  void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class AHA.AhaServlet
getName, initService, printInfo, redirect
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Logout

public Logout()
Method Detail

println

public void println(java.lang.Object s)

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Overrides:
init in class AhaServlet

service

protected void service(javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response)
Overrides:
service in class AhaServlet

logoutPerson

public void logoutPerson(javax.servlet.ServletContext sc,
                         javax.servlet.http.HttpSession session)
Log out the user from this course, and remove the session if the user was only using this course. Otherwise don't remove the session from the system.