I came across part in Head First JSP and Servlets where it says that we have to get rid of sessions as shown in this picture:
Later on they present