Forum Discussion

DukeOfMarshall's avatar
11 years ago

Random Exiting Of App

So this is day two trying to figure out this seemingly weird issue. I'm developing a channel that requires access. However, after collecting the access code from the user, I try to query a simple PHP page that I created for testing, but for some reason the app exits immediately at the GetToString() command. Granted, I'm a newbie, but this just really seems weird. There's no error or anything that's given. It just goes back to the channel selection screen.

Anyone have any idea what's causing this?

Thanks.


console_log("Submitting access code for verification")

console_log("Access code is a "+type(access_code))

request = CreateObject("roUrlTransfer")

access_url = m.access_code_verification_url+"?access_code="+access_code

console_log(access_url)

request.SetUrl(access_url)

console_log("Access URL is a "+type(access_url))

html = request.GetToString()

console_log(html)

xml = CreateObject("roXMLElement")
xml.Parse(html)

console_log("XML Parsed")



-------Console Log-------

10. Submitting access code for verification
11. Access code is a String
12. http://www.MyDomain.com/channel_verification_test.php?access_code=1111
13. Access URL is a String

No RepliesBe the first to reply