I would like to know how to make an alert appear only once for the user in the session, in case the user Loga and appears a div with alert informed Logged in successfully, after closing this alert I want it not to appear any more while the session is Open
The code that displays alert when the user enters the system is
<div class='alert alert-success alert-dismissible' role=alert><b>$logado</b> você foi logado com sucesso -
<a href=logout.php class='alert-link'>Deslogar</a>
<button type='button' class='close' data-dismiss='alert' aria-label='Close'><span aria-hidden='true'>×</span></button>
</div>