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
 
Back
Top