password in TextBox is not appeared in a new asp page

  • Thread starter Thread starter Kuan
  • Start date Start date
K

Kuan

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 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
 
Opps sorry that should be ...

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

for c# ;)


--
Kindest Regards,

Ryan Healey

InstantASP Ltd - ASP.NET Collaboration & Support Tools
---------------------------------------------------------------
(e-mail address removed)
http://www.instantasp.co.uk
---------------------------------------------------------------

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
---------------------------------------------------------------
(e-mail address removed)
http://www.instantasp.co.uk
---------------------------------------------------------------

Kuan said:
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

Opps sorry that should be ...

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

for c# ;)


--
Kindest Regards,

Ryan Healey

InstantASP Ltd - ASP.NET Collaboration & Support Tools
---------------------------------------------------------------
(e-mail address removed)
http://www.instantasp.co.uk
---------------------------------------------------------------

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
---------------------------------------------------------------
(e-mail address removed)
http://www.instantasp.co.uk
---------------------------------------------------------------

Kuan said:
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
 
Back
Top