.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

how to encrypt and decrypt a querystring in asp.net?

Posted By: Nabin     Posted Date: August 24, 2009    Points:2   Category :ASP.Net
what is the method or how can the query string be encrypted while passing from one page to another in asp.net2.0+C#. as well as the decryption method while getting it.
Please explain it with some example and also give the sample code for it

Responses
Author: Syed Shakeer Hussain             
Posted Date: August 24, 2009     Points: 5   

Hi Nabin,
Check the Following link,you will get idea
http://www.tutorialsasp.net/tutorials/how-to-encrypt-a-query-string/

Author: Praveen             
Posted Date: August 24, 2009     Points: 5   

Hello,
You can try Server.UrlEncode() and Srever.UrlDecode method() to encode and decode querystring...

Author: Nabin             
Posted Date: August 25, 2009     Points: 5   

Hello Praveen thanks for reply, but can u give me an example on it

Author: Nabin             
Posted Date: August 27, 2009     Points: 5   

Hello Praveen

Server.UrlEncode() and Srever.UrlDecode() dont encrypt or decrypt the string.


Thanks
Nabin



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend