Reputation: 1541
I wonder what technology lies behind the existence of Remote or local "SharedObject" in AS2/AS3 .
1) why the technology is not use by other scripting lang. like Javascript ?
2) Is it stored the same way as Cookies ( in browser's db on client side ) or sessions ( database on server side ) , or where the storage occurs exactly ?
V.
Upvotes: 0
Views: 145
Reputation: 21383
The other answers address your second question. In response to your first question about why it is not available in JavaScript, the short answer is that these days it can, thanks to HTML5 and the Web Storage spec.
As far as I understand, there is no big technological difference that gave Flash an advantage in having storage for so long while JavaScript is only recently gaining access. Instead, the difference is that Flash is managed by one company (Adobe) and can move at its own pace, implementing whatever features they want to. However, implementing a new feature natively in the browser means lots of discussion about how it will be implemented and standardized because there are many different browser vendors that need to support the feature.
Here is a good read on some of the history of Web Storage and its current state: http://diveintohtml5.info/storage.html
Upvotes: 2
Reputation: 17217
Details can be found here: http://helpx.adobe.com/flash-player/kb/disable-local-shared-objects-flash.html
Upvotes: 1
Reputation: 694
The technology that lies behind SharedObject is same as browser's cookies. They are saved in windows folder in Hard Drive C.
Upvotes: 0