Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
sameer danthurthy
Session management
January 8, 2009 5:44 PM
Answer

sameer danthurthy

Rank: New Member

Posts: 5

Join Date: May 16, 2007

Recent Posts

Hello:
I have been having issue with liferay 5.1 jboss/tomcat bundle and jsessionid.

The website is multilingual and using the language portlet the user can choose the right language, however using a cookie disabled browser the site get randomly displays pages in other languages. On further investigation it looks like the jsessionid is also shared among multiple users. I would think the sessionid would be unique. The links sometimes have jsessionid appended to thr URI and other times not. I enabled requestdumper in Jboss and clearly see that the server honors requestedSessionId overiding the language set in the session. Please suggest where to start.

Thanks
Sameer
Jonas Yuan
RE: Session management
December 29, 2010 2:14 PM
Answer

Jonas Yuan

Rank: Liferay Master

Posts: 993

Join Date: April 26, 2007

Recent Posts

Hi Sameer,

The response may be too late. Hope that you could see this post.

You can set following to remove jsession.
1
2session.enable.url.with.session.id=false


Liferay 6 supports up to 36 languages and robust session management. And you can use different languages as

1http://${domain.name}/${locale}/


You should be excited with Liferay portal in jBoss AS or other AS.

Thanks

Jonas

==================
The Author of Liferay Books:
Liferay User Interface Development
Liferay Portal 6 Enterprise Intranets
Liferay Portal 5.2 Systems Development
Liferay Portal Enterprise Intranets