Browse files

Updating core.php with new Session.model configuration directive.

  • Loading branch information...
1 parent 75f303f commit 5d183cbe9af3e6f12a238118dd063b9ecb1dc96c @jperras jperras committed Apr 14, 2009
Showing with 15 additions and 1 deletion.
  1. +15 −1 app/config/core.php
View
16 app/config/core.php
@@ -96,16 +96,30 @@
* To define a custom session handler, save it at /app/config/<name>.php.
* Set the value of 'Session.save' to <name> to utilize it in CakePHP.
*
- * To use database sessions, execute the SQL file found at /app/config/sql/sessions.sql.
+ * To use database sessions, run the app/config/schema/sessions.php schema using
+ * the cake shell command: cake schema run create Sessions
*
*/
Configure::write('Session.save', 'php');
/**
+ * The model name to be used for the session model.
+ *
+ * 'Session.save' must be set to 'database' in order to utilize this constant.
+ *
+ * The model name set here should *not* be used elsewhere in your application.
+ */
+ //Configure::write('Session.model', 'Session');
+/**
* The name of the table used to store CakePHP database sessions.
*
* 'Session.save' must be set to 'database' in order to utilize this constant.
*
* The table name set here should *not* include any table prefix defined elsewhere.
+ *
+ * Please note that if you set a value for Session.model (above), any value set for
+ * Session.table will be ignored.
+ *
+ * [Note: Session.table is deprecated as of CakePHP 1.3]
*/
//Configure::write('Session.table', 'cake_sessions');
/**

0 comments on commit 5d183cb

Please sign in to comment.