first round of changes for the new session system

This commit is contained in:
JT Smith 2005-12-31 21:54:06 +00:00
parent da95226072
commit d4b7f2ce59
128 changed files with 2442 additions and 1478 deletions

View file

@ -15,7 +15,6 @@ package WebGUI::Asset;
=cut
use strict;
use WebGUI::Session;
use File::Path;
=head1 NAME
@ -107,7 +106,7 @@ sub exportAsHtml {
my %oldSession = %session;
# Change the stuff we need to change to do the export
WebGUI::Session::refreshUserInfo($userId) unless ($userId == $session{user}{userId});
$session->user({userId=>$userId}) unless ($userId == $session{user}{userId});
delete $session{form};
$session{var}{adminOn} = $self->get('adminOn');
$self->WebGUI::Session::refreshPageInfo;