Click here to Skip to main content
15,886,806 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to redirect from a page to another. But I need some variables from the source page to be delivered to the target page in order to be used by it. How can I do that with asp code.
Posted
Updated 27-Dec-12 5:18am
v3

1 solution

You can use QueryStrings if the data is small and not sensitive.

For details of how to pass and use query strings, look here:
Passing variables between pages using QueryString[^]
Another link describing the same[^]
 
Share this answer
 
Comments
cs101000 24-Dec-12 3:12am    
Thanks. It was very helpful. And what about the sensitive information?
Sandeep Mewara 24-Dec-12 4:37am    
For sensitive information, there are other ways to transfer data like Session, Cache, etc. If you have any specific scneario, do post your query (new question in detail), people would be happy to share the ways to handle it.
cs101000 27-Dec-12 11:14am    
http://www.codeproject.com/Questions/516792/transferplusapluslistpluswhenplusredirectingplusto

Regards, cs101000
Thomas Daniels 27-Dec-12 12:17pm    
+5!

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