Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: mod_perl variable persistence across request and/or session

by zwon (Monsignor)
on Oct 01, 2011 at 16:41 UTC ( #929047=note: print w/ replies, xml ) Need Help??


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


Comment on Re: mod_perl variable persistence across request and/or session

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://929047]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (15)
As of 2014-04-21 16:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (496 votes), past polls