Foros de discusión

Problem with Session timeout redirection

Alp Gul, modificado hace 8 años.

Problem with Session timeout redirection

New Member Mensajes: 6 Fecha de incorporación: 6/10/15 Mensajes recientes
Hello,

After the session is timeout, I want to redirect the page to www.google.com.

Here my portal-ext.properties :

session.timeout=5
session.timeout.warning=1
session.timeout.redirect.on.expire=true
session.timeout.redirectUrl=http://www.google.com


It doesn't work... I have an error HTTP Status 414 -
My page is redirected to :

http://localhost/c/portal/login?redirect=%2Fweb%2Fguest%2Fhome%3Fp_p_state%3Dmaximized%26p_p_mode%3Dview%26saveLastPath%3Dfalse%26_58_struts_action%3D%252Flogin%252Flogin%26p_p_id%3D58%26p_p_lifecycle%3D0%26_58_redirect%3D%252Fweb%252Fguest%252Fhome%253Fp_p_state%253Dmaximized%2526p_p_mode%253Dview%2526saveLastPath%253Dfalse%2526_58_struts_action%253D%25252Flogin%25252Flogin%2526p_p_id%253D58%2526p_p_lifecycle%253D0%2526_58_redirect%253D%25252Fweb%25252Fguest%25252Fhome%25253Fp_p_state%25253Dmaximized%252526p_p_mode%25253Dview%252526saveLastPath%25253Dfalse%252526_58_struts_action%25253D%2525252Flogin%2525252Flogin%252526p_p_id%25253D58%252526p_p_lifecycle%25253D0%252526_58_redirect%25253D%2525252Fweb%2525252Fguest%2525252Fhome%2525253Fp_p_state%2525253Dmaximized%25252526p_p_mode%2525253Dview%25252526saveLastPath%2525253Dfalse%25252526_58_struts_action%2525253D%252525252Flogin%252525252Flogin%25252526p_p_id%2525253D58%25252526p_p_lifecycle%2525253D0%25252526_58_redirect%2525253D%252525252Fweb%252525252Fguest%252525252Fhome%252525253Fp_p_state%252525253Dmaximized%2525252526p_p_mode%252525253Dview%2525252526saveLastPath%252525253Dfalse%2525252526_58_struts_action%252525253D%25252525252Flogin%25252525252Flogin%2525252526p_p_id%252525253D58%2525252526p_p_lifecycle%252525253D0%2525252526_58_redirect%252525253D%25252525252Fweb%25252525252Fguest%25252525252Fhome%25252525253Fp_p_state%25252525253Dmaximized%252525252526p_p_mode%25252525253Dview%252525252526saveLastPath%25252525253Dfalse%252525252526_58_struts_action%25252525253D%2525252525252Flogin%2525252525252Flogin%252525252526p_p_id%25252525253D58%252525252526p_p_lifecycle%25252525253D0%252525252526_58_redirect%25252525253D%2525252525252Fweb%2525252525252Fguest%2525252525252Fhome%2525252525253Fp_p_state%2525252525253Dmaximized%25252525252526p_p_mode%2525252525253Dview%25252525252526saveLastPath%2525252525253Dfalse%25252525252526_58_struts_action%2525252525253D%252525252525252Flogin%252525252525252Flogin%25252525252526p_p_id%2525252525253D58%25252525252526p_p_lifecycle%2525252525253D0%25252525252526_58_redirect%2525252525253D%252525252525252Fweb%252525252525252Fguest%252525252525252Fhome%252525252525253Fp_p_state%252525252525253Dmaximized%2525252525252526p_p_mode%252525252525253Dview%2525252525252526saveLastPath%252525252525253Dfalse%2525252525252526_58_struts_action%252525252525253D%25252525252525252Flogin%25252525252525252Flogin%2525252525252526p_p_id%252525252525253D58%2525252525252526p_p_lifecycle%252525252525253D0%2525252525252526_58_redirect%252525252525253D%25252525252525252Fweb%25252525252525252Fguest%25252525252525252Fhome%25252525252525253Fp_p_state%25252525252525253Dmaximized%252525252525252526p_p_mode%25252525252525253Dview%252525252525252526saveLastPath%25252525252525253Dfalse%252525252525252526_58_struts_action%25252525252525253D%2525252525252525252Flogin%2525252525252525252Flogin%252525252525252526p_p_id%25252525252525253D58%252525252525252526p_p_lifecycle%25252525252525253D0%252525252525252526_58_redirect%25252525252525253D%2525252525252525252Fweb%2525252525252525252Fguest%2525252525252525252Fhome%2525252525252525253Fp_p_state%2525252525252525253Dmaximized%25252525252525252526p_p_mode%2525252525252525253Dview%25252525252525252526saveLastPath%2525252525252525253Dfalse%25252525252525252526_58_struts_action%2525252525252525253D%252525252525252525252Flogin%252525252525252525252Flogin%25252525252525252526p_p_id%2525252525252525253D58%25252525252525252526p_p_lifecycle%2525252525252525253D0%25252525252525252526_58_redirect%2525252525252525253D%252525252525252525252Fweb%252525252525252525252Fguest%252525252525252525252Fhome%252525252525252525253Fp_p_state%252525252525252525253Dmaximized%2525252525252525252526p_p_mode%252525252525252525253Dview%2525252525252525252526saveLastPath%252525252525252525253Dfalse%2525252525252525252526_58_struts_action%252525252525252525253D%25252525252525252525252Flogin%25252525252525252525252Flogin%2525252525252525252526p_p_id%252525252525252525253D58%2525252525252525252526p_p_lifecycle%252525252525252525253D0%2525252525252525252526_58_redirect%252525252525252525253D%25252525252525252525252Fweb%25252525252525252525252Fguest&p_l_id=26428

Please help me...
Alp
thumbnail
David H Nebinger, modificado hace 8 años.

RE: Problem with Session timeout redirection

Liferay Legend Mensajes: 14915 Fecha de incorporación: 2/09/06 Mensajes recientes
Well, the 414 is right, the URL is too long.

Don't know who's building that, but it looks like it's appending duplicate parameters to the url in some sort of loop.

What version are you running?
Alp Gul, modificado hace 8 años.

RE: Problem with Session timeout redirection

New Member Mensajes: 6 Fecha de incorporación: 6/10/15 Mensajes recientes
Hi,

I am using Liferay 6.2
Help me please...
thumbnail
Exploring Liferay, modificado hace 7 años.

RE: Problem with Session timeout redirection

New Member Mensajes: 8 Fecha de incorporación: 11/09/14 Mensajes recientes
Did you get any resolution ? I am facing the same problem.