This topic is locked
[SOLVED]

 After login I get directed to the edit page instead of the list page

1/27/2015 14:24:31
PHPRunner General questions
N
notuo author

Hi.
This happened before. Today I changed the validation type for a field and now after login is successful, instead of getting the list age I am directed in the edit page of my record.
Also sometimes I get an error message in the same edit page.
Any thoughts?
Regards and thanks for your time
Actually, it enters into the last page I had, could be either edit or view pages.

Sergey Kornilov admin 1/28/2015

If you want to redirect user to specific page after they logged in - use AferSiccessfulkLogin event and redirect user there.

header("Location: mytable_list.php");

exit();
N
notuo author 1/28/2015



If you want to redirect user to specific page after they logged in - use AferSiccessfulkLogin event and redirect user there.

header("Location: mytable_list.php");

exit();



Sergey, that is not my question. I know how to do that.
The big issue is I am using a normal generated menu without any changes nor JS involved. So after logging in I expect to get into the defined / generated menu. Instead, the system goes directly to the edit page or the view page bypassing both the menu and also the list page (which is the one defined in the menu).
You already has the system in the demo account for this and another issue.

N
notuo author 1/28/2015

Excuse me?
This is not solved yet.
Why the standard menu is bypassed after login?