This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Session Merging - URL Rewrite" Watch "Session Merging - URL Rewrite" New topic
Author

Session Merging - URL Rewrite

Arulanand Dayalan
Ranch Hand

Joined: Aug 10, 2005
Posts: 124
Hi,

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.

Regards,
Arul.
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9435
    
  20

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
 
It's not a secret anymore!