all groups > macromedia flash flash remoting > october 2004 >
You're in the

macromedia flash flash remoting

group:

IP address of client



IP address of client mbulat
10/18/2004 9:31:05 PM
macromedia flash flash remoting: Does anyone know if it's possible to get the users remote ip address via flash
remoting. I came across an example of this using the AMFPHP project
(http://www.flash-db.com/remoting/?serviceID=12&category=Location/Geography)
but can't find anything about doing this with flashremoting for .net. Seems
like this should be some pretty basic functionality that macromedia left out.
Re: IP address of client tek333
10/19/2004 4:46:07 AM
This is nothing to do with what is included in AMFPHP or left out of Macromedia
Flash Remoting. Its just server side code that is detecting the CGI variable
REMOTE_ADDR, assigning it to a variable and then passing it back to the flash
movie that was just downloaded by the visitor.

In the example given at flash-db.com, it was done with server-side PHP code.
In Cold Fusion, its done in the CFM or CFC code.

.NET has has the same capability.
Re: IP address of client mbulat
10/19/2004 7:05:00 PM
Using Macromedia's Flash Remoting, however, all web service requests get parsed
through the Remoting gateway, so the REMOTE_ADDR alway's returns the IP that
the gateway resides on, instead of the ip address which is running the flash
file. The only resolution I can see is if the gatway has some undocumented
features to get around this, or has some manner of passing through the http
headers which doesn't seem likely.

Also, I've come across FlashORB which seems to be a much more extensive
solution, but I'm not sure if i can accomplish the ip capture with that
application either.
AddThis Social Bookmark Button