Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^4: Embperl/Apache::Session and forking

by devnul (Monk)
on Jul 21, 2004 at 22:59 UTC ( #376405=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Embperl/Apache::Session and forking
in thread Embperl/Apache::Session and forking

I can't really close the session because there are things in the child which might need to get access to variables stored within it...

Do you have any specific things I can do in the child to declare the session is not stale (even if it is) so that it won't try to save it?... I've tried several things but can't get any of them to work...

- Greg


Comment on Re^4: Embperl/Apache::Session and forking
Re^5: Embperl/Apache::Session and forking
by perrin (Chancellor) on Jul 22, 2004 at 17:01 UTC
    Well, like I said, you can close it and re-open it in the child process. Which Apache::Session subclass are you using?

    Assuming this is not a brand-new session, you can mark it unmodified by changing the status field. Look at the Apache::Session source code to see how it's done.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2014-09-02 01:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (18 votes), past polls