Search the Community
Showing results for tags 'store data locally cookies'.
-
Hi, Lately I've read in the forum that there are some small problems with cookies. There is an alternative to Unigui cookies? I think so! : JStorage.js - store data locally with JavaScript. Definitely not elegant as the Unigui solution,but it works. I have already used Jstorage.js in Unigui test applications; seems to work fine with all browsers. Please read carefully the documentation on the site http://www.jstorage.info ,if you want to use it. So I decided to write a new "component" Unigui TBroStorage (certainly not very standart. The Unigui documentation not help much in this). The idea was to build a non-visual component, but i not find an appropriate Ext-class, so I improvised. I want to share it with the forum in the hope that some more experienced Member can improve it. Other Plugins used: lz-String.js: JavaScript compression, fast! http:\\pieroxy.net/blog/pages/lz-string/index.html Tested only with Delphi XE3 and Unigui 0.96.0.1065 I think it work with the Unigui release 0.95.0.xx I do not think there are problems with other releases of Delphi, just have to change the package : UniGUIxx.dcp, xx = Delphi release. Installation : install Brostorage.dpk (Only for Delphi XE3) Add new Path in Delphi>Tools>Delphi Options>Library Campile and Run demo TestBrojs.dpr BroStorage.zip TestBroStorage.zip Have fun! sincerely