Using SharedObjectsOctober 20th, 2009
Shared objects are basically cookies that get stored on a users machine by the browser. Here's a little code sample to demonstrate; in this case the SharedObject was used to remember the user's login name so that they wouldn't have to type it every time they logged in.
To create and set values in a SharedObject (note that we use the 'data' property of the SharedObject to store our info)...
To delete the SharedObject...
so.clear(); so.flush(); |
![]() RECENT ARTICLES
Stack Error 1023 - My Strange Encounter With Error 1023
Passing Values to a Custom ItemRenderer Using a File Reference to Upload to ASP.net Flex - Create a Dashboard That Allows Drag and Resize Strange Hack For Downloading With a FileReference Flex Checkbox TreeItemRenderer Flex - Dynamically Create Time Segments Flex - The Fastest Way to Transfer Data? MORE... |
