Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re^2: Apache2. Passing data between handlers

by artemave (Beadle)
on Apr 25, 2007 at 16:21 UTC ( #612051=note: print w/replies, xml ) Need Help??

in reply to Re: Apache2. Passing data between handlers
in thread Apache2. Passing data between handlers

Hello, gryphon.

"You might want to look into calling dir_browse::error in the first handler just before you return SERVER_ERROR"

That means I don't need special error handler at all, do I?
The top catch block will do all the work, right?

That was the way until I thought it could look better. I mean, no need to worry about error handling in the main app, all the stuff will come up behind the scene.

Either way, still an opened question here: is there a way to pass data between two handlers? Like if I ever need to build a chain of redirects or something.
I'm pretty sure I'm missing something obvious after all. Or the whole idea is wrong and everybody does this and that, because it is so easy and obvious.

  • Comment on Re^2: Apache2. Passing data between handlers

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://612051]
[atcroft]: .oO(Then there is the effect if a site changes their timezone, such as when the International Date Line was moved by the purchase of Alaska by the US from Russia in 1867, or several places (I cannot recall off-hand) that moved from one side of the Date
[atcroft]: Line to the other recently....)

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2017-04-29 04:49 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (531 votes). Check out past polls.