How to automatically redirect to home page after session-timeout - redirect

I would like to automatically redirect control to my community home page after session-timeout.
I tried putting below properties in my portal-ext.properties file but after session-timeout it doesn't automatically goes to community home page however if I click on any link or button it goes back to home page.
Can anybody please let me know how control can automatically be transffered to home page after session-timeout instead of clicking on any button or link.
session.id.delimiter=
session.id.weblogic.delimiter=!
session.timeout=5
session.timeout.warning=1
session.timeout.auto.extend=false
session.timeout.redirect.on.expire=true
default.landing.page.path=/web/demo/home
last.modified.check=false
theme.css.fast.load=true
javascript.fast.load=true
hibernate.show_sql=false
com.liferay.portal.servlet.filters.threadlocal.ThreadLocalFilter=true
com.liferay.portal.servlet.filters.unsyncprintwriterpool.UnsyncPrintWriterPoolFilter=true
jsp.writer.buffer.size=0
finalize.manager.thread.enabled=true
session.enable.phishing.protection=true
Environment: Liferay 6.0
Thanks

Add/Update below properties to your portal-ext.properties file:
default.logout.page.path=/web/guest/home
auth.login.url=/web/guest/home

default.logout.page.path=/web/guest/home is the url redirected to after the logout.
How to logout and redirect to /web/guest/home automatically after session timeout?At present we are hosting few widgets on the dashboard page. When a user click any of the widget after session timeout, a new tab opens and is redirected to /web/guest/home. How to logout from dashboard page automatically after session timeout

Related

Keycloak login page refresh logs out from other tab

we are using OIDC-client library from react js side and IS4 using keycloak as login provider,
open the two tabs and open the same url[e.g. xyz.com]
when 1st tab request the url, IS4 provides the login page from keycloak.
user log in with code provided by keycloak and IS4 redirect to correct url. [ all good]
the second tab is still on login page, by pressing f5 on tab2 should bring the same page as SSO in nature, f5 works fine here but there is signredirectcallback failure on tab1 which trigger frame window timeout and logout happens on tab1.
due to that 1st tab also gets signout.
any clue?

How can I programmatically add a prior state using angular ui router/ionicframework

I'm using ionicframework v1.3.0 (which is using angular-ui-router v0.2.13). After successful login, the user sees a landing page. Sometimes I want to have my user jump to a special page after login, but still be able to navigate to the landing page.
Currently, if I just use a $state.go('/special-page', someParams), then the user will not see the link for the back/home button in the ion-nav-bar. However, if the user clicks a button to navigate to the special page from the landing page, they will see the back/home button. How can I accomplish this? I thought it might be possible to splice/inject the '/landing-page' state in the navigation stack to do so.

moodle first time login redirect to custom page

I have moodle site with custom signup page when new user register user redirect to the home page but then it automatically redirect to the profile edit page which is at(http://www.test.con/user/edit.php?id=46&course=1) once i update profile i can go to home page.so i want to stop this and redirect to home page.
The automatic redirect happens when a user has required fields in their profile that still need to be completed.
Maybe you could make all required profile fields required fields in your custom signup page too, then users will always have completed them already by the time they log in for the first time.
I think it is related to the configuration of "Default home page for users":
Go to Site Administration => Appearence => Navigation
Select other option other than "User preference".
Hope that helps!

Facebook Landing page is not letting me click on it after Like it

I have a landing page that works when people click on it and they can go back to it after they like it , but when I try do do that on my own page it jumps me right back to the wall! I have removed the page,put it back on still won't work.
I presume you have a page tab app correct? If so, go into your page settings and set that page tab app as the default one to be loaded. Of course, if you're an admin of the page, that setting is ignored, so you will have to test with a non-admin account. Also make sure that the app you have set as the default page tab is also a public app.

Facebook Like button cyclically opens and closes a popup window, facebook.com/connect/connect_to_external_page_widget_loggedin

I associated a Facebook account with my GaiaOnline account; we use Connect to accomplish this. I created a JS Like button for a page at FB's dedicated page: developers.facebook.com/docs/reference/plugins/like
The Like button's code was
Upon clicking the Like button in XP/firefox 3.6.13, while logged into Gaia and FB, a popup window rapidly opens and closes cyclically until the process is terminated. This behavior is not repeatable on other windows machines, macs or chrome. Presumably this is Facebook trying to initiate a FB login page, per their third-party login process: developers.facebook.com/blog/post/312
My history identifies this page as "http://www.facebook.com/connect/connect_to_external_page_widget_loggedin.php?social_plugin=like&external_page_url=http%3A%2F%2Ftest135.open.dev.gaiaonline.com%2Fforum%2Fentertainment-discussion%2Fthe-roommate-what-s-the-best-thing-about-having-a-roommate%2Ft.67947263%2F".
A video of this transpiring is uploaded to Youtube: http://www.youtube.com/watch?v=1asJ4kMNL6w
What is causing the popup behavior, and what can be done to fix it?
Try enabling 3rd party cookies
http://support.mozilla.com/kk/questions/761194#answer-127335