Sending data from an outside webpage to the webplayer html page

Hi all

I have a registration page setup for my website and I am using it to store the user details in a database. Once it is done, my registration page (written in php) redirects me to the unity web player page.

I will need to access the details entered in the database at a later time in the unity script, but I am unable to understand how retrieve the details from the registration page.

I used a header to redirect my page from registration to the web player page and I appended the details I want to send over to the web page to the header URL.
I then tried using the “Application.getabsoluteURL()” from unity, but it is not picking up the extra string. It only shows the default URL.

Is there someway I can post data from the registration page to the web player page? (My apologies if my question sounds stupid, I’m still trying to learn Unity and Web Programming)

Don’t pass it in the URL, that is all kinds of bad. Why not just have the page that contains the web player also be generated by PHP and have it generate local variables in javascript to pass into the web player? Or have the registration set a session cookie and use javascript on a static web player page to access it and pass it into the web player? Either way, getting the variable to that second page relies on the second page doing something (client side or combined with server side). I would get it working with a simple test, register, get passed to a page, have javascript alert() me with passed information. Once you have that there, the guide to web player communication is here: http://docs.unity3d.com/Documentation/Manual/UnityWebPlayerandbrowsercommunication.html