Clear Browsing Forms Android

0

I created a PHP + MySQL application and everything is ok!

My question is when I access this application via Tablet, for example, accessing the login and password, after using the system, I click logout / em> destroy via PHP) it also directs you to the login screen again, however, it saves the user and password.

Is there any way to eliminate this auto-save?

    
asked by anonymous 06.04.2015 / 22:38

1 answer

1

You can use the autocomplete attribute of html5, which can be set for the entire form, or just for a specific element.

<form action="/login" method="post" autocomplete="off">
    Login: <input type="text" name="usuario"><br>
    Senha: <input type="text" name="senha" autocomplete="off">
    <input type="submit" />
</form>
    
06.04.2015 / 22:51