A JSP File Always Creates a Session
Maybe I am just stupid, but in my latest escapades into cookies and sessions, I noticed that a session always gets created up front in JSP pages. If you have a simple index.jsp page like this one:
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head><title>index</title></head>
<body>the index</body>
</html>
The container will set a session cookie as one of the very first things. [...]
July 21, 2008
Tags: jsp, session Posted in: Programming
7 Comments
Acegi Security Not Setting a New Session Cookie
I and a colleague battled a “funny” problem, where our flash client did not get a new session cookie, when the old one expired. In the process of determining what was wrong, we came in touch with a great deal of areas, including RFC 2965 about HTTP State Management, the sources for tomcat 6, JSR-154 [...]
July 19, 2008
Tags: acegi, cookie, security, session Posted in: Programming
2 Comments
