Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Chad Allen
Looking for client-side logout event mechanism
January 19, 2011 1:21 PM
Answer

Chad Allen

Rank: New Member

Posts: 16

Join Date: June 10, 2010

Recent Posts

I'm currently developing a solution that involves using an IFrame portlet to authenticate into an external web application. When a user logs out of the portal, if they had viewed the IFrame portal page, the browser would still actually consider them logged into the external web app.If another user comes along and logs into the portal from the same browser session, the app in the IFrame still thinks the previous user is logged in.

I'm wondering if there is an elegant solution for making a logout request to the external web app in response to the logout from the portal.

I've looked at the logout actions, but that is entirely server-side.

One thought I had was to create a specific logout page that could be configured for the portal. That page could perhaps invoke the logout of the web application as well as perform the portal logout, but I'm not sure if this will fully work.

Upon portal logout, I currently have my portal configured to redirect to the login page, which I'd still like to retain.

If anyone has a thought or two about this problem, I would appreciate hearing it.

Thanks-
biswajit sarkar
RE: Looking for client-side logout event mechanism
October 11, 2012 10:04 AM
Answer

biswajit sarkar

Rank: Regular Member

Posts: 166

Join Date: October 17, 2011

Recent Posts

Chad Allen:
I'm currently developing a solution that involves using an IFrame portlet to authenticate into an external web application. When a user logs out of the portal, if they had viewed the IFrame portal page, the browser would still actually consider them logged into the external web app.If another user comes along and logs into the portal from the same browser session, the app in the IFrame still thinks the previous user is logged in.

I'm wondering if there is an elegant solution for making a logout request to the external web app in response to the logout from the portal.

I've looked at the logout actions, but that is entirely server-side.

One thought I had was to create a specific logout page that could be configured for the portal. That page could perhaps invoke the logout of the web application as well as perform the portal logout, but I'm not sure if this will fully work.

Upon portal logout, I currently have my portal configured to redirect to the login page, which I'd still like to retain.

If anyone has a thought or two about this problem, I would appreciate hearing it.

Thanks-


I also face the same problem....
anyone aware of this problem???
please help