When running the following code, a new session is generated every time
in development mode and when hosted in App Engine. When I try the code
in Tomcat, it works fine. Why isn't the code working correctly?
response.setContentType("text/html");
PrintWriter out = response.getWriter();
HttpSession session = request.getSession(true);
if (session.isNew()) {
out.println("New session");
} else {
out.println("Old Session");
}
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.