Click here to Skip to main content
13,089,536 members (61,609 online)
Rate this:
Please Sign up or sign in to vote.
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 23-Dec-12 7:23am
Updated 27-Dec-12 5:18am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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[^]
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

Regards, cs101000
ProgramFOX 27-Dec-12 12:17pm

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.170813.1 | Last Updated 27 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100