Passing info between pages.

M

Mufasa

Are the only two real options for passing info between pages using
QueryString and Session Variables?

Am I missing any other viable way?

TIA - Jeff.
 
R

RB

Mufasa said:
Are the only two real options for passing info between pages using
QueryString and Session Variables?

Am I missing any other viable way?

TIA - Jeff.

You can also use the Session object and the Application object. These
are a little bit like global variables.

Cheers,

RB.
 
K

Kevin Spencer

There are quite a few ways actually. You can store data in a database or
other server-side storage, or in Cookies on the client. You can do a
Server.Transfer on the server to pass execution from one Page instance to
another, and the first Page instance will be in the HttpContext. You can use
Application Cache. You can do a POST request from a form in one Page to
another. I'm sure I've overlooked some other possibilities. The trick is to
know what is the best methodology to use for a given set of requirements.

--
HTH,

Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top