This is a discussion on PHP request page redirect within the PHP General forums, part of the PHP Programming Forums category; Hi, Does anyone know a code to handle page redirect for authentication. For example a user requests to access /view/...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
Does anyone know a code to handle page redirect for authentication. For example a user requests to access /view/users.php?param1=xxx¶m2=dadas¶m3=cxzxczxc and since it's the first time requesting that resource they get redirected to /login.php page. Once authenticated they get redirected page to /view/users.php?param1=xxx¶m2=dadas¶m3=cxzxczxc with all the parameters. Does anyone have a good code to handle this call similar to ASP. NET (FormsAuthentication.RedirectFromLoginPage) on Windows? Thank you Maz. |