473,405 Members | 2,334 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

password in TextBox is not appeared in a new asp page

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


Nov 18 '05 #1
3 1377
This is by design with ASP.NET you need to-do sommething like...

PasValue.Attributes("Value") = Session["pwd"].ToString();

Kindest Regards,

Ryan Healey

InstantASP Ltd - ASP.NET Collaboration & Support Tools
---------------------------------------------------------------
sa***@instantasp.co.uk
http://www.instantasp.co.uk
---------------------------------------------------------------

"Kuan" <te*****@hotmail.com> wrote in message
news:O5**************@TK2MSFTNGP09.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

Nov 18 '05 #2
Opps sorry that should be ...

PasValue.Attributes["Value"] = Session["pwd"].ToString();

for c# ;)
--
Kindest Regards,

Ryan Healey

InstantASP Ltd - ASP.NET Collaboration & Support Tools
---------------------------------------------------------------
sa***@instantasp.co.uk
http://www.instantasp.co.uk
---------------------------------------------------------------

"su*****@instantasp.co.uk" <se*****@instantasp.co.uk> wrote in message
news:eU**************@TK2MSFTNGP12.phx.gbl...
This is by design with ASP.NET you need to-do sommething like...

PasValue.Attributes("Value") = Session["pwd"].ToString();

Kindest Regards,

Ryan Healey

InstantASP Ltd - ASP.NET Collaboration & Support Tools
---------------------------------------------------------------
sa***@instantasp.co.uk
http://www.instantasp.co.uk
---------------------------------------------------------------

"Kuan" <te*****@hotmail.com> wrote in message
news:O5**************@TK2MSFTNGP09.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


Nov 18 '05 #3
Thank you!
It is working properly!

Best regards
Kuan

"su*****@instantasp.co.uk" <se*****@instantasp.co.uk> wrote in message
news:O5**************@TK2MSFTNGP09.phx.gbl...
Opps sorry that should be ...

PasValue.Attributes["Value"] = Session["pwd"].ToString();

for c# ;)
--
Kindest Regards,

Ryan Healey

InstantASP Ltd - ASP.NET Collaboration & Support Tools
---------------------------------------------------------------
sa***@instantasp.co.uk
http://www.instantasp.co.uk
---------------------------------------------------------------

"su*****@instantasp.co.uk" <se*****@instantasp.co.uk> wrote in message
news:eU**************@TK2MSFTNGP12.phx.gbl...
This is by design with ASP.NET you need to-do sommething like...

PasValue.Attributes("Value") = Session["pwd"].ToString();

Kindest Regards,

Ryan Healey

InstantASP Ltd - ASP.NET Collaboration & Support Tools
---------------------------------------------------------------
sa***@instantasp.co.uk
http://www.instantasp.co.uk
---------------------------------------------------------------

"Kuan" <te*****@hotmail.com> wrote in message
news:O5**************@TK2MSFTNGP09.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



Nov 18 '05 #4

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

Similar topics

2
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...
15
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...
4
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...
2
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...
4
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". ...
6
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...
6
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...
3
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. ...
6
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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
0
BarryA
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...
1
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...
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
marktang
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,...
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...
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,...
0
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...

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.