Fórum

Liferay site: Facing "Sign Out" issue in IE6

Rakesh Sinha, modificado 14 Anos atrás.

Liferay site: Facing "Sign Out" issue in IE6

New Member Postagens: 4 Data de Entrada: 12/01/09 Postagens Recentes
Hi Friends,

I am facing sign out issue in IE6. In IE6 i cant just sign out from the system, but it si working fine in firefox.

Thanks.
Joffré Carrier, modificado 14 Anos atrás.

RE: Liferay site: Facing "Sign Out" issue in IE6

Junior Member Postagens: 28 Data de Entrada: 03/06/09 Postagens Recentes
Hi,
I have exactly the SAME problem. In bonus, IE7 too ! I'm interested by the solution.
thanks.
Joffré
thumbnail
Zsolt Balogh, modificado 14 Anos atrás.

RE: Liferay site: Facing "Sign Out" issue in IE6

Expert Postagens: 463 Data de Entrada: 23/03/09 Postagens Recentes
Which theme do you use?

Does Liferay log you out if you go to /c/portal/logout?
Joffré Carrier, modificado 14 Anos atrás.

RE: Liferay site: Facing "Sign Out" issue in IE6

Junior Member Postagens: 28 Data de Entrada: 03/06/09 Postagens Recentes
I use the theme classic modified. I can see clearly that the URL /c/portal/logout is called in the browser url field. By the way, I experimented the problem of IE6 and IE7. Whatever the OS I use (windows, linus), it works perfectly with FF. I suspect a cookie problem or/and a modification about these lines in portal-ext.properties :

default.landing.page.path=/web/guest/home
auth.forward.by.redirect=false
layout.friendly.url.page.not.found=/web/guest/home
layout.show.http.status=false
auth.forward.by.last.path=true
auth.login.community.url=/web/guest/home
auth.login.url=/web/guest/home

thanks for your help
Joffré Carrier, modificado 14 Anos atrás.

RE: Liferay site: Facing "Sign Out" issue in IE6

Junior Member Postagens: 28 Data de Entrada: 03/06/09 Postagens Recentes
Hi,
Even if I read that is not a good way to work somewhere on the forum (sorry I don't remember where) I found in the folder /ROOT/html/common/themes a file named top_meta-ext.jsp. Obviously, it's exactly what I needed to add this line :

<META HTTP-EQUIV="Pragma" CONTENT="no-cache">

My internship manager explained me that it's like a message that the page sends to the browser (in our case IE) to avoid cache keeeping. It could be very interesting to know why this comportment does not appear in Firefox.

the file top_meta-ext.jsp called by top_head.jsp who reprensents $top_head_include in the .vm files (the portal_normal.vm especially) is the best place to add the line because you dont have to add this line in every portal_normal.vm of every theme that you download.

HTH

Joffré