Forums

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

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Tim Ye
About share User HTTP session with Liferay and other web applications
November 5, 2013 2:46 AM
Answer

Tim Ye

Rank: New Member

Posts: 13

Join Date: December 5, 2012

Recent Posts

Hi everybody .

Could we share the Liferay HTTP session to other web applications , Just like below example
* Liferay
* test-app1 <not the portlet application>

I suppose user with same session to access the Liferay and test-app1 .

Thanks
Tim
David H Nebinger
RE: About share User HTTP session with Liferay and other web applications
November 5, 2013 5:21 AM
Answer

David H Nebinger

Community Moderator

Rank: Liferay Legend

Posts: 11511

Join Date: September 1, 2006

Recent Posts

Tim Ye:
Could we share the Liferay HTTP session to other web applications?


Probably not. The http session is managed by the application container, and typically these are kept separate to avoid session pollution.
Tim Ye
RE: About share User HTTP session with Liferay and other web applications
November 5, 2013 11:51 PM
Answer

Tim Ye

Rank: New Member

Posts: 13

Join Date: December 5, 2012

Recent Posts

Thanks David , could we use the Apache Shiro to implement it ?
Victor Zorin
RE: About share User HTTP session with Liferay and other web applications
November 6, 2013 12:34 PM
Answer

Victor Zorin

Rank: Liferay Legend

Posts: 1178

Join Date: April 14, 2008

Recent Posts

Could we share the Liferay HTTP session to other web applications

If you mean 'using the same session for passing attributes across Liferay and non-Liferay applications', yes it is possible and is widely used.