mason request scope variable

Dominic Mitchell dom at happygiraffe.net
Tue Jan 16 13:28:54 GMT 2007


On Tue, Jan 16, 2007 at 12:02:55PM +0000, Jérôme Etévé wrote:
> Hi everyone
> 
> I plan to use HTML::Mason to develop a website, and I'm a bit struggling
> with session handling
> 
> What I'd like to do is to retrieve the session in the init block of the
> autohandler, save it in the cleanup block of this same component and the
> most important, make it available under the name of $session in every
> component used.
> 
> This $session variable should be global on a request scope.
> 
> Do you know how to set that up ?

How about this?  It should do what you need...

    http://search.cpan.org/dist/MasonX-Request-WithApacheSession/

-Dom


More information about the london.pm mailing list