[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm

www lon-capa-cvs-allow@mail.lon-capa.org
Thu, 11 Sep 2008 15:15:32 -0000


www		Thu Sep 11 11:15:32 2008 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.683 loncom/interface/loncommon.pm:1.684
--- loncom/interface/loncommon.pm:1.683	Thu Sep 11 10:47:21 2008
+++ loncom/interface/loncommon.pm	Thu Sep 11 11:15:29 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.683 2008/09/11 14:47:21 bisitz Exp $
+# $Id: loncommon.pm,v 1.684 2008/09/11 15:15:29 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -9344,7 +9344,7 @@
 	}
 # Give them a new cookie
 	my $id = ($args->{'robot'} ? 'robot'.$args->{'robot'}
-		                   : $now);
+		                   : $now.$$.int(rand(10000)));
 	$cookie="$username\_$id\_$domain\_$authhost";
     
 # Initialize roles