Thanks for the quick feedback -- it makes sense to add the part about Cake console command and share links between the two. 

I did not see the Console commands before I submitted this pull request.

I will add some more detail and re-submit.

--



On Jun 25, 2013, at 4:11 PM, Marc Würth wrote:

> In en/development/sessions.rst:
> 
> > +
> > +
> > +    Configure::write('Session', array(
> > +        'defaults' => 'database'
> > +    ));
> > +
> > +This configuration will require a database table to be added with
> > +at least these fields::
> > +
> > +
> > +    CREATE TABLE `cake_sessions` (
> > +      `id` varchar(255) NOT NULL DEFAULT '',
> > +      `data` text,
> > +      `expires` int(11) DEFAULT NULL,
> > +      PRIMARY KEY (`id`)
> > +    );
> I just noticed that this nice console shortcut is mentioned only in one single place in the docs, quite brief and not necessary the most logic one:
> 
> "To use database sessions, run the app/Config/Schema/sessions.php schema using the cake shell command: cake schema create Sessions"
> 
> http://book.cakephp.org/2.0/en/development/configuration.html#cakephp-core-configuration
> 
> May be it would make sense to move the whole session schema generation stuff into http://book.cakephp.org/2.0/en/console-and-shells/schema-management-and-migrations.html or a similiar page and link from the configuration to that new paragraph?
> 
> —
> Reply to this email directly or view it on GitHub.
>