remove user password that IE could cache : how ?

M

moi

Hello,
i have a Asp.net V2 login page with a password to enter.
In some case, a user could forget and tell IE to save its password :
How to prevent it ?

Is there a way to disable it ? to block it ?

Or could i create a button that save another text (replace) the cached
password ? the user will be prompted to click the button to remove its
cached password .... how to do it ?

Thanks a lot ...
 
C

Cowboy \(Gregory A. Beamer\)

I know of no way to stop a user from saving his password in IE, as that is
his prerogative. I am not sure why you would want to stop a user from doing
this either.

If it can be stopped it will be through client side script, however.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think outside of the box!
*************************************************
 
K

Ken Cox [Microsoft MVP]

Salut Moi,

I'm not sure this is what you're after, but you might want to try adding
AUTOCOMPLETE="off" to the textbox:

<INPUT TYPE="password" AUTOCOMPLETE="off">

This is supposed to prevent the browser from suggesting values for the
field.

http://msdn.microsoft.com/library/d...hor/dhtml/reference/dhtml_reference_entry.asp

More here:

http://msdn.microsoft.com/workshop/author/forms/autocomplete_ovr.asp

"If a Web author does not want users to see the AutoComplete feature for a
password field, the AUTOCOMPLETE attribute can be used to disable the
feature for that single field, as in the following example:

<INPUT TYPE = password
NAME = oPassword
AUTOCOMPLETE = "off"In addition, if a Web author does not want users to see the AutoComplete
feature for any field in a form, the AUTOCOMPLETE attribute can be used to
disable the feature for the entire form.

<FORM AUTOCOMPLETE = "off">
:
</FORM>
"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top