You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2003/05/21 19:44:51 UTC
cvs commit: jakarta-servletapi-5/jsr154/examples/WEB-INF/classes SessionExample.java
remm 2003/05/21 10:44:51
Modified: jsr154/examples/WEB-INF/classes SessionExample.java
Log:
- Use getSession(true) here.
Revision Changes Path
1.3 +2 -2 jakarta-servletapi-5/jsr154/examples/WEB-INF/classes/SessionExample.java
Index: SessionExample.java
===================================================================
RCS file: /home/cvs/jakarta-servletapi-5/jsr154/examples/WEB-INF/classes/SessionExample.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- SessionExample.java 29 Oct 2002 17:42:57 -0000 1.2
+++ SessionExample.java 21 May 2003 17:44:51 -0000 1.3
@@ -52,7 +52,7 @@
out.println("<h3>" + title + "</h3>");
- HttpSession session = request.getSession();
+ HttpSession session = request.getSession(true);
out.println(rb.getString("sessions.id") + " " + session.getId());
out.println("<br>");
out.println(rb.getString("sessions.created") + " ");
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org