Newbie-best way to pass around data

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to pass around data between aspx pages. I understand Session
vars should be minimized and may not scale without extra work. I thnk my
options are:
- Server.transfer
-Response.redirect
-Session variable
-POST or Get with a form
-new postback to others page in v2
-Hidden field?
Can someone give me a link or an idea what the best way to pass around data
is and the tradeoffs?
 
Nothing wrong with using session or application variables as long as you do
your scaling and performance testing. There is no best way, only the way
that works best for your site. I like cross page postbacks, using hidden
fields and using session variables - but I design the use of each into my
applications.

Theres a good article here you should read:
http://www.odetocode.com/Articles/421.aspx

-
Regards

John Timney
Microsoft MVP
 
Thanks !

John Timney ( MVP ) said:
Nothing wrong with using session or application variables as long as you
do your scaling and performance testing. There is no best way, only the
way that works best for your site. I like cross page postbacks, using
hidden fields and using session variables - but I design the use of each
into my applications.

Theres a good article here you should read:
http://www.odetocode.com/Articles/421.aspx

-
Regards

John Timney
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

Back
Top