|

June 17th, 2010, 09:10 AM
|
|
Registered User
|
|
Join Date: Jun 2010
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Passing data from one aspx page to another
On a stateless protocol such as HTTP, and ASP.NET on the server side, how do you manage state on the Web?
Actually to pass data from one page to other page in ASP.NET, you can use several techniques.
You imagine something like this: http://... /page.aspx?state=some
So basically it's about state mangement. And please remember there is no right answer.
There are some server side options : Application state, Cache object, Session state, Database.
Some client side options : Cookie, Hiddden field, ViewState, ControlState, QueryString (URL).
There is a great debate, which one is best?
So before getting some codes, please go through any session state chapter of any good ASP.NET book.
Here is a nice book from Wrox : Professional ASP.NET 3.5 SP1 Edition In C# and VB
Bill Evjen, Scott Hanselman, Devin Rader
Last edited by sanjibsinha; June 17th, 2010 at 11:45 AM..
|