FileDocCategorySizeDatePackage
InvalidateSessionTag.javaAPI DocExample651Tue Feb 28 11:34:06 GMT 2006com.ora.jsp.tags

InvalidateSessionTag

public class InvalidateSessionTag extends TagSupport
This class is a custom action for invalidating a session, causing all session scope variables to be removed and the session to be terminated (marked as invalid).
author
Hans Bergsten, Gefion software
version
2.0

Fields Summary
Constructors Summary
Methods Summary
public intdoEndTag()
Invalidates the session.

	HttpSession session = pageContext.getSession();
	if (session != null) {
	    session.invalidate();
	}
        return EVAL_PAGE;