0 =\ ]^_ `a `bc defg hij k l hmn \o p qr st ]u `vwxyz{| ]}~ ]  ] ] h h h  h h   d()VCodeLineNumberTableLocalVariableTablethisLSessionServlet;doGetR(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)VeLjava/util/Enumeration;req'Ljavax/servlet/http/HttpServletRequest;res(Ljavax/servlet/http/HttpServletResponse;session Ljavax/servlet/http/HttpSession;outLjava/io/PrintWriter;ivalLjava/lang/Integer;contextLjavax/servlet/ServletContext; ExceptionsgetServletInfo()Ljava/lang/String; SourceFileSessionServlet.java >?  text/html 9 SessionServlet Output  

SessionServlet Output

sessiontest.counter java/lang/Integer > java/lang/StringBufferYou have hit this page  times.

YClick hereQ to ensure that session tracking is working even if cookies aren't supported.
ONote that by default URL rewriting is not enableddue to it's expensive overhead

"

Request and Session Data:

Session ID in Request: Y'
Session ID in Request from Cookie: $
Session ID in Request from URL: 
Valid Session ID: 

Session Data:

 New Session: 
Session ID: Y
Creation Time: 
Last Accessed Time: 

Servlet Context Data:

  Context Attribute: java/lang/String
 ?A simple servletSessionServletjavax/servlet/http/HttpServletjavax/servlet/ServletExceptionjava/io/IOException%javax/servlet/http/HttpServletRequest getSession#(Z)Ljavax/servlet/http/HttpSession;&javax/servlet/http/HttpServletResponsesetContentType(Ljava/lang/String;)V getWriter()Ljava/io/PrintWriter;java/io/PrintWriterprintlnjavax/servlet/http/HttpSession getAttribute&(Ljava/lang/String;)Ljava/lang/Object;(I)VintValue()I setAttribute'(Ljava/lang/String;Ljava/lang/Object;)Vappend,(Ljava/lang/String;)Ljava/lang/StringBuffer;,(Ljava/lang/Object;)Ljava/lang/StringBuffer;toString getRequestURL()Ljava/lang/StringBuffer; encodeURL&(Ljava/lang/String;)Ljava/lang/String;getRequestedSessionIdisRequestedSessionIdFromCookie()Z(Z)Ljava/lang/StringBuffer;isRequestedSessionIdFromURLisRequestedSessionIdValidisNewgetIdgetCreationTime()J(J)Ljava/lang/StringBuffer;getLastAccessedTimegetServletContext ()Ljavax/servlet/ServletContext;javax/servlet/ServletContextgetAttributeNames()Ljava/util/Enumeration;java/util/EnumerationhasMoreElements nextElement()Ljava/lang/Object;close!<=>?@/*A%B CDEF@ +N,,:-  : Y : Y ` :- YY,+Y+Y +!"Y#+$"Y%+&"'Y(-)"Y*-+Y,--.Y/-0.1-2:3:4,Y56789:A *-024&63788E:U<_=}>@BDFGIKM8O?P\QyRSUVXY]^ _BR3GH CD IJ KLMNOP3QRISTUVWXY@-;AcB CDZ[