Are there more code in /www/htdocs/security/check_user.epl after the block which contains exit? As you see, there are no more code executed after the exit and the page returns. Thats just as it should.
From the docs:
exit exit will override the normal Perl exit in every Embperl document. Calling exit will immediately stop any further processing of that file and send the already-done work to the output/browser.
NOTE 1: If you are inside of an Execute, Embperl will only exit this Execute, but the file which called the file containing the exit with Execute will continue.
Gerald
P.S. Inside a Embperl page, you don't need to call Apache::exit. Just call exit, Embperl cares for the rest.
RE: Apache::Exit comes back "undefined"
[ In reply to ]