[Facebooker-talk] Memcached Sessions Store With Facebooker

Tres Wong-Godfrey tres.wong-godfrey at saniq.com
Tue Jul 8 13:27:05 EDT 2008


I’ve been attempting to use memcached for sessions storage, but am  
having issues because the session that’s being used is the facebook  
session that contains a hyphen. Since it is not an alphanumeric  
character-set, any attempt to write or read session information fails.

I see that there is a “session_options” hash available as an argument  
to ActionController::CgiRequest which allows the ability to define  
whether the instance uses the facebook session id, or the standard  
alphanumeric session to define the session key, but I don’t think  
that’s what I’m looking for.

Anyone have experience getting facebooker working with memcached  
sessions? Any hints or tricks that anyone out there can give?

I’ve seen Mike’s article at http://www.elevatedrails.com/articles/2008/04/23/enabling-memcached-sessions/ 
, but that’s not covering the same issue. There appears to be  
something else that I’m just not finding.

Oh, I almost forgot—I’m getting errors like “session_id  
‘6bcf1f35e8200000000f2ad-100000370’ is invalid.”

Thanks!


More information about the Facebooker-talk mailing list