I'm working on a Flash website and would like to delete all localSharedObjects (aka Flash cookies) that got created from that SWF domain space. (basically it's the user session) I found mySharedObject.clear();
, but that function only deletes one localSharedObject and not all of the assigned domain. How to delete them all?
You got to read all sharedObjects and then delete them.
sharedObject1 = SharedObject.getLocal("mySharedObject1");
sharedObject2 = SharedObject.getLocal("mySharedObject2");
...
sharedObject1.clear();
sharedObject2.clear();
...
I don't think that it is possible in any other way in flash.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.