Passing info between pages.

  • Thread starter Thread starter Mufasa
  • Start date Start date
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.
 
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.
 
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
 
Back
Top