Question Writer Logo
Home Question Writer Forum
A support forum for Question Writer.


Save results to a database table using ASP

I am currently having problems using ASP to gather the results and enter them into a databse table. I understand that there is a PHP example but i'm afraid I am no good with ASP. Does anyone have any ASP examples please?

Thanks :)

Nicky
June 30, 2009 06:42AM


It meant to say "I am no good with PHP" :)

Nicky
June 30, 2009 06:43AM


Hi Nicky,

I don't have any ASP code samples, but here's some information that should help to get you started.

The quizzes use Flash's xml.sendandload() method to send the results as an XML document to the server.

There's a bit of discussion online regarding the best way to receive this XML in ASP. I found the following code suggestion through Google, but there are lots of others.

[forums.asp.net]

Flash expects to get back a trivial XML document . . . something like <OK/> works well. If you find the XML has becomed corrupted in transit or you want the Flash to send the XML again, send it back a 500 server error and it will attempt to resend the XML.

When testing, set the main server and the backup server both to the same URL, this will ensure that the quiz sends its results only to the script that you're developing.

Alexander McCabe
July 1, 2009 06:49AM




Your Name:  (Required - Can be a nickname)
Your Email:  (Optional - Won't appear online)
Subject: (Required)
Anti-Spam: Complete this phrase.
"One small step for man; one giant leap for

"