is it a good idea to use Cookies to store state or other information on the Client side

  • Thread starter Thread starter Tony Johansson
  • Start date Start date
T

Tony Johansson

Hello!

I just want your opinion about using cookies to store State or some other
information on the client side.

//Tony
 
I just want your opinion about using cookies to store State or some other
information on the client side.

Storing information client side increases the size
of requests and responses. Usually the impact is insignificant
compared to the rest of the traffic. But it still requires
a justification to do it.

non persisted cookie - I can not see much use for (a cluster
without session replication is a problematic config)

persisted cookie - provides long term state and can be
used for various preferences for sites where users does
not login

viewstate - provides page scope instead of session scope

Arne
 
Back
Top