HowTo's
DisplayQuestionOnWeb
(Restore this version)
Modified: 25 June 2007, 2:08 PM User: Michael Gage →
It is possible to make a link that will log you in automatically using the first free guest account by using an address of the form
http://yourserver/webwork2/yourcourse/?login_practice_user=true
You can have this link on a page that gives students the information that this course is available to them, for example. You could also make it a button rather than a link by using this URL as the target of a form:
<FORM METHOD="POST" ACTION="">https://math.webwork.rochester.edu/webwork2/maa101/?login_practice_user=true"> <INPUT TYPE="SUBMIT" NAME="submit" VALUE="Practice Calculus"> </FORM>
To reference a given set, say setOrientation, use:
https://math.webwork.rochester.edu/webwork2/maa101/Orientation/?login_practice_user=true
and for problem 3 of set applets use: https://math.webwork.rochester.edu/webwork2/maa101/applets/3?login_practice_user=true
If you set the permissions for the course correctly, then the answers will not be saved and so won't be displayed when the next person logs into the same practice account. I think you can also arrange it so that there is only a "check answers" button rather than "submit" and the "number of attempts" will always be 0 rather than showing how many times other people tried the problem. Making sure that the guest accounts have permission level -5 (the standard guest permission level) is the first step in that.