Basically what I am trying to achieve is this, the below does not work but you should get the idea.
if (session_status() == PHP_SESSION_ACTIVE) {
show specific icons
}
else
{
don't show specific icons
}
What am I doing wrong. How can I reliably check if a session is started in php 5.4. I have read somewhere that this is the recommended way.