Can a user disable sharedobjects in flex?

Can a user disable SharedObjects in flex, as is the case with cookies? And can a flex application always successfully store sharedobjects on a user computer without receiving a denial of access? i f in this case the flex application will just ignore the creation of sharedobjects instead of throwing an error?

+4
source share
1 answer

Yes, a user can disconnect on a specific website or even globally. If you try to clear SharedObject in a restricted environment, you will get an error:

Error: #2130: Unable to flush SharedObject 

However, you can request a response to the status of the flash, also see if the object was created:

 status = my_sharedobject.flush(); 

And look if this is SharedObjectFlushStatus.PENDING or SharedObjectFlushStatus.FLUSHED .

Edit

I found an answer that could help you more than I tried:

Flex: how to determine if a user has blocked a forbidden shared object .

+6
source

Source: https://habr.com/ru/post/1435074/


All Articles