Local state management vs Server session management
Local state management vs Server session management
I'm still feeling confuse of session state management in javascript application.
As I'm moved from the traditional server side programming to the Ajax world, in my point of view, the data carried between the pageload can now be handled in the client side by saving it in the memory, so...can I say that the server side session could be replaced by this way of implementation?
I know there may have some security issues on it, but I think it could be handled by the server side.
A word of warning with client side state management. We turned on the standard Ext cookie state manager on a panel we have that contains 7 tabs with each tab containing a grid and the cookie was over 14K in size and blew the header limits on the web server. Ouch!
We now run with our own http state provider, based on the Ext one, for that reason alone.