473,472 Members | 1,717 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Cannot persist the password textbox

how can I persist the data input in the textbox which the Textmode =
Password after postback?? I found that when I set the Textmode in textbox to
PASSWORD, i cannot persist the data within the textbox after postback...is
there any way to fulfil my req??
Nov 18 '05 #1
4 3802
no...this is how html works.

Karl

"Grey" <er*******@i-cable.com> wrote in message
news:OF**************@TK2MSFTNGP14.phx.gbl...
how can I persist the data input in the textbox which the Textmode =
Password after postback?? I found that when I set the Textmode in textbox to PASSWORD, i cannot persist the data within the textbox after postback...is
there any way to fulfil my req??

Nov 18 '05 #2
Hi Grey:

Passwords are secrets, so it's a good idea to treat them as such. Any
work around you might come up would make the application less secure.

--
Scott
http://www.OdeToCode.com

On Tue, 7 Sep 2004 17:43:40 +0800, "Grey" <er*******@i-cable.com>
wrote:
how can I persist the data input in the textbox which the Textmode =
Password after postback?? I found that when I set the Textmode in textbox to
PASSWORD, i cannot persist the data within the textbox after postback...is
there any way to fulfil my req??


Nov 18 '05 #3
One more thought. If you are simply trying to allow the user to get back on
without logging in, and you are using Forms Auth, you can set the cookie to
persist. I would also be careful with this.

---

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

***************************
Think Outside the Box!
***************************

"Grey" wrote:
how can I persist the data input in the textbox which the Textmode =
Password after postback?? I found that when I set the Textmode in textbox to
PASSWORD, i cannot persist the data within the textbox after postback...is
there any way to fulfil my req??

Nov 18 '05 #4
This is done by design as a security measure. To put the value back
into the textbox you have to add the value as an attribute

txtPassword.Attributes.Add("value" , <password string>)

"Grey" <er*******@i-cable.com> wrote in message news:<OF**************@TK2MSFTNGP14.phx.gbl>...
how can I persist the data input in the textbox which the Textmode =
Password after postback?? I found that when I set the Textmode in textbox to
PASSWORD, i cannot persist the data within the textbox after postback...is
there any way to fulfil my req??

Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Alberto | last post by:
Could you tell me what it's for the "Persist Security Info ..." value in a connection string. Thank you.
2
by: Grey | last post by:
why cannot I persist data in three text box after postback?? I have set the ViewState to TRUE. any other setting I need to set?? Million thanks
1
by: mike11d11 | last post by:
Can anyone Tell me why this code doesnt let me bind a Textbox field to the Account# column in my SQL table. It says "Cannot bind to the property or column ACCOUNT# on the DataSource. Parameter...
10
by: blurryimage | last post by:
Ok guys I have racked my brain on this one. I have a vb .net service installed on a win2k server. I am trying to get it to connect to sql 2000 box but I get this error: An error has occurred...
1
by: jqheller | last post by:
Folks I am losing my mind trying to work with the TemplatedWizardStep. I have created a multistep user registration form that collects plenty of user information including a password. At the end...
10
by: dfarney | last post by:
So I've created a Windows based application in C# that uses data from our databases on a service provider (crystaltech). The application has been deployed and has been working great on all our...
0
by: dengel | last post by:
I'm a classic ASP/VbScript user, transitioning to c# and .NET. I'm making a little PW change utility which does this: 1. User inputs an email address/username (into a textbox) 2. User inputs...
3
by: Raymond Chiu | last post by:
Dear All, I have posted my question as below. But no answers, hope it can found here. ...
1
by: Serenityquinn15 | last post by:
Hi! "Cannot Start your Application, the workgroup information file is missing or opened exclusively by another user" this is the error i got when i run my system. i'm using adodc connection to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.