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

www lon-capa-cvs@mail.lon-capa.org
Sat, 23 Mar 2002 21:06:54 -0000


www		Sat Mar 23 16:06:54 2002 EDT

  Modified files:              
    /loncom/auth	lonlogin.pm 
  Log:
  See if this simple solution works.
  
  
Index: loncom/auth/lonlogin.pm
diff -u loncom/auth/lonlogin.pm:1.14 loncom/auth/lonlogin.pm:1.15
--- loncom/auth/lonlogin.pm:1.14	Wed Mar 13 14:32:55 2002
+++ loncom/auth/lonlogin.pm	Sat Mar 23 16:06:54 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Login Screen
 #
-# $Id: lonlogin.pm,v 1.14 2002/03/13 19:32:55 albertel Exp $
+# $Id: lonlogin.pm,v 1.15 2002/03/23 21:06:54 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -86,7 +86,11 @@
     }
 
     my $lextkey=hex($lkey);
+    if ($lextkey>2147483647) { $lextkey-=4294967296; }
+
     my $uextkey=hex($ukey);
+    if ($uextkey>2147483647) { $uextkey-=4294967296; }
+
     my $logtoken=Apache::lonnet::reply(
        'tmpput:'.$ukey.$lkey.'&'.$firsturl,
        $lonhost);