WeBWorK Main Forum

Login question

Login question

by Raghu Gompa -
Number of replies: 2
Is there a way to login to course with a command?

For example,

http://webwork2.math.rochester.edu/webwork2/jsu-112?login=rgompa?password=PleaseHelpMeWithThisQuestion

Thanks. .. Raghu
In reply to Raghu Gompa

Re: Login question

by Michael Gage -
You can do this using the syntax below

http://hosted2.webwork.rochester.edu/webwork2/jsu-112/?user=rgompa&passwd=PleaseHelpMeWithThisQuestion

It has the obvious security risk of revealing your password so one should
use this cautiously and never allow the string to be available to the public.
It can be useful in constructing shortcuts that reside on a trusted, private machine.

A related string, which is safer, provides public access via the guest account to a math question in a set (in this case set: Orientation, question: 4) :

http://hosted2.webwork.rochester.edu/webwork2/gage_course/Orientation/4/?login_practice_user=true
In reply to Michael Gage

Re: Login question

by Raghu Gompa -
Thanks, Mike. It worked just fine with a minor correction(no / after jsu-112):

http://webwork2.math.rochester.edu/webwork2/jsu-112?user=rgompa&passwd=PleaseHelpMeWithThisQuestion