[LON-CAPA-cvs] cvs: loncom /auth lonacc.pm

www lon-capa-cvs@mail.lon-capa.org
Tue, 02 Apr 2002 21:33:06 -0000


www		Tue Apr  2 16:33:06 2002 EDT

  Modified files:              
    /loncom/auth	lonacc.pm 
  Log:
  Should register symb correctly when directly jumping to GET provided symb
  
  
Index: loncom/auth/lonacc.pm
diff -u loncom/auth/lonacc.pm:1.29 loncom/auth/lonacc.pm:1.30
--- loncom/auth/lonacc.pm:1.29	Tue Mar 26 11:05:01 2002
+++ loncom/auth/lonacc.pm	Tue Apr  2 16:33:06 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Cookie Based Access Handler
 #
-# $Id: lonacc.pm,v 1.29 2002/03/26 16:05:01 www Exp $
+# $Id: lonacc.pm,v 1.30 2002/04/02 21:33:06 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -179,6 +179,9 @@
                 }
                 if ($ENV{'form.symb'}) {
 		    $symb=$ENV{'form.symb'};
+                    my ($map,$mid,$murl)=split(/\_\_\_/,$symb);
+                    &Apache::lonnet::symblist($map,$murl => $mid,
+                                            'last_known' => $murl);
                 } else {
 	            $symb=&Apache::lonnet::symbread;
                 }