This topic is locked
[SOLVED]

  Redirect after login not working

7/10/2012 13:42:04
PHPRunner General questions
C
carolp author

Frustrated here! <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=19834&image=1&table=forumtopics' class='bbc_emoticon' alt=':(' /> I needed to create a simple redirect after login. Following the phprunner instructions, I inserted code for redirecting a page to the "after successful login" event, specifying the page for redirect. Did a build and upload. The redirect does not work. Any suggestions????

C
cgphp 7/10/2012

Post your code.

C
carolp author 7/11/2012



Post your code.


I was just informed by support that this is a bug, and that they'll be creating a fix in the next short while.

C
charly1211 7/15/2012

Try redirecting on menu page before process event, redirecting in after login event is buggy.
If you only set header directive, it does not work.

If you set header and exit, it will work, but user credentials are not set, then $_SESSION["OwnerID"] is empty.
On menu page, you can set header and exit directive and it will work!
Charly1211