Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl
Question about Modperl::Util::exit
 

Index | Next | Previous | View Flat


johnson at pharmacy

Nov 20, 2008, 1:50 PM


Views: 414
Permalink
Question about Modperl::Util::exit

We just moved some cgi scripts over from an ancient system to our new
server running modperl.

We have require files (that themselves have require files) that check
cookies and login status for these scripts.

If someone is not logged in, this triggers an exit our of one of the
require files to the login page, the original calling script is sent
to the login as a parameter, along with any parameters IT had.

Since we migrated to the new system we've been seeing error messages
like this:

"[Mon Oct 13 00:39:56 2008] [error] ModPerl::Util::exit: (120000) exit
was called at header-apply-locked line 41. Compilation failed in
require at header-apply-combined line 17. Compilation failed in
require at /home/oraweb/perl/apply/applymyapplication.pl line 9."

This happens when the exit is triggered in the nested require file.
which is code like this:

# Check to see if the person was logged in, and if not go to login
page and
# pass the url and parameters
if (!defined($UUAff) || !defined($UUPID)) {
$url = "$path/login.pl?prev_url=$prev_url$llist";
print "Location: $url\n\n";
exit;
}
1;


What is this error, is it a problem, and what do I do to avoid it.

Thanks

--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs

Subject User Time
Question about Modperl::Util::exit johnson at pharmacy Nov 20, 2008, 1:50 PM
    Re: Question about Modperl::Util::exit aw at ice-sa Nov 21, 2008, 3:08 AM
    Re: Question about Modperl::Util::exit perrin at elem Nov 24, 2008, 11:30 AM
    Re: Question about Modperl::Util::exit aw at ice-sa Nov 24, 2008, 11:52 AM
        Re: Question about Modperl::Util::exit perrin at elem Nov 24, 2008, 1:12 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.