Local SharedObject Howto

This page describes how to setup the Flex example application for local SharedObjects a.k.a. Flash cookies.
This example loads all your local Shared Object files and displays their contents.

Download

Grab the example from SVN with:

svn co http://svn.pyamf.org/examples/trunk/shared-object
cd shared-object/python

Alternatively, if you just want to have a look, you can browse the example source online.

Server

The WSGI webserver for the Flash/AMF client starts on http://localhost:8000 when you run:

python server.py

You should see something like:

Running AMF gateway on http://localhost:8000

Clients

Python

Use the Python AMF client to print out a list of files in the console:

python client.py

Flex

You can simply open the SWF or HTML file and it will connect to http://localhost:8000.

Attachments