<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Generate new session ID in Java EE?</title>
	<atom:link href="http://afongen.com/blog/2006/08/01/generate-new-session-id-in-java-ee/feed/" rel="self" type="application/rss+xml" />
	<link>http://afongen.com/blog/2006/08/01/generate-new-session-id-in-java-ee/</link>
	<description>Sam Buchanan's weblog</description>
	<lastBuildDate>Fri, 11 Sep 2009 21:36:51 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ritesh Tendulkar</title>
		<link>http://afongen.com/blog/2006/08/01/generate-new-session-id-in-java-ee/comment-page-1/#comment-28227</link>
		<dc:creator>Ritesh Tendulkar</dc:creator>
		<pubDate>Fri, 20 Mar 2009 16:27:37 +0000</pubDate>
		<guid isPermaLink="false">http://afongen.com/blog/2006/08/01/generate-new-session-id-in-java-ee/#comment-28227</guid>
		<description>For jboss 4.2.x change emptySessionPath=false in server.xml seems to fix the problem. Not sure what are the side-effects of this change though</description>
		<content:encoded><![CDATA[<p>For jboss 4.2.x change emptySessionPath=false in server.xml seems to fix the problem. Not sure what are the side-effects of this change though</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Preventing Session Fixation through Session ID Regeneration in Java and ASP.NET - KeepItLocked.net</title>
		<link>http://afongen.com/blog/2006/08/01/generate-new-session-id-in-java-ee/comment-page-1/#comment-28016</link>
		<dc:creator>Preventing Session Fixation through Session ID Regeneration in Java and ASP.NET - KeepItLocked.net</dc:creator>
		<pubDate>Tue, 24 Feb 2009 19:15:25 +0000</pubDate>
		<guid isPermaLink="false">http://afongen.com/blog/2006/08/01/generate-new-session-id-in-java-ee/#comment-28016</guid>
		<description>[...] that this does not regenerate the session ID necessarily. Looking at the comment thread for this blog, it appears JBoss doesn&#039;t regenerate the JSESSIONID using this code. I haven&#039;t confirmed this [...]</description>
		<content:encoded><![CDATA[<p>[...] that this does not regenerate the session ID necessarily. Looking at the comment thread for this blog, it appears JBoss doesn&#8217;t regenerate the JSESSIONID using this code. I haven&#8217;t confirmed this [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ludwig</title>
		<link>http://afongen.com/blog/2006/08/01/generate-new-session-id-in-java-ee/comment-page-1/#comment-10218</link>
		<dc:creator>Ludwig</dc:creator>
		<pubDate>Thu, 31 May 2007 13:37:53 +0000</pubDate>
		<guid isPermaLink="false">http://afongen.com/blog/2006/08/01/generate-new-session-id-in-java-ee/#comment-10218</guid>
		<description>Sam, 
yes, i am :-) It seems to be a very odd issue. The feedback I got so far is that this is by design although I haven&#039;t found any specifics about that in the servlet specifications. We are working with JBoss. If the client does not support cookie based session tracking the code example above does indeed generate a new session ID. However, once cookie based session tracking is supported, the session ID is always the one submitted in the JSESSIONID-Cookie, with no regard to the invalidate() method called before.</description>
		<content:encoded><![CDATA[<p>Sam,<br />
yes, i am :-) It seems to be a very odd issue. The feedback I got so far is that this is by design although I haven&#8217;t found any specifics about that in the servlet specifications. We are working with JBoss. If the client does not support cookie based session tracking the code example above does indeed generate a new session ID. However, once cookie based session tracking is supported, the session ID is always the one submitted in the JSESSIONID-Cookie, with no regard to the invalidate() method called before.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://afongen.com/blog/2006/08/01/generate-new-session-id-in-java-ee/comment-page-1/#comment-10100</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Tue, 29 May 2007 17:32:16 +0000</pubDate>
		<guid isPermaLink="false">http://afongen.com/blog/2006/08/01/generate-new-session-id-in-java-ee/#comment-10100</guid>
		<description>You&#039;re right, that creates a new session -- that is, a new HttpSession object, but not a new session ID. Irritating. Nothing for you now, but I&#039;ll keep looking. As I can tell from googling around, you&#039;re still looking, too. :)</description>
		<content:encoded><![CDATA[<p>You&#8217;re right, that creates a new session &#8212; that is, a new HttpSession object, but not a new session ID. Irritating. Nothing for you now, but I&#8217;ll keep looking. As I can tell from googling around, you&#8217;re still looking, too. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ludwig</title>
		<link>http://afongen.com/blog/2006/08/01/generate-new-session-id-in-java-ee/comment-page-1/#comment-9646</link>
		<dc:creator>Ludwig</dc:creator>
		<pubDate>Tue, 22 May 2007 12:42:36 +0000</pubDate>
		<guid isPermaLink="false">http://afongen.com/blog/2006/08/01/generate-new-session-id-in-java-ee/#comment-9646</guid>
		<description>Hm.
We are using JBoss here and trying to force our webapp to generate a new session ID- doesn&#039;t work:
// session.getID() is &quot;foo&quot;
session.invalidate();
req.getSession(true); // should create new session id
//session.getID() is &quot;foo&quot; again.

How do you generate a new session ID?,</description>
		<content:encoded><![CDATA[<p>Hm.<br />
We are using JBoss here and trying to force our webapp to generate a new session ID- doesn&#8217;t work:<br />
// session.getID() is &#8220;foo&#8221;<br />
session.invalidate();<br />
req.getSession(true); // should create new session id<br />
//session.getID() is &#8220;foo&#8221; again.</p>
<p>How do you generate a new session ID?,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://afongen.com/blog/2006/08/01/generate-new-session-id-in-java-ee/comment-page-1/#comment-9596</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Mon, 21 May 2007 12:41:37 +0000</pubDate>
		<guid isPermaLink="false">http://afongen.com/blog/2006/08/01/generate-new-session-id-in-java-ee/#comment-9596</guid>
		<description>Nope, sorry. Just the tiresome, manual process of copying the session attributes over to the new session.</description>
		<content:encoded><![CDATA[<p>Nope, sorry. Just the tiresome, manual process of copying the session attributes over to the new session.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ludwig</title>
		<link>http://afongen.com/blog/2006/08/01/generate-new-session-id-in-java-ee/comment-page-1/#comment-9578</link>
		<dc:creator>Ludwig</dc:creator>
		<pubDate>Mon, 21 May 2007 08:55:26 +0000</pubDate>
		<guid isPermaLink="false">http://afongen.com/blog/2006/08/01/generate-new-session-id-in-java-ee/#comment-9578</guid>
		<description>Hi Sam,
we are having the same problems here.
Do you know a solution now?

Ludwig</description>
		<content:encoded><![CDATA[<p>Hi Sam,<br />
we are having the same problems here.<br />
Do you know a solution now?</p>
<p>Ludwig</p>
]]></content:encoded>
	</item>
</channel>
</rss>
