Foren
Problem with Session timeout redirection
Alp Gul, geändert vor 8 Jahren.
Problem with Session timeout redirection
New Member Beiträge: 6 Beitrittsdatum: 06.10.15 Neueste Beiträge
Hello,
After the session is timeout, I want to redirect the page to www.google.com.
Here my portal-ext.properties :
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
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
David H Nebinger, geändert vor 8 Jahren.
RE: Problem with Session timeout redirection
Liferay Legend Beiträge: 14919 Beitrittsdatum: 02.09.06 Neueste Beiträge
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?
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, geändert vor 8 Jahren.
RE: Problem with Session timeout redirection
New Member Beiträge: 6 Beitrittsdatum: 06.10.15 Neueste Beiträge
Hi,
I am using Liferay 6.2
Help me please...
I am using Liferay 6.2
Help me please...
Exploring Liferay, geändert vor 7 Jahren.
RE: Problem with Session timeout redirection
New Member Beiträge: 8 Beitrittsdatum: 11.09.14 Neueste Beiträge
Did you get any resolution ? I am facing the same problem.