--- loncom/auth/lonacc.pm 2012/12/06 22:00:31 1.141 +++ loncom/auth/lonacc.pm 2013/01/30 16:23:47 1.142 @@ -1,7 +1,7 @@ # The LearningOnline Network # Cookie Based Access Handler # -# $Id: lonacc.pm,v 1.141 2012/12/06 22:00:31 raeburn Exp $ +# $Id: lonacc.pm,v 1.142 2013/01/30 16:23:47 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -396,9 +396,11 @@ sub handler { } my ($is_balancer,$otherserver); - + if ($handle eq '') { - $r->log_reason("Cookie $handle not valid", $r->filename); + unless (($requrl eq '/adm/switchserver') && (!$r->is_initial_req())) { + $r->log_reason("Cookie $handle not valid", $r->filename); + } } elsif ($handle ne '') { # ------------------------------------------------------ Initialize Environment