How to delay ExtJS store load event in Ext.Ajax BeforeRequest

xxestter Source

How can I delay the loading of the extjs stores or suspend & resume later?

I have ExtJS stores that are set with autoLoad = true and it will be called when the application launch. These stores are configured to point to a servlet which will check for a user session. It will throw exception if there is no user session. How can I delay the stores from going to the servlet side before user login?

Really appreciate your help.



comments powered by Disqus