4
I wanted to know how to make an Alert appear only 1 time for the user in the session, in the case the Loga user and appears a div with Alert informed Logged in successfully , after closing this Alert I want him not to show up while the session is open
the code that displays Alert when the user enters the system is this
<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>
thanks friend , worked out here
– Thalles Honorato
You’re welcome @Thalleshonorato. I’m glad I helped
– Miguel
I do it with cookies, but next time I’ll use Session, much simpler.
– marcollahc