Write your own State plugin. State plugins are stackable (they can
fallback to eachother), and the API is fairly simple.

Look at ::Cookie for an example of some code on how to do that.

Perhaps even URI with session_param overridden will be enough.


On Wed, May 30, 2007 at 19:31:25 -0400, Jim Spath wrote:
> I'm currently using the following plugins for session management in my 
> Catalyst app:
> 
>  Session
>  Session::Store::Memcached
>  Session::State::Cookie
>  Session::DynamicExpiry
> 
> Along with the following authentication plugins:
> 
>  Authentication
>  Authentication::Store::DBIC
>  Authentication::Credential::Password
> 
> It all works great on my site... however, I was looking to integrate our app 
> into Facebook, and to have users login to our service through Facebook.
> 
> For every request, they will be passing an parameter called fb_sig_user, 
> which I should be using as a session id on our side.
> 
> I was wondering if there was a way that I could override the automatic 
> creation of session ids with the Facebook id, while also continuing to use my 
> current setup for onsite users?  I've 
> looked through the docs and searched a bit and am unclear on this.
> 
> Thanks!
> Jim
> 
> _______________________________________________
> List: [email protected]
> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/[email protected]/
> Dev site: http://dev.catalyst.perl.org/

-- 
  Yuval Kogman <[EMAIL PROTECTED]>
http://nothingmuch.woobling.org  0xEBD27418

Attachment: pgpadsj62PFKE.pgp
Description: PGP signature

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to