View Full Version : cookies in adobe air
Hi,
i wil use the
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
to save the state of a grid.
But it does not work.
Have anyone test the CookieProvider in adobe air?
ok i found the solution.
cookies only working in the remote sandbox mode
[code]
Adobe AIR has full support for setting and getting cookies from
HTML-based content in remote sandboxes (content loaded
from http:// and https:// sources) that is bound to a specific
domain. Content loaded from the installed directory of the application
(referenced via app:/ scheme) cannot use cookies (the
document.cookie
property).
[SIZE=1][FONT=Birka][LEFT][FONT=Birka][SIZE=2]Cookie support is implemented via the operating system
devnull
10 Oct 2008, 8:33 AM
There is really very little reason to use cookies in Air, being as it has access to the local filesystem and a local sqllite database. Ext.air.FileProvider is a drop in replacement for CookieProvider in this case that works just as well.
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.