You can create a cookie in php or a shared object in flash with the browser url and when you are in flash you can call the cookie information.