Thursday, September 20, 2018

Client Side State Management VS Server Side State Management

LEARN 3 : ABOUT IT [ASP.NET]


LESSON 8 : CLIENT SLIDE STATE MANAGEMENT VS SERVER SIDE STATE MANAGEMENT



Client Side State Management:

When we use client side state management:
  • The state related information will be stored on client side.
  • This information will travel back and forth with every request and response.
  • Techniques to manage the state on client and server:
    • View State
    • Query String
    • Hidden Fields
    • Cookies


Advantage:
  • Relieve the server from the burden of keeping the state related information


Disadvantage:
  • Makes the information travel back and forth
    • Information can be intercepted by anyone in between
    • Sensitive information (credit card number, password)?




Server Side State Management:

When we use server side state management:
  • The state related information will be stored on server memory.
  • Techniques to manage the state on client and server:
    • Application State
    • Session State


Advantage:
  • Sensitive information is secure


Disadvantage:
  • More memory usage on server



Source : My previous study

No comments:

Post a Comment