views:

543

answers:

3

So to sketch out our situation

We have a html page(domain: hyves.nl) with an iframe

in that iframe we load a php file (domain : atik.nl)

in that php file we start a session and we embed our swf file (domain : atik.nl )

in our swf file we access a special page "calls.php" (domain: atik.nl) where we can get some special data. (that's why we needed to start a session in the first php file so that it can share some authorizing data)

but beside that in our swf we want to connect to our amfphp gateway.php file (domain: atik.nl)

but when i try to do that. Charles (web debugging proxy) tells me i have an 500 server internal error.

Is it because amfphp doesn't do well with a session that is already started on the same domain ?

because when i try to run my amfphp browser it works until i go to the dedicated page, my amfphp browser fails also until i restart my web browser.

anybody any ideas?

A: 

If you're getting a 500 error, it should be showing in your Apache log... I'd look there for some hints, first.

Narcissus
A: 

I'm not sure what's at fault but it seems you need to synchronize the two sessions from hyves.nl and atik.nl . I think for debugging purposes you need to pass something to link these together.

You need to look at the traffic being generated. You might look at the HTTP traffic with a tool like HttpFox. It will show you the traffic generated between your various pages and even show you the payloads, though encoded AMFPHP ends up looking like binary noise.

artlung
A: 

I faced this same problem. Just delete the .htaccess file in the AMFPHP folder.

DRJ