This problem also happens when I switch apache into single-threaded mode, if I use straight CGI, whatever. Running it off the command line, it appears that my module (Common.pm) gets loaded twice, but the program only runs once.
Going through my backups they all seem to do it, and yet I'm sure I would have noticed this problem a week ago. What could I have done to get this effect?
Server version: Apache/1.3.9 (Unix) Debian/GNU Server built: Apr 30 2000 12:54:24 perl5 (5.0 patchlevel 5 subversion 3)
Take note of the random numbers, which were generated with a print rand(1000)
==> /var/log/apache/error.log <== Config file loaded About to initialise variables for create_user.pl Started initialisation routine for Common,pm-------------- ################### This is a random number 326.732844579965 ################### CGI setup - new CGI=HASH(0x80d1fd0) created Got session ID: 786743dec247e75e60135ee4d159332f Tieing %userinfo to database... ==> /var/log/apache/error.log <== Config file loaded About to initialise variables for create_user.pl Started initialisation routine for Common,pm-------------- ######################### This is a random number 326.732844579965 ######################### CGI setup - new CGI=HASH(0x80d1fd0) created Got session ID: 786743dec247e75e60135ee4d159332f Tieing %userinfo to database... ==> /var/log/apache/error.log <==
____________________
Jeremy
I didn't believe in evil until I dated it.
In reply to Everything gets output twice by jepri
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |