This topic is locked
[SOLVED]

 Page redirect not working

6/4/2012 11:59:35 AM
PHPRunner General questions
rsawchuk author

Hi,
I almost embarassed to post this problem, because it should work. However, after spending over an hour trying different things, I decided to seek some help.
I want a simple redirect after successful login to the list page ... however, no matter what I try, after login I always get the Menu instead.
Here is the code I am using:

//********** Redirect to another page ************

header("Location: step_clients_list.php");

exit();


I am using a hardcoded login, with project layout = Eindhaven; project style=Breeze
This is the first project I have created with PHPRunner Trial 6.1 Build 11636.
Everything else works great except with this minor issue.
Thanks,
Russell

C
cgphp 6/4/2012

Put the code in the "Menu page: Before process" event.

rsawchuk author 6/4/2012

Cristian,
Thanks a bunch ... that did the trick.
Russell