Passing parameters via Viewstate[] or Session[] instead of Request.QueryString

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Emre
    New Member
    • Jul 2008
    • 1

    Passing parameters via Viewstate[] or Session[] instead of Request.QueryString

    Can I use Viewstate for passing parameters through .aspx pages?
    Or any other indexable object like Session[] or Session.Content s[] .. What's the difference of those would be when parameters are concerned? Thx in advance
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    The Session object I think would be the prefered method for passing data between pages.
    Although, I *think* ViewState is usefull for maintaining like "everything " that's on a form page and having their contents available in another page?

    Comment

    • nmsreddi
      Contributor
      • Jul 2006
      • 366

      #3
      Hello

      Both of these are related to StateManagement in asp.net ,you can get a lot from googling "StateManagement" in asp.net

      Comment

      Working...