[Catalyst] save session data

2007-02-09 Thread Fernan Aguero
Hi! I'm currently using the Session, Session::Store::DBIC, and Session::State::Cookie plugins to track session data for each user. One of the things I'm doing is storing user queries into the session: $c-session-{queries} = { 1 = { deeper data structure here }, 2 = { ... },

Re: [Catalyst] save session data

2007-02-09 Thread Daniel Westermann-Clark
On 2007-02-09 16:51:11 -0300, Fernan Aguero wrote: Now, if I want to have this session data stored into a diffent db table and with additional data, I imagine I'd have to write my own Session-Store-DBIC workalike ... or perhaps it's easier to just dump the structure, encode it somehow

Re: [Catalyst] save session data

2007-02-09 Thread Jonathan Rockway
Fernan Aguero wrote: Anyone went that path? Perhaps this wheel is already available from cpan? :) Catalyst::Plugin::Session::PerUser? -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)-config(name = do { $,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //, ;$;]-[$_].q; ;for

Re: [Catalyst] save session data

2007-02-09 Thread Perrin Harkins
On 2/9/07, Fernan Aguero [EMAIL PROTECTED] wrote: Now, if I want to have this session data stored into a diffent db table and with additional data, I imagine I'd have to write my own Session-Store-DBIC workalike ... or perhaps it's easier to just dump the structure, encode it somehow (base64?)

Re: [Catalyst] save session data

2007-02-09 Thread Fernan Aguero
+[ Jonathan Rockway [EMAIL PROTECTED] (09.Feb.2007 17:32): | | Fernan Aguero wrote: | Anyone went that path? Perhaps this wheel is already | available from cpan? :) | | Catalyst::Plugin::Session::PerUser? | +] This seems a perfect fit, thanks! Fernan

Re: [Catalyst] save session data

2007-02-09 Thread Yuval Kogman
On Fri, Feb 09, 2007 at 15:39:25 -0500, Perrin Harkins wrote: I can't see why you wouldn't store it like any other data in a database table. Just make a table structure that fits it and use it the way you normally use your database. voice type=celebrity class=cheesy,wash_out Hi, my name is

Re: [Catalyst] save session data

2007-02-09 Thread Yuval Kogman
On Sat, Feb 10, 2007 at 00:19:01 +0200, Yuval Kogman wrote: voice type=celebrity class=cheesy,wash_out Hi, my name is Yuval Kogman. You may know me from modules such as Crap, what a stupid misquote... you may *remember* me... sorry everyone. -- Yuval Kogman [EMAIL PROTECTED]

Re: [Catalyst] save session data

2007-02-09 Thread Jonathan Rockway
Yuval Kogman wrote: Hi, my name is Yuval Kogman. You may know me from modules such as Crap, what a stupid misquote... you may *remember* me... sorry everyone. If you're trying to sound like Troy McClure, it's Hi, my name is $name. You may remember me from such modules as `Foo' and `Bar'. :)

Re: [Catalyst] save session data

2007-02-09 Thread Yuval Kogman
On Fri, Feb 09, 2007 at 17:09:50 -0600, Jonathan Rockway wrote: If you're trying to sound like Troy McClure, it's Hi, my name is $name. You may remember me from such modules as `Foo' and `Bar'. :) That's what I was going for -- Yuval Kogman [EMAIL PROTECTED]