Foros de discusión
Redirect to home page on session timeout
Rajesh Babu, modificado hace 12 años.
Redirect to home page on session timeout
Regular Member Mensajes: 161 Fecha de incorporación: 8/02/10 Mensajes recientes
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 hace 12 años.
RE: Redirect to home page on session timeout
Regular Member Mensajes: 161 Fecha de incorporación: 8/02/10 Mensajes recientes
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 hace 12 años.
RE: Redirect to home page on session timeout
Regular Member Mensajes: 161 Fecha de incorporación: 8/02/10 Mensajes recientes
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 hace 12 años.
RE: Redirect to home page on session timeout
Regular Member Mensajes: 161 Fecha de incorporación: 8/02/10 Mensajes recientes
finally got the solution by adding auth.login.url=/web/guest/home in portal-ext.properties
krishna mohan mathakala, modificado hace 9 años.
RE: Redirect to home page on session timeout
New Member Mensajes: 20 Fecha de incorporación: 31/01/13 Mensajes recientes
This is taking me to liferay welcom page sign in portlet .
VIJAY KUMAR, modificado hace 9 años.
RE: Redirect to home page on session timeout
New Member Mensajes: 2 Fecha de incorporación: 24/07/14 Mensajes recientes
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 hace 9 años.
RE: Redirect to home page on session timeout
Regular Member Mensajes: 240 Fecha de incorporación: 24/06/13 Mensajes recientes
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 hace 9 años.
RE: Redirect to home page on session timeout
Junior Member Mensajes: 75 Fecha de incorporación: 21/05/12 Mensajes recientes
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 hace 7 años.
RE: Redirect to home page on session timeout
Junior Member Mensajes: 25 Fecha de incorporación: 8/09/16 Mensajes recientes
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