有没有办法保留flash cookie
我使用的应用程序使用 flash cookie 来存储一些重要信息。此信息至关重要,不应删除。但我观察到 flash cookie 或共享本地对象在以下情况下被删除。
- 当本地历史记录(包括cookie)被浏览器删除时。
- 当系统中的闪存升级时。
这对我的申请产生了不利影响。请告诉我,是否有一种方法可以通过在其上放置某种锁来强制保留“共享本地对象”。如果可以通过编程来完成,那就更好了。
问候, 随时随地
I use an application which uses flash cookie to store some important information. This information is critical and should not be deleted. But I have observed that the flash cookie or the shared local object is getting deleted under the following situations.
- When the local history(including cookies) are deleted by the browser.
- When flash is upgraded in the system.
This is adversely affecting my application. Please let me know, if there is a way to forcefully retain the 'shared local object' by placing some kind of lock on it. It will be better if this can done programmatically.
Regards,
OnTheGo
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
没有办法做到这一点(而且可能不应该这样做)。如果当用户删除浏览器历史记录时需要保留信息,您可能需要将其存储在服务器端,或者以其他方式为用户提供某种在数据被删除时重新建立数据的方法。
There's no way of doing this (and probably shouldn't be). If the information needs to be retained when users delete their browser history, you'll probably need to store it on the server side, or otherwise give the user some way of reestablishing the data if it gets removed.