version 1.8, 2006/09/19 15:18:54
|
version 1.10, 2006/11/23 01:49:41
|
Line 61 sub handler {
|
Line 61 sub handler {
|
my $lonid=$cookies{'lonID'}; |
my $lonid=$cookies{'lonID'}; |
my $handle; |
my $handle; |
if ($lonid) { |
if ($lonid) { |
my $handle = $lonid->value; |
$handle=&LONCAPA::clean_handle($lonid->value); |
$handle=~s/\W//g; |
|
$handle = $r->dir_config('lonIDsDir')."/$handle.id"; |
$handle = $r->dir_config('lonIDsDir')."/$handle.id"; |
} else { |
} else { |
$handle = $env{'user.environment'}; |
$handle = $env{'user.environment'}; |