in reply to mod_perl - ghost values
mod_perl keeps old values around between page invocations because it runs everything in one (or more) Apache processes. You can easily see if the problem becomes more treatable by launching Apache in single process mode:
httpd -X
Then, you should find that all visitors share the same shopping cart instead of wildly changing carts.
The most likely problem is failing to initialize global variables when you begin processing a page.
I recommend to move to all-lexical variables.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: mod_perl - ghost values
by rpike (Scribe) on Aug 19, 2014 at 16:07 UTC | |
by Corion (Patriarch) on Aug 19, 2014 at 16:13 UTC |