In asp.net, is there any way of stopping the browser from outputting the
message..
"Do you want Windows to remember this password, so that you don't have to
type it again the next time you visit this page"
The customer doesn't want their users remembering their password as it's
confidential data they're viewing, so don't want them to even have the
choice. Is there something we can add to the pages to stop it asking ?
--
Adrian Parker
Ingenuity At Work Ltd 4 4014
Yes, you can add the "autocomplete" attribute with the value "off".
If you have a server side textbox for the password field, you can do
something like:
passwordTextBox.Attributes.Add("autocomplete","off ")
"Adrian Parker" <ap******@nospam.nospamwrote in message
news:ef*************@TK2MSFTNGP06.phx.gbl...
In asp.net, is there any way of stopping the browser from outputting the
message..
"Do you want Windows to remember this password, so that you don't have to
type it again the next time you visit this page"
The customer doesn't want their users remembering their password as it's
confidential data they're viewing, so don't want them to even have the
choice. Is there something we can add to the pages to stop it asking ?
--
Adrian Parker
Ingenuity At Work Ltd
Thanks Marina, found another way of doing it globally..
<form id="Form1" method="post" runat="server" autocomplete="off">
any problem with this ?
"Marina Levit [MVP]" <so*****@nospam.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
| Yes, you can add the "autocomplete" attribute with the value "off".
|
| If you have a server side textbox for the password field, you can do
| something like:
|
| passwordTextBox.Attributes.Add("autocomplete","off ")
|
| "Adrian Parker" <ap******@nospam.nospamwrote in message
| news:ef*************@TK2MSFTNGP06.phx.gbl...
| In asp.net, is there any way of stopping the browser from outputting the
| message..
| >
| "Do you want Windows to remember this password, so that you don't have
to
| type it again the next time you visit this page"
| >
| The customer doesn't want their users remembering their password as it's
| confidential data they're viewing, so don't want them to even have the
| choice. Is there something we can add to the pages to stop it asking ?
| >
| --
| Adrian Parker
| Ingenuity At Work Ltd
| >
| >
|
|
Oh, don't know, never tried it. It very well may work, I just knew of the
input control level attribute.
"Adrian Parker" <ap******@nospam.nospamwrote in message
news:uZ**************@TK2MSFTNGP06.phx.gbl...
Thanks Marina, found another way of doing it globally..
<form id="Form1" method="post" runat="server" autocomplete="off">
any problem with this ?
"Marina Levit [MVP]" <so*****@nospam.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
| Yes, you can add the "autocomplete" attribute with the value "off".
|
| If you have a server side textbox for the password field, you can do
| something like:
|
| passwordTextBox.Attributes.Add("autocomplete","off ")
|
| "Adrian Parker" <ap******@nospam.nospamwrote in message
| news:ef*************@TK2MSFTNGP06.phx.gbl...
| In asp.net, is there any way of stopping the browser from outputting
the
| message..
| >
| "Do you want Windows to remember this password, so that you don't have
to
| type it again the next time you visit this page"
| >
| The customer doesn't want their users remembering their password as
it's
| confidential data they're viewing, so don't want them to even have the
| choice. Is there something we can add to the pages to stop it asking
?
| >
| --
| Adrian Parker
| Ingenuity At Work Ltd
| >
| >
|
|
Thanks for Marina's suggestion.
Hi Adrian,
yes, you can surely apply the "autocomplete attribute on a html <form>
element if you do not want any input field in an html <formto utilize
autocomplete feature. Here is the msdn reference which detailed descrbie
this:
#Using AutoComplete in HTML Forms http://msdn.microsoft.com/workshop/a...vr.asp?frame=t
rue
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: twhan twhan via .NET 247 |
last post by:
Hi, currently i am developing a Radius server application. Cananyone show me how can i unpack the "User-Password" attribute sothat i can get back the password in plain text so that i canverify it...
|
by: Luis |
last post by:
I use CDO to send an email to users as part of a 'Reset
Password' functionality I have on a intranet site.
I use:
METADATA TYPE="typelib" UUID="CD000000-8B95-11D1-82DB-
00C04FB1625D" NAME="CDO...
|
by: laredotornado |
last post by:
Hello, I have a simple login script. I have the pages
login.php
login_response.php
login_success.php
login_failure.php
What I want to do is have a checkbox on the login.php page where if...
|
by: Andyza |
last post by:
My prod box consists of the following:
- Windows 2003 Server
- Exchange 2003
If I use cdoConfig to send emails from my .asp application do I need to
include the following typelib on my .asp...
|
by: Norm |
last post by:
Hi,
I've got a VBA Access application, and I want to remove the "Type a
question for help" box from the menubar? How can I do this?
Thanks,
Norm
|
by: Dave |
last post by:
How do I check in a Windows Forms app if any controls have changed? I have
a form that collects data, and I want to prompt the user if they try to exit
the app, or load a new file, without saving...
|
by: PH.D.Condidater.Li.Ning |
last post by:
Hi,
all,
I am using an uninitialised variable that generating a 'Run-Time Check
Failure #3' when the
debug version is running. The code is complex and changing it would be
risky, so
how do I...
|
by: anmcafresher |
last post by:
Hi Guys,
I am working with an option where I do want to print a background image without enabling the "Print Background Color and Image" in the IE.
I do want to get this image printed on each...
|
by: bh |
last post by:
I am using a built-in login control on a form, and have set the
"DisplayRememberMe" property to false.
It correctly does not display that checkbox on the login form; however,
after...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |