Skip Menu |

This queue is for tickets about the Maypole CPAN distribution.

Report information
The Basics
Id: 14142
Status: resolved
Priority: 0/
Queue: Maypole

People
Owner: Nobody in particular
Requestors: dave [...] riverside-cms.co.uk
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: 2.11



Subject: Maypole::Headers - useful new method
I'm re-writing Mp::P::Session to use Apache::Session::Wrapper. The constructor for A::S::W needs a param object, which can be the Maypole request. It also needs a headers object, which could also, almost, be the Maypole request. A::S::W will attempt to set a cookie by calling add() on the Maypole::Headers object - which lacks such a method. But it has push(), so adding *add = \&push would make this work. The benefit is that the Apache or CGI frontends are supported transparently. d.
[DAVEBAIRD - Fri Aug 12 17:46:50 2005]: Show quoted text
> I'm re-writing Mp::P::Session to use Apache::Session::Wrapper. The > constructor for A::S::W needs a param object, which can be the > Maypole request. It also needs a headers object, which could also, > almost, be the Maypole request. A::S::W will attempt to set a > cookie by calling add() on the Maypole::Headers object - which > lacks such a method. But it has push(), so adding > > *add = \&push > > would make this work. The benefit is that the Apache or CGI frontends > are supported transparently. > > d.
Dave, can you apply this change in SVN and update the changes file with the bug id, then update this bug entry with the SVN revision. cheers
[TEEJAY - Sat Aug 20 04:23:59 2005]: Show quoted text
> [DAVEBAIRD - Fri Aug 12 17:46:50 2005]: >
> > I'm re-writing Mp::P::Session to use Apache::Session::Wrapper. The > > constructor for A::S::W needs a param object, which can be the > > Maypole request. It also needs a headers object, which could
> also,
> > almost, be the Maypole request. A::S::W will attempt to set a > > cookie by calling add() on the Maypole::Headers object - which > > lacks such a method. But it has push(), so adding > > > > *add = \&push > > > > would make this work. The benefit is that the Apache or CGI
> frontends
> > are supported transparently. > > > > d.
> > > Dave, > > can you apply this change in SVN and update the changes file with the > bug id, then update this bug entry with the SVN revision. > > cheers > >
Applied in revision 375.