Session cleared, yet page still recognizes the user : <p>I'm using the simple chat code from here <a href="https://code.tutsplus.com/tutorials/how-to-create-a-simple-web-based-chat-application--net-5931" rel="nofollow noreferrer">https://code.tutsplus.com/tutorials/how-to-create-a-simple-web-based-chat-application--net-5931</a></p>

<p>It works, but the problem is that I want to show login form every time the user refreshes the page or closes the tab and then re-opens it. 
Currently, I see login form only the first time I open the page and subsequently, the browser (both Chrome and Firefox) recognize the user.</p>

<p>Clearing cookies hasn't help.
Clearing the session in PHP ($_SESSION = array();) hasn't helped either.</p>

<p>Please, advise how to show the login form every time the user refreshes or closes and re-opens the tab. 
Thank you!</p>
