I'm rather new to Construct2 but have managed to create a game and now want to add in some AJAX for updating things like scores etc.
Basic AJAX stuff is working just fine in that I can make an AJAX request to one of my PHP pages and get the results. (Which I dump into a text box in the game just for debugging/viewing purposes)
The trouble comes when I try to use PHP sessions related to that AJAX request. As a simple test I just have my PHP script echoing back a brief bit of text followed by the PHP session ID. When I just have text echoing back (eg. "Hello") it works fine. When I add the session ID it isn't displayed in my game. (No text displays at all) To make sure everything in my backend code is working I wrote a simple AJAX request using JQuery in the same page as I load my game making the same AJAX request and I get the text plus the session ID back as expected.
So my question is - what is going wrong that I can't get the same info displayed in Construct2 as I can using jQuery AJAX calls on the same page as my game?