Click here to Skip to main content
15,996,848 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
hi,

am dwveloping web application,when i redirect from one web page to another webpage
query string is displyed with all the parameters.

Eg:
C#
Response.Redirect("~/User.aspx?UserName=" + txtuser.Text.Replace("&", "%26") +
                       "&Password=" + txtpwd.Text.Replace("&", "%26"));


in the querystring it's displying username and password.

but password don't apper on query string in browser


How to solve it.
Posted
Comments
"in the querystring it's displying username and password."

"but password don't apper on query string in browser"

These two lines are conflicting and confusing. Please explain.
Richard MacCutchan 28-Jan-14 4:43am    
There are lots of articles and suggestions around for using login credentials on web pages. Google will find them for you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900