留言板

JSESSIONID being appended to URL pages on redirect

thumbnail
Shea Brock,修改在14 年前。

JSESSIONID being appended to URL pages on redirect

New Member 帖子: 9 加入日期: 08-4-4 最近的帖子
I've been noticing some bizarre behavior with URL pages and I was hoping that someone else could perhaps point me in the direction of a portal-ext.properties setting or something of that ilk that I've overlooked that may be the root cause.

In short, I have a page set up as a URL page linking to an external site. So essentially http://www.myportal.com/redirect goes to http://www.myexternalsite.com/someresource/. However, for the first visit to this URL for each browser session, the jsessionid is appended to the URL, causing a 404. So rather than be redirected to http://www.myexternalsite.com/someresource/ the user is sent to http://www.myexternalsite.com/someresource/;jsessionid=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. However, if I hit the initial URL again (http://www.myportal.com/redirect), I am redirected properly.

I'm using the 5.2.3 version of the community portal running on Tomcat 6. If anyone has any thoughts or knowledge that would aide in working through this issue, I'd greatly appreciate it.

Thanks emoticon
thumbnail
Shea Brock,修改在14 年前。

RE: JSESSIONID being appended to URL pages on redirect

New Member 帖子: 9 加入日期: 08-4-4 最近的帖子
Adding the following to portal-ext.properties.

session.enable.url.with.session.id=false

This appears to have fixed the issue, if anyone else is having this problem.
Nadjim Bourezak,修改在14 年前。

RE: JSESSIONID being appended to URL pages on redirect

New Member 帖子: 19 加入日期: 09-3-31 最近的帖子
I had the same problem and adding

session.enable.url.with.session.id=false

in portal-ext.properties solved my problem.

Thanks
venky racha,修改在12 年前。

RE: JSESSIONID being appended to URL pages on redirect

Junior Member 帖子: 52 加入日期: 09-7-26 最近的帖子
Thanks its worked for me..
Abhigyan Srivastava,修改在11 年前。

RE: JSESSIONID being appended to URL pages on redirect

New Member 发布: 1 加入日期: 12-6-28 最近的帖子
But this is a bug. Why can't liferay built a solution which is bug free. Of course we will have to now make this change in property file but my experience with liferay is that it is a bad product and should not be marketed anyways. I wont even recommend this product to my enemies.