PDA

View Full Version : how to create a cookie in extjs4



abhisekhdawn
15 May 2012, 7:14 AM
i need to store a date range value, for example, last one month (startdate : 15-04-12 enddate: 15-05-12) in the cookie and whenever i will visit the page for the first time the data should populate depending upon the the daterange values. please help me .

sword-it
16 May 2012, 6:10 AM
Hi,
You can check this link (http://%20http://all-docs.info/extjs4/docs/source/Cookies.html#cls-Ext.util.Cookies)http://all-docs.info/extjs4/docs/source/Cookies.html#cls-Ext.util.Cookies
for create a cookie