[LON-CAPA-cvs] cvs: loncom /auth switchserver.pm
albertel
lon-capa-cvs-allow@mail.lon-capa.org
Sat, 25 Aug 2007 01:24:08 -0000
albertel Fri Aug 24 21:24:08 2007 EDT
Modified files:
/loncom/auth switchserver.pm
Log:
- remove changes that affected the monitoring script
Index: loncom/auth/switchserver.pm
diff -u loncom/auth/switchserver.pm:1.14 loncom/auth/switchserver.pm:1.15
--- loncom/auth/switchserver.pm:1.14 Fri Aug 24 20:52:47 2007
+++ loncom/auth/switchserver.pm Fri Aug 24 21:24:05 2007
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Switch Servers Handler
#
-# $Id: switchserver.pm,v 1.14 2007/08/25 00:52:47 albertel Exp $
+# $Id: switchserver.pm,v 1.15 2007/08/25 01:24:05 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -62,7 +62,7 @@
sub do_redirect {
my ($r,$url,$only_body,$extra_text) = @_;
$r->send_http_header;
- my $switch='<meta HTTP-EQUIV="Refresh" CONTENT="0; url='.$url.'">';
+ my $switch='<meta HTTP-EQUIV="Refresh" CONTENT="0.5; url='.$url.'">';
my $start_page =
&Apache::loncommon::start_page('Switching Server ...', $switch,
{'no_inline_link' => 1,
@@ -138,8 +138,8 @@
my $token = &Apache::lonnet::tmpput(\%info,$env{'form.otherserver'});
my $url ='http://'.$switch_to.'/adm/login?'.
'domain='.$env{'user.domain'}.
- '&username='.$env{'user.name'}.
- '&token='.$token;
+ '&username='.$env{'user.name'}.
+ '&token='.$token;
# --------------------------------------------------------------- Screen Output
&Apache::lonnet::flushcourselogs();
return &do_redirect($r,$url,0,$windowinfo);