tankergoblin
asked on
error page: this webpage has redirect loop
Hi,
i have code below :
Hi,
i have try this
$studentId = $_SESSION["studentId"];
if(!isset($studentID))
{
header("location:login.php ");
}
i received an error as below:
This webpage has a redirect loop
how to solve this..
i have code below :
Hi,
i have try this
$studentId = $_SESSION["studentId"];
if(!isset($studentID))
{
header("location:login.php
}
i received an error as below:
This webpage has a redirect loop
how to solve this..
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i used your code and i still get
This webpage has a redirect loop -- error message
This webpage has a redirect loop -- error message
When you get the error, where do you have this code?
ASKER
Problem was not solved
ASKER
should i put the code on login page?