Click here to Skip to main content
15,562,816 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hai...
i have some problem
i want pass value from page one to page two using querystring..
but i want to hidden or encrypt value in address bar on web browser
what should i do?
Posted

1 solution

You can encrypt the string with the built-in .NET encryption tools. You'll need to use Server.HtmlEncode/Server.HtmlDecode on the string to ensure that the encrypted string is HTTP compliant.

Here[^] is an article on encryption in .NET.

Or else you can refer Encrypting the Information Passed through the QueryString[^]
 
Share this answer
 
Comments
kartikadh 27-Apr-12 21:42pm    
thank you ...
it's works... :)
Joezer BH 11-Aug-13 4:37am    
5ed!
Prasad_Kulkarni 28-Apr-12 0:03am    
Glad it helps!
Formally 'Accept Solution' if its really helpful.

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