Apache::lonacc - Cookie Based Access Handler
Invoked (for various locations) by /etc/httpd/conf/srm.conf:
PerlAccessHandler Apache::lonacc
This module enables cookie based authentication and is used to control access for many different LON-CAPA URIs.
Whenever the client sends the cookie back to the server, this cookie is handled by either lonacc.pm or loncacc.pm (see srm.conf for what is invoked when). If the cookie is missing or invalid, the user is re-challenged for login information.
This is part of the LearningOnline Network with CAPA project described at http://www.lon-capa.org.
This routine is called by Apache and mod_perl.
transfer profile into environment
load POST parameters
check access
if allowed, get symb, log, generate course statistics if applicable
otherwise return error
see if public resource
store attempted access