I have two actions in controller:
function indexAction()
{
$this->_redirect('/index/welcome/');
}
function welcomeAction()
{
echo isset($_SERVER['HTTP_REFERER']);
}
After redirect it returns always null. How to fix it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Redirect (301,303) works on the HTTP level and not the HTML level, i.e. a browser is not aware of the redirect with the exception of the information to update the URL.