Yes, under Poet & Mason2.

But as i wrote, in 1st step i want only move the HTML::Mason app (aka
Mason1) app to Starman using  "HTML::Mason::PSGIHandler".

Moving the whole app to Poet is too hard for me for now:
- the site/app developed long time
    - its like a spagethy ;-(
 - so the port to Mason2 need total re-develop
    - but i'm not a Moose expert :(

So, as the 1st step i simply want run HTML::Mason - but in PSGI env -
with the nice HTML::Mason::PSGIHandler - and looking for the way how
to use $m-session (in Mason1/PSGI).

Probably, it is too hard...

ak

On Tue, Jun 26, 2012 at 7:45 AM, Jonathan Swartz <swa...@pobox.com> wrote:
> Under Poet, $m->session returns the Plack session. This is documented here -
>
>   http://search.cpan.org/perldoc?Poet::Mason#NEW_REQUEST_METHODS
>
> and mentioned in the tutorial, though it definitely ought to be mentioned 
> elsewhere, e.g. a FAQ.
>
> Jon
>
> On Jun 25, 2012, at 4:33 AM, A Kobame wrote:
>
>> Hi again,
>>
>> Want to move one of my HTML::Mason app to Mason2, but step-by-step.
>>
>> In the 1st step i want move only the whole HTML::Mason app to Starman.
>> Here is the working HTML::Mason::PSGIHandler but my HTML::Mason app
>> was built with MasonX::Request::WithApacheSession - for getting
>> $m->session.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to