in reply to mod_perl variable persistence across request and/or session
If help i can post the code.
Yes, you should post the code, it would help.
There maybe several reasons why this happens, but the main is that apache normally starts several worker processes. When you send request to apache it is handled by one of workers, and any variable changed by this worker will be changed only for this worker, it doesn't affect other processes. If you want to maintain variable common for all processes you should keep it in shared memory or in database