Click here to Skip to main content
16,021,294 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have to redirect to some other pages from my .aspx page based on some condition. I have some data from querystring .But while redirecting the page , i want to hide that data.

Can you please suggest me some solution?
Posted

Either you Encypt the data or use Sessions to store the data.

If you Encrypt, then you need to Decrypt that on the redirected page.
If you use Sessions, then directly access that in the redirected page like Session["KeyName"].
 
Share this answer
 
you can use Encrypt/Decrypt Technic pass data in url unreadable formats.
 
Share this answer
 

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