Clear Forms Navigation Android

Asked

Viewed 69 times

0

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

My question is when access this application via Tablet, for example by accessing the login and password, after using the system, I click on logout (Session Destroy via PHP) the same directs to the screen login again, however, keeps saved the user and password.

Is there any way to eliminate this automatic save?

1 answer

1

You can use the attribute autocomplete of Html5, which can be defined for the whole form, or only 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>

Browser other questions tagged

You are not signed in. Login or sign up in order to post.