I am working on a web app and want to test the app from a browser to see if all works well. I am passing a value to the app to make it search for a part number when opened. As suggested in a previous post, I am using the session Open event to receive and process the passed value. The problem I am facing is that the command I am using in the browser http://127.0.0.1:8080/?PartNumber=XXXX-XXXX to test the web app(where XXXX-XXXXX is a valid part number). The app is not launching in the IDE. Does this mean that I need a compiled CGI file to test the app with the browser? If so where should I place the CGI file?
You should be able to run from the IDE.
Putting the URL into a browser won’t launch the app, you have to run the app from the IDE first to launch the webserver then try putting your URL into a new browser Tab once the IDE is in Debug.
Hope that helps
Run the app in the IDE and open another browser with http://127.0.0.1:8080/?PartNumber=XXXX-XXXX
I was under the impression that the session/open event only fired once the test or compiled was initially run. Anyway, I just tested it and it works. Many thanks Pat and Michel
The test app is a standalone and as such contains its own webserver, which support many sessions. Each new browser gets its own session.