How to redirect user after logoff from rollbase to custom PHP page.
Step1: User login from custom PHP page
Step2: User on rollbase CRM
Step3: User logoff on rollbase CRM
Step4: Current it takes user to the rollbase logoff screen
Question: How to redirect the user to customer page?
Hello,
If you are using a custom PHP login page, You can redirect the users after logout by adding the "rt" hidden token in the custom login form. Please see Chapter 13: Setup and Administration for ISVs > Creating a Custom Log In Page.
Thank you,
Gian
I have added into the public cloud. Still its not working
Here is the code
<form action="www.rollbase.com/.../Router" method="post" name="theForm">
<input type="hidden" name="act" value="login">
<input type="hidden" name="rt" value="http://domainname/login/">
<input name="errMsg" value="errMsg" type="hidden">
<table cellpadding=0 cellspacing=0>
Correction: you can use cookie "rootUrl". Set that cookie on login page, and upon logout the user will be redirected to URL stored in that cookie (if found on browser's side).
Using cookie is un-documented feature. "rt" parameter should be respected instead: PSC00324054
How to setup up cookie?
Can you give example?
Actually setting "rt" parameter works as expected in my Test environment. I'd recommend you switch to Rollbase Private Cloud environment instead of using rollbase.com environment.
I just tried custom login using "rt" parameter on rollbase public cloud and it worked just as expected.
Are you noticing the problem in some particular scenario like leaving the browser untouched for a few hours? Or is it happening continuously?