Posts by José Carlos • 49 points
3 posts
-
2
votes3
answers6753
viewsA: Validation of select
I use it this way: <script> if(nome_formuario.nome_do_select.selectedIndex==0){ alert("Informe o status do contrato"); form.st_contrato.focus(); return false; } </script>…
javascriptanswered José Carlos 49 -
1
votes3
answers1532
viewsA: Session is not being destroyed with session_destroy()?
People solved the problem with the help of Rene and Pope Charlie. First I used the javascript indicated by Rene this code does not let page back. This code has to be placed on every page you want to…
-
0
votes3
answers1532
viewsQ: Session is not being destroyed with session_destroy()?
I immediately in my session, created a logout.php page to destroy the session. So far so good I can scroll down but when I click the back button of the browser I log back in. As I destroy the…