PDA

View Full Version : Defualt Cookies in ExtJS



lsreedhar
8 Nov 2012, 12:59 AM
Wanted to understand if by default cookies are used in extjs framework for session handling. If so what kind of cookies (Session, Persistant) are used and what information cookies will be storing.

Is this possible in ExtJS, to disbale the usage of the cookie and enable any other way of handling the session probably using the session object

Advance thanks for your help
Sreedhar

kevin.chen
8 Nov 2012, 2:51 PM
ExtJs provide a CookiProvider, if you enable it, it can save component state and restore it back. ExtJs also provide some utility method to access cookie, you have to manage cookie by yourself

lsreedhar
8 Nov 2012, 11:57 PM
ExtJs provide a CookiProvider, if you enable it, it can save component state and restore it back. ExtJs also provide some utility method to access cookie, you have to manage cookie by yourself

Hi Kevin, Thanks for your response.

If we do not enable the option of enabling the cookies, then which kind of session handling EXTJS uses internally.

In case if we enable the Cookies, what kind of information does the EXJS stores by default and i hope the cookies would be session cookies and not persistent or Transaction cookies

Advance thanks for your reply
Sreedhar

kevin.chen
9 Nov 2012, 2:23 PM
the session cookie is created in the backend, if you enable cookie in browser, it will store in browser and send out when you access the same server.

mama
3 Mar 2013, 9:29 AM
Hi
What if i disable cookies from browser?
willl extjs cookies work in that case?:-?