|
Home > Archive > WebSphere Portal Server > November 2007 > Logout Issue
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| fundo_khajan@yahoo.com 2007-11-24, 7:19 pm |
| Hi All,<br />
We had a portal application(WPS 5.1), and another lotus connections blogs application on a different <b>WAS(6.1)</b>. We had made a portlet(iframe) that provides an interface to the <b>Blogs</b> application . We are using SSO between (WPS5.1 and Wa
s6.1) for user authentiation. For Logout we are using the <wps:url command="LogoutUser"/> tag. The issue is that when the user clicks the logout button , The portal session is getting logged out and when another person tries to login from the same b
rowser the portal application shows the second user but as soon as he clicks the blog's portlet the previous user's session is maintained. So How can we delete the previos session created by the SSO mechanism.<br />
I had tried the following approaches.<br />
a- Deleting the cookies through the javascript and setting the maxage=0 on the click of logout URL i.e <wps:url command="LogoutUser"/>. This doesnot work <br />
<br />
b- When the user click's the logout URL he is being redirected to the LOGOUTRedirect.jsp where i am doing the folowing steps.<br />
1-session.invalidate<br />
2- Getting all cokies , seting maxAge to 0 and adding them to the response object and then redirect to the loginPage URL.<br />
This approach even fails the user to logout the user from portal session and the person in taken to "LOGGEDIN" page which is our page after login page.<br />
<br />
Can anybody help in fixing this issue and to guide me where I am wrong in the 2^nd^ approach. I want that user sud not close the browser and the new user sud be able to see the bogs application.<br />
<br />
Thanks in Advance.
| |
| Jim Barnes 2007-11-25, 1:40 am |
| are the blogs running on the other server in the same domain? I am assuming so since you are using sso, but sometimes javascript will not let you modify the cookies for these other frames. have you checked with either ie or firefox to see what cookie is
being persisted?<br />
<br />
IBM Certified System Administrator -- WebSphere Portal V6.0, V5.1, V5.0<br />
IBM Certified Solution Developer -- WebSphere Portal V5.1, v6.0<br />
<br />
The postings on this site are my own and do not necessarily represent the positions, strategies, or opinions of IBM
| |
| fundo_khajan@yahoo.com 2007-11-26, 7:39 am |
| Hi , <br />
I tried to find what might be the problem and zeroed onto this. When I am <br />
logging out from portal I am removing all the cookies from the browser. This <br />
i am doing jsp code so all the cookies are removed of the Portal application, but <br />
since the blogs application is opening in the iframe portlet, the session for the <br />
blogs application is not being removed ( it is not coming while i am iterating for the cookies on the logout page). Can anyone help how to remove that session or how we can access that session from our portal application.
|
|
|
|
|