Skip to content

VIEWSTATE,QUERYSTING,COOKIE

KRayudu V

Asked May 19, 2013, 4:52 AM EDTSolved
Share
LinkedInX
Hi,
 what is the difference between cookie and  a querystring?
  what is thedifference between viewstate and cookie?

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • Sandeep Singh Shekhawat
    ✓ Accepted answer0
    All these three clients side state management technics to store value on client side. Here brief description 
    1.  View state has data on same web page, Query string transfer data one page to another page and cookie can provide data on multiple web page. 
    2. View State saved in hidden filed, query string attach with URL and cookie saves on client machine.
    3. View state life is on same page, Query string life on another redirect page and cookie can be persists 

    0
  • 1 short reply
    • 0
      thx u
      0