I have been trying to troubleshoot this issue. When I clear the cookies and try to login again, I notice both PHPSESSID and BE_USER_AUTH cookies are being set. The BE_USER_AUTH has an expiration time of one hour from the time it is set and PHPSESSID expires at end of session.
I confirmed that in the following condition the REFER value is not equal to an empty string i.e. '' so I'm thinking it has to do with the empty($_COOKIE) code, but not sure where to go from there to find if anything is being stored in the $_COOKIE variable.
Code:
// Show a cookie warning
if (Input::get('referer', true) != '' && empty($_COOKIE))
{
$this->Template->noCookies = $GLOBALS['TL_LANG']['MSC']['noCookies'] . "
REFER VALUE = " . Input::get('referer', true);
}
Any suggestions?
Bookmarks