![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^3: Embperl/Apache::Session and forkingby perrin (Chancellor) |
on Jul 21, 2004 at 21:29 UTC ( #376388=note: print w/replies, xml ) | Need Help?? |
There are various things you could do. You could copy the session data into a hash and close the session before forking. You could mark the session as unchanged so it doesn't save. You'd probably need to release locks if you are using locking. You could also just close the session before you fork and re-open it afterward, but I'd suggest turning off the session locking if you do that.
In Section
Seekers of Perl Wisdom
|
|