Andrey A. Kudrin wrote:
Hello Perrin,

Friday, November 07, 2003, 12:23:59 AM, you wrote:

PH> There is nothing in your sample code here that would cause one sub to be
PH> called in place of another.  How do you know that the other print_login
PH> is being called?

Because I see the result page. All print_login prints different pages.

Can you come up with two simple test scripts that you can reproduce the problem with? We fail to guess a possible reason for this behavior. We need to be able to reproduce the problem to analyze it.


PH> Is it because of CGI parameters that get printed?  You
PH> might be having a problem with accidentally caching your CGI object
PH> somewhere.

but why it's cached under PerlRun?

PerlRun doesn't cache scripts it compiles at all. Registry does.


PH> Can you show us the print_login subs?

there is nothing extraordinary, just few prints and nothing else.

see above.


> But how can I emulate on-line activity? This error occurs only
> on-line.

You don't need to emulate it. Just run it online. You can use Apache::Test to setup a test if you really want to. But if you give us 2 scripts and the instructions how to reproduce the problem we will do that. (e.g., request script 1 once and then script 2, and then ...).

Also try to reproduce the problem while running under 'httpd -X'.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html



Reply via email to