The main question is, I set the variable (facebook id) in the cakephp session, if the user is on facebook, if the facebook id is set in the session, I want to do something else. How can I check this?
I am doing something like:
if(isset($this->Session->read("fbid")) && $this->Session->read("fbid") != "")
Is it correct?
Thanks in advance!
source share