留言板
Redirect to home page on session timeout
Rajesh Babu,修改在12 年前。
Redirect to home page on session timeout
Regular Member 帖子: 161 加入日期: 10-2-8 最近的帖子
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,修改在12 年前。
RE: Redirect to home page on session timeout
Regular Member 帖子: 161 加入日期: 10-2-8 最近的帖子
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,修改在12 年前。
RE: Redirect to home page on session timeout
Regular Member 帖子: 161 加入日期: 10-2-8 最近的帖子
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,修改在12 年前。
RE: Redirect to home page on session timeout
Regular Member 帖子: 161 加入日期: 10-2-8 最近的帖子
finally got the solution by adding auth.login.url=/web/guest/home in portal-ext.properties
krishna mohan mathakala,修改在9 年前。
RE: Redirect to home page on session timeout
New Member 帖子: 20 加入日期: 13-1-31 最近的帖子
This is taking me to liferay welcom page sign in portlet .
VIJAY KUMAR,修改在9 年前。
RE: Redirect to home page on session timeout
New Member 帖子: 2 加入日期: 14-7-24 最近的帖子
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,修改在9 年前。
RE: Redirect to home page on session timeout
Regular Member 帖子: 240 加入日期: 13-6-24 最近的帖子
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,修改在9 年前。
RE: Redirect to home page on session timeout
Junior Member 帖子: 75 加入日期: 12-5-21 最近的帖子
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,修改在7 年前。
RE: Redirect to home page on session timeout
Junior Member 帖子: 25 加入日期: 16-9-8 最近的帖子
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