wood burning stoves 2.0*
The moose likes Struts and the fly likes Session Merging - URL Rewrite Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Session Merging - URL Rewrite" Watch "Session Merging - URL Rewrite" New topic

Session Merging - URL Rewrite

Arulanand Dayalan
Ranch Hand

Joined: Aug 10, 2005
Posts: 124

In our application we are facing Session Merging issue (http://blogs.msdn.com/ie/archive/2009/05/06/session-cookies-sessionstorage-and-ie8.aspx). One solution to this problem is URL Rewriting. We are using Struts 1.2. This automatically writes jsessionid to a Cookie. Is there any way we can prevent this happening and append jsessionid to URL using struts. We are also interested other approaches using which we can solve this problem. Thanks in advance.

Ankit Garg

Joined: Aug 03, 2008
Posts: 9291

This is a browser feature, how will you handle it if I open a new browser window and enter the name of your site manually, even URL rewriting won't help in that case...

SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
James Ward
Ranch Hand

Joined: Apr 27, 2003
Posts: 263
Putting jsessionid in URL is a feature of the Application Server, and not of Struts Framework.
I agree. Here's the link: http://aspose.com/file-tools
subject: Session Merging - URL Rewrite
Similar Threads
How can I enable session(using url) tracking in home page
64 bit jsessionid in Struts
disable jsession id
session management -cookie disabled
Session ID conveyed as part of URL