[development] should I alter the sessions table?

Dave Cohen drupal at dave-cohen.com
Tue Mar 31 21:32:17 UTC 2009

Yes I do what you suggest, though the code is not identical.  Users of these modules must modify their settings.php to include the module's code.  There's no core modification for this.


On Tuesday 31 March 2009 13:49:51 Daniel F. Kudwien wrote:
> > Definitely not.  We're talking about the session key, the 
> > very thing that makes it possible for $_SESSION to persist 
> > from one request to the next.  (When serving a Facebook 
> > Canvas Page, cookies are not honored and the session_key 
> > _must_ be used instead.)
> This scares me a bit.  Will you make users aware of this core modification?
> Or is your module supposed to be used by advanced users only?  At least, it
> sounds a bit like the latter.
> settings.php:
> $conf = array(
>   'session_inc' => './sites/all/modules/facebook/session.inc',
> );
> There, join your own facebook_sessions table and/or do any magic or own
> session handling as you like.
> sun

More information about the development mailing list