Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
After successfully logging in using the ThingWorx Default Login page, the user will land on the home page mashup which i have created. If the user clicks on the browser back button while on this home page, we need to reload the page.
But if the user navigates to other mashups/ pages and clicks the back button it can navigate to the previous screen.
So basically Immediately after logging in i need make the Browsers back button behave like a reload and not allow the user to go back to the login page.
How can i achieve this in thingworx??
Solved! Go to Solution.
Hi @Dabbler_Aish.
The browser's back button can't be overridden, but you could create an intermediary mashup that redirects you to the landing page on load. In this way, when you hit back the first time it will take you to that intermediary page and then redirect you back to the landing page, reloading it.
Regards.
--Sharon
Hi @Dabbler_Aish.
The browser's back button can't be overridden, but you could create an intermediary mashup that redirects you to the landing page on load. In this way, when you hit back the first time it will take you to that intermediary page and then redirect you back to the landing page, reloading it.
Regards.
--Sharon
Hi @Dabbler_Aish.
If you are satisfied with the previous response, please mark it as the Accepted Solution for the benefit of others with the same question.
Regards.
--Sharon