This topic is locked

Redirect To another page

8/29/2009 6:47:03 AM
PHPRunner General questions
M
mauro author

How to redirect user to another page after login according to Group?

something like this?
if Session("GroupID")="user" then

Response.Redirect "page.php"

end if

D
danaci 8/29/2009



How to redirect user to another page after login according to Group?

something like this?
if Session("GroupID")="user" then

Response.Redirect "page.php"

end if


after login events

header("location: anypage.php");

M
mauro author 8/31/2009

ok, but redirect according to User Group?

D
danaci 8/31/2009

after login events
if ($_SESSION["GroupID"]=="user")

{

header("location: anypage.php");

}