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.