--- loncom/auth/lonauth.pm 2003/03/02 02:16:53 1.43 +++ loncom/auth/lonauth.pm 2003/03/02 03:58:55 1.44 @@ -1,7 +1,7 @@ # The LearningOnline Network # User Authentication Module # -# $Id: lonauth.pm,v 1.43 2003/03/02 02:16:53 www Exp $ +# $Id: lonauth.pm,v 1.44 2003/03/02 03:58:55 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -287,8 +287,12 @@ sub handler { if (($tmpinfo=~/^error/) || ($tmpinfo eq 'con_lost')) { failed($r,'Information needed to verify your login information is missing, inaccessible or expired.'); return OK; + } else { + unless (&Apache::lonnet::reply('tmpdel:'.$FORM{'logtoken'}, + $FORM{'serverid'}) eq 'ok') { + &failed($r,'Session could not be opened.'); + } } - my ($key,$firsturl)=split(/&/,$tmpinfo); my $keybin=pack("H16",$key);