• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Workshop

The Workshop area is meant to reinforce your reading with a series of questions and exercises.

Q&A

Q1:The quiz's security…how secure is it?
A1: It's secure to the point of handling the questions correctly, but it has the problem of allowing users to potentially fake their identity by changing the username within the form. If you're security minded, you should replace the hidden field submitted with this value so that it is handled entirely by the MM_username session variable.
Q2:Why didn't we use a Go To Next Record server behavior to page through the quiz questions?
A2: It's possible to munge the Go To Next Record server behavior to move through the question set. Unfortunately, it requires extensive “tweaks” to the code. It is much easier to maintain our own index value and pass it from page to page.
Q3:What happens if the users answer a question that they have already answered?
A3: The system fails because only a single record can exist for a user. Take a look at the exercise section for a tip on how to fix this problem.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint