in reply to Session Problems
One thing that I don't like about this code is how it doesn't always clean up if something goes wrong during handling the request. I think it would be better to put your session in $r->pnotes() than in a global, because pnotes is always cleaned up at the end of the request, even if Mason dies on something. If you haven't used pnotes before, see the docs that came with mod_perl or the Guide.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Session Problems
by Anonymous Monk on Aug 15, 2001 at 19:33 UTC | |
by perrin (Chancellor) on Aug 15, 2001 at 19:50 UTC | |
by dstar (Scribe) on Aug 15, 2001 at 20:13 UTC | |
by perrin (Chancellor) on Aug 15, 2001 at 20:43 UTC | |
by dstar (Scribe) on Aug 15, 2001 at 22:48 UTC |