I am trying to redirect to my proxy using sorcerer inside an article as follows.
Code: Select all
<?php header("Location: https://www.abc.com/compare/?page=compare". "&token=" . $session->getId()."&end", TRUE, 303); die(); ?>
I am trying to test if user returns to page so need to know if guest has session so I can reload a record in my application.Call to a member function getId() on null.