Re: [Mason] Can't get session working

2008-11-06 Thread Apu islam
t's a whole new beast. -- Apu Islam ( E Pluribus Unum) - Original Message From: Aaron Hawryluk <[EMAIL PROTECTED]> To: Apu islam <[EMAIL PROTECTED]>; mason-users@lists.sourceforge.net Sent: Thursday, November 6, 2008 5:59:02 PM Subject:

Re: [Mason] Can't get session working

2008-11-06 Thread Aaron Hawryluk
Thanks! Had to install Fedora's libapreq2 and perl-libapreq2 through yum, and then the code worked flawlessly. Ended up with this test case for sessions and cookies: % if($cookie_in){ <% Dumper($cookie_in) %> <% $cookie_in->thaw %> Session ID: <% $sessionID %> % } % else{ No cookie! % } <%init> u

Re: [Mason] Can't get session working

2008-11-06 Thread Apu islam
If you are using Apache2, make sure you add this line to your httpd.conf (didn't work for me without it) LoadModule apreq_modulemodules/mod_apreq2.so Here is an example to use the CGI::Session with Apache2::Cookie module - <% Dumper(

Re: [Mason] Can't get session working

2008-11-06 Thread Hans Dieter Pearcey
On Thu, Nov 06, 2008 at 01:49:35PM -0700, Aaron Hawryluk wrote: > I'm new to the list (and Mason - which by the way, is awesome). I have > a couple of questions about session and cookie handling. I could seem > to find any cookie-cutter recipes out there that worked on my setup > (Apache2,mod_perl2