Tech Per

21 Jul

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. [...]

19 Jul

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 [...]

© 2008 Tech Per | Entries (RSS) and Comments (RSS)

GPS Reviews and news from GPS Gazettewordpress logo