Stuart, Any advice on using $env ? I tried including it in my script as follows
$timestamp=time(); $Time=localtime(); $IP=$ENV{'REMOTE_ADDR'}; However it did not work. Timestamp and local time are displayed correctly $IP was not assigned any value. Thanks, GS -----Original Message----- From: LON-CAPA-users [mailto:lon-capa-users-boun...@mail.lon-capa.org] On Behalf Of Raeburn, Stuart Sent: Monday, August 19, 2019 17:49 To: Discussion list for LON-CAPA users <lon-capa-users@mail.lon-capa.org> Subject: Re: [LON-CAPA-users] IP address of student submission GS, Currently the IP address shown in LON-CAPA in grade details is the stored IP address of the remote client from which the submission was made. The IP address recorded in the submission transaction for each student is the value of: $ENV{'REMOTE_ADDR'}. Note: a situation where that IP address will be a LON-CAPA server's own IP address is when you are viewing grade details for transactions resulting from bubblesheet grading (of a printed exam), by a Course Coordinator. The IP address might also be different from a student's actual IP address if students at your institution use an institutional VPN, or a proxy for web access to your LON-CAPA instance. Stuart Raeburn LON-CAPA Academic Consortium ________________________________________ From: LON-CAPA-users <lon-capa-users-boun...@mail.lon-capa.org> on behalf of SIMIN, GRIGORY <si...@engr.sc.edu> Sent: Monday, August 19, 2019 5:13 PM To: Discussion list for LON-CAPA users Subject: [LON-CAPA-users] IP address of student submission All, Is there a way to check the IP address of a machine that student submitted the answer from? In the grade details I can see the host name and the IP address, which is not the user IP address but the IP address of the LON-CAPA server. Being able to track the student IP address would be very helpful to prevent cheating. Some students these days simply allow paid "ghosts" to login and solve the problems for them. Thank you all, GS _______________________________________________ LON-CAPA-users mailing list LON-CAPA-users@mail.lon-capa.org https://protect2.fireeye.com/url?k=40c30202-1c513955-40c34cc3-ac1f6b0e67e4-e219c5328f1cc789&q=1&u=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttp-3A__mail.lon-2Dcapa.org_mailman_listinfo_lon-2Dcapa-2Dusers%26d%3DDwICAg%26c%3DnE__W8dFE-shTxStwXtp0A%26r%3DVsGo3jOm8tGLd6f-KlhT-g%26m%3DVJwZXH9WVorK7sD-yOjgs2GjMUO8PDKpjiIBxDWm4ik%26s%3DjVp7Wx-hMDUq0A5zopNnKHLKN3Cd1f-7znIbW-ZrocM%26e%3D _______________________________________________ LON-CAPA-users mailing list LON-CAPA-users@mail.lon-capa.org https://protect2.fireeye.com/url?k=dcc76de5-805556b2-dcc72324-ac1f6b0e67e4-2958c9bd566926a9&q=1&u=http%3A%2F%2Fmail.lon-capa.org%2Fmailman%2Flistinfo%2Flon-capa-users _______________________________________________ LON-CAPA-users mailing list LON-CAPA-users@mail.lon-capa.org http://mail.lon-capa.org/mailman/listinfo/lon-capa-users