version 1.69, 2005/07/07 06:18:37
|
version 1.72, 2005/11/15 17:55:03
|
Line 40 use Apache::lonnet;
|
Line 40 use Apache::lonnet;
|
use Apache::lonmenu(); |
use Apache::lonmenu(); |
use Fcntl qw(:flock); |
use Fcntl qw(:flock); |
use Apache::lonlocal; |
use Apache::lonlocal; |
|
use POSIX qw(strftime); |
|
|
my %FORM; |
my %FORM; |
|
|
Line 152 sub success {
|
Line 153 sub success {
|
print $idf "browser.localpath=$FORM{'localpath'}\n"; |
print $idf "browser.localpath=$FORM{'localpath'}\n"; |
print $idf "browser.localres=$FORM{'localres'}\n"; |
print $idf "browser.localres=$FORM{'localres'}\n"; |
} |
} |
|
print $idf "server.domain=".$r->dir_config('lonDefDomain')."\n"; |
|
my $timezone=POSIX::strftime("%Z",localtime(time)); |
|
print $idf "server.timezone=$timezone\n"; |
print $idf "request.course.fn=\n"; |
print $idf "request.course.fn=\n"; |
print $idf "request.course.uri=\n"; |
print $idf "request.course.uri=\n"; |
print $idf "request.course.sec=\n"; |
print $idf "request.course.sec=\n"; |
Line 195 sub success {
|
Line 199 sub success {
|
|
|
# ------------------------------------------------------------ Get cookie ready |
# ------------------------------------------------------------ Get cookie ready |
|
|
if ($public) { return $cookie; } |
if ($public or $lowerurl eq 'noredirect') { return $cookie; } |
|
|
$cookie="lonID=$cookie; path=/"; |
$cookie="lonID=$cookie; path=/"; |
# -------------------------------------------------------- Menu script and info |
# -------------------------------------------------------- Menu script and info |
my $windowinfo=&Apache::lonmenu::open($clientos); |
my $windowinfo=&Apache::lonmenu::open($clientos); |