This topic is locked

redirect to edit table after log in

6/5/2010 7:36:11 PM
PHPRunner General questions
P
paulsimo author

Is it possible for a user to be redirected to the edit record page containing their own users registration details immediately after logging in? If so could somebody please explain how this is achieved, or alternatively have the option of selecting the edit record page of the logged in user, from the menu page.
Many thanks in advance.

A
ann 6/7/2010

Hi,
to redirect to the edit record page after logging in use After successful login event on the Events tab.

Here is a sample code:

header("Location:TableName_edit.php?editid1=".$data["Id"]);

exit();


where Id is actual id field name.