Snippy Yifu Posted August 10, 2011 Share Posted August 10, 2011 Hi everyone.I tried to use the method described here: http://wiki.secondlife.com/wiki/LSL-Shared_Media_CommunicationThe goal is to have a webpage pulling information from an object inside SL without having to reload the page (AJAX style :P). Because of AJAX cross-domain restriction, as explained in the wiki page I linked above, one work around is to use PHP to proxy the http-request.The problem I'm having is ... it doesn't work.The HTTP_REQUEST event in the SL object is never triggered if the request is made through that php proxy. It looks to me as if the cap server is just ignoring the request.The php code works fine tho for any other non-sl urls, and my sl-urls works fine when accessed normaly (not through the php proxy), it's just when you put the two together that it doesn't work. Any idea/input on the subject would help greatly, thanks. Link to comment Share on other sites More sharing options...
Void Singer Posted August 10, 2011 Share Posted August 10, 2011 you can actually get more simple... dynamically write a script element with a src targeting the lsl object page... format the page being sent from lsl as a ECMA variable, then read the variable when the script element loads, and then destry the script element after you've used it.. Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now