Hi All,
I am typing a password into a textBox with type="password" , and then
submitting it into other page where I not see it in the textBox with
type="password" .
A password value is stored in a Session or a local variable.
Session["pwd"] = PasValue.Text;
..
..
..
PasValue.Text = Session["pwd"].ToString(); - is not appeared
Why it is occured?
Thanks & Regards,
Kuan 3 1388
This is by design with ASP.NET you need to-do sommething like...
PasValue.Attrib utes("Value") = Session["pwd"].ToString();
Kindest Regards,
Ryan Healey
InstantASP Ltd - ASP.NET Collaboration & Support Tools
--------------------------------------------------------------- sa***@instantas p.co.uk http://www.instantasp.co.uk
---------------------------------------------------------------
"Kuan" <te*****@hotmai l.com> wrote in message
news:O5******** ******@TK2MSFTN GP09.phx.gbl... Hi All,
I am typing a password into a textBox with type="password" , and then submitting it into other page where I not see it in the textBox with type="password" . A password value is stored in a Session or a local variable.
Session["pwd"] = PasValue.Text; . . . PasValue.Text = Session["pwd"].ToString(); - is not appeared
Why it is occured?
Thanks & Regards, Kuan
Opps sorry that should be ...
PasValue.Attrib utes["Value"] = Session["pwd"].ToString();
for c# ;)
--
Kindest Regards,
Ryan Healey
InstantASP Ltd - ASP.NET Collaboration & Support Tools
--------------------------------------------------------------- sa***@instantas p.co.uk http://www.instantasp.co.uk
---------------------------------------------------------------
"su*****@instan tasp.co.uk" <se*****@instan tasp.co.uk> wrote in message
news:eU******** ******@TK2MSFTN GP12.phx.gbl... This is by design with ASP.NET you need to-do sommething like...
PasValue.Attrib utes("Value") = Session["pwd"].ToString();
Kindest Regards,
Ryan Healey
InstantASP Ltd - ASP.NET Collaboration & Support Tools --------------------------------------------------------------- sa***@instantas p.co.uk http://www.instantasp.co.uk ---------------------------------------------------------------
"Kuan" <te*****@hotmai l.com> wrote in message news:O5******** ******@TK2MSFTN GP09.phx.gbl... Hi All,
I am typing a password into a textBox with type="password" , and then submitting it into other page where I not see it in the textBox with type="password" . A password value is stored in a Session or a local variable.
Session["pwd"] = PasValue.Text; . . . PasValue.Text = Session["pwd"].ToString(); - is not appeared
Why it is occured?
Thanks & Regards, Kuan
Thank you!
It is working properly!
Best regards
Kuan
"su*****@instan tasp.co.uk" <se*****@instan tasp.co.uk> wrote in message
news:O5******** ******@TK2MSFTN GP09.phx.gbl... Opps sorry that should be ...
PasValue.Attrib utes["Value"] = Session["pwd"].ToString();
for c# ;)
-- Kindest Regards,
Ryan Healey
InstantASP Ltd - ASP.NET Collaboration & Support Tools --------------------------------------------------------------- sa***@instantas p.co.uk http://www.instantasp.co.uk ---------------------------------------------------------------
"su*****@instan tasp.co.uk" <se*****@instan tasp.co.uk> wrote in message news:eU******** ******@TK2MSFTN GP12.phx.gbl... This is by design with ASP.NET you need to-do sommething like...
PasValue.Attrib utes("Value") = Session["pwd"].ToString();
Kindest Regards,
Ryan Healey
InstantASP Ltd - ASP.NET Collaboration & Support Tools --------------------------------------------------------------- sa***@instantas p.co.uk http://www.instantasp.co.uk ---------------------------------------------------------------
"Kuan" <te*****@hotmai l.com> wrote in message news:O5******** ******@TK2MSFTN GP09.phx.gbl... Hi All,
I am typing a password into a textBox with type="password" , and then submitting it into other page where I not see it in the textBox with type="password" . A password value is stored in a Session or a local variable.
Session["pwd"] = PasValue.Text; . . . PasValue.Text = Session["pwd"].ToString(); - is not appeared
Why it is occured?
Thanks & Regards, Kuan
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: tom |
last post by:
Hello,
I have an asp.net web application where I want people
to register themselves.
This takes them through a few pages with prev/next
functionality.
In one of the pages they provide a password. I use a
textbox with textmode password for this.
But when I want to set the text of the textbox serverside
|
by: M P |
last post by:
Hi!
Im planning to encrypt the password that was stored on msaccess database and
also the text inputed from a password textbox. Also, if I want to get the
password from the database, I need to decrypt it so it can be comparable to
the one that is inputed on the textbox. Is there a way on how to handle
this?
MP
|
by: MA |
last post by:
Hi all!
I have a problem here. I have a web page for user administration. On this
page I have a textbox for password. This textbox are in TextMode password.
But when I get data, via a data reader, to my password textbox, it´s empty.
How can I get around this?
/Marre
|
by: Kerri |
last post by:
Hi,
I have an asp textbox that allows users to enter their
password.
I have another page that allows a user to edit their user
account.
On this page I set the text to be the password in the
Database. There is a value in my datareader but yet on my
|
by: Jonathan Dienst |
last post by:
I have a simple data access and administration page for
user details on my site, including a login password --
but I cannot get the textbox to work properly if the
TextMode is set to "Password".
The user details are modified in making a hidden table
with textboxes visible -- in response an edit command
from the datagrid. One of the textboxes is used for the
user's password. If this textbox has the attribute
TextMode="SingleLine" (ie...
| |
by: Andre Ranieri |
last post by:
I'm trying to create a login page for customers to log into our corporate
website, our presidents naturally wants the user and password fields to
populate from a cookie so the customer doesn't have to type their credentials
every time, this seems like a pretty common thing. However, when I try to
populate the password HTML textbox from the cookie, the textbox remains
blank. However, if I try this from an equivalent web control, the...
|
by: James |
last post by:
Have a textbox that's in Password mode on a user creation page. Have
several dropdowns that cause a PostBack out of necessity on this page. I
cannot separate them. When one of these dropdowns changes, the textbox's
value is lost. How do I prevent this?
Thanks
|
by: kingflux |
last post by:
Hello, and thank you in advance for any help you can provide.
Each line in our datagrid control contains a product number,
description, and a textbox for the user to enter a quantity-to-order.
Users enter quantities (not necessarily on every line), click the Next
button, and continue. Sometimes users return to a previous page, by
clicking the Previous button, and see quantities that they did not
enter. More often, users return to a...
|
by: SenthilVel |
last post by:
hi all,
i am running a ASP.Net 2.0 application.
in one of the pages i have a text box which is set as PASSWORD mode.
when the page is submitted or transfered , am not able to get the contents
of this textbox which is in Password mode.
do we need to any more apart from setting to password mode to get the value
present in the text box..?
do we need to do anything in specific with the viewstates if there is
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |