Fórum
Redirect to home page on session timeout
Rajesh Babu, modificado 12 Anos atrás.
Redirect to home page on session timeout
Regular Member Postagens: 161 Data de Entrada: 08/02/10 Postagens Recentes
Guys,
Need to redirect to home page instead of login portlet. Need your valuable suggestions guys.
following are my settings in portal-ext:
default.logout.page.path=/web/guest/home
session.enable.persistent.cookies=true
session.enable.url.with.session.id=false
session.timeout=10
session.timeout.redirect.on.expire=true
session.timeout.warning=0
session.timeout.auto.extend=false
session.timeout.redirect.on.expire=true
session.shared.attributes=org.apache.struts.action.LOCALE,SCREEN_NAME
auth.forward.by.last.path=true
company.default.home.url=/web/guest/home
layout.remember.request.window.state.maximized=true
Need to redirect to home page instead of login portlet. Need your valuable suggestions guys.
following are my settings in portal-ext:
default.logout.page.path=/web/guest/home
session.enable.persistent.cookies=true
session.enable.url.with.session.id=false
session.timeout=10
session.timeout.redirect.on.expire=true
session.timeout.warning=0
session.timeout.auto.extend=false
session.timeout.redirect.on.expire=true
session.shared.attributes=org.apache.struts.action.LOCALE,SCREEN_NAME
auth.forward.by.last.path=true
company.default.home.url=/web/guest/home
layout.remember.request.window.state.maximized=true
Rajesh Babu, modificado 12 Anos atrás.
RE: Redirect to home page on session timeout
Regular Member Postagens: 161 Data de Entrada: 08/02/10 Postagens Recentes
if session.timeout.warning=0, it is redirecting to login portlet with return to full page.
if session.timeout.warning=30, it is redirecting to /web/guest/home.
but, i need to achieve session.timeout.warning=0 and redirect to /web/guest/home. any ideas!
if session.timeout.warning=30, it is redirecting to /web/guest/home.
but, i need to achieve session.timeout.warning=0 and redirect to /web/guest/home. any ideas!
Rajesh Babu, modificado 12 Anos atrás.
RE: Redirect to home page on session timeout
Regular Member Postagens: 161 Data de Entrada: 08/02/10 Postagens Recentes
for session.timeout.warning=30, it is redirecting to
http://localhost:8080/web/guest/home
for session.timeout.warning=0, it is redirecting to
http://localhost:8080/web/guest/home?p_p_id=58&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&saveLastPath=0&_58_struts_action=%2flogin%2flogin&_58_redirect=%2fweb%2f10311%2fwelcome
anybody knows where i need to modify the redirection url to http://localhost:8080/web/guest/home
http://localhost:8080/web/guest/home
for session.timeout.warning=0, it is redirecting to
http://localhost:8080/web/guest/home?p_p_id=58&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&saveLastPath=0&_58_struts_action=%2flogin%2flogin&_58_redirect=%2fweb%2f10311%2fwelcome
anybody knows where i need to modify the redirection url to http://localhost:8080/web/guest/home
Rajesh Babu, modificado 12 Anos atrás.
RE: Redirect to home page on session timeout
Regular Member Postagens: 161 Data de Entrada: 08/02/10 Postagens Recentes
finally got the solution by adding auth.login.url=/web/guest/home in portal-ext.properties
krishna mohan mathakala, modificado 9 Anos atrás.
RE: Redirect to home page on session timeout
New Member Postagens: 20 Data de Entrada: 31/01/13 Postagens Recentes
This is taking me to liferay welcom page sign in portlet .
VIJAY KUMAR, modificado 9 Anos atrás.
RE: Redirect to home page on session timeout
New Member Postagens: 2 Data de Entrada: 24/07/14 Postagens Recentes
I have similar issue, I updated my portal-ext.proerties file as below
session.timeout.warning=1
session.timeout.redirect.on.expire=true
auth.login.url=/c/portal/customlogin
default.logout.page.path=/c/portal/customlogin
I see that portal is showing warning to extend it and if I do not extend then it shows another warning "warning,due to inactivity,your session has espired.please save any data you may have entered before refreshing" but it is not redirecting to login page.
session.timeout.warning=1
session.timeout.redirect.on.expire=true
auth.login.url=/c/portal/customlogin
default.logout.page.path=/c/portal/customlogin
I see that portal is showing warning to extend it and if I do not extend then it shows another warning "warning,due to inactivity,your session has espired.please save any data you may have entered before refreshing" but it is not redirecting to login page.
Timo Kurowski, modificado 9 Anos atrás.
RE: Redirect to home page on session timeout
Regular Member Postagens: 240 Data de Entrada: 24/06/13 Postagens Recentes
Hello Vijay Kumar,
have you found a solution to this problem? I am having the same issue, i want to redirect after timeout, but nothing happens.
have you found a solution to this problem? I am having the same issue, i want to redirect after timeout, but nothing happens.
Neetu Mishra, modificado 9 Anos atrás.
RE: Redirect to home page on session timeout
Junior Member Postagens: 75 Data de Entrada: 21/05/12 Postagens Recentes
Hi Timo,
I have added below code in my portal-ext.properties file & this is working fine for me:
Hope this will help.
Regards,
Neetu
I have added below code in my portal-ext.properties file & this is working fine for me:
session.timeout.warning=0
session.timeout.auto.extend=false
session.timeout.redirect.on.expire=true
session.timeout.redirectUrl=/web/guest/welcome
auth.login.url=/web/guest/welcome
##redirect last visited page after successful login
auth.forward.by.last.path=true
##Show login portlet without return to full page link
layout.remember.request.window.state.maximized=false
default.logout.page.path=/web/guest/welcome
Hope this will help.
Regards,
Neetu
sedki jdaida, modificado 7 Anos atrás.
RE: Redirect to home page on session timeout
Junior Member Postagens: 25 Data de Entrada: 08/09/16 Postagens Recentes
Hi Neetu Mishra,
I wan't to redirect when session timeout to login page :
I set the variable : session.timeout.redirectUrl=/c/portal/j_login
but it 's not work . Can you help me
I wan't to redirect when session timeout to login page :
I set the variable : session.timeout.redirectUrl=/c/portal/j_login
but it 's not work . Can you help me