--- rat/lonpageflip.pm 2003/03/08 01:39:29 1.37 +++ rat/lonpageflip.pm 2003/04/12 16:03:16 1.38 @@ -2,7 +2,7 @@ # # Page flip handler # -# $Id: lonpageflip.pm,v 1.37 2003/03/08 01:39:29 www Exp $ +# $Id: lonpageflip.pm,v 1.38 2003/04/12 16:03:16 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -311,6 +311,12 @@ sub handler { # ============================================== Do not return before this line if ($redirecturl) { # ----------------------------------------------------- There is a URL to go to + if ($direction eq 'forward') { + &Apache::lonnet::linklog($currenturl,$redirecturl); + } + if ($direction eq 'back') { + &Apache::lonnet::linklog($redirecturl,$currenturl); + } # ------------------------------------------------- Check for critical messages if ((time-$ENV{'user.criticalcheck.time'})>300) { my @what=&Apache::lonnet::dump