I've set my app to use state with this code:
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
But now I'm having a problem. How to destroy all states cookies??
My app needs to destroy the states when user clicks logout button.
I've tried this, but it doesn't work:
Ext.state.Manager.clear();
How to solve this?? Thank you very much.