summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-09-17 20:47:00 +0200
committeradmin <devnull@localhost>2006-09-17 20:47:00 +0200
commit990e3c6c79f68a396cd39fc99e798bc4333a3afc (patch)
tree5aed2d6e36097f5be9b98b94da6dfc86888d1574
parentb68745e494773bce023c9a7eaca672e32beb1a47 (diff)
-rw-r--r--user_guide/general/changelog.html1
-rw-r--r--user_guide/libraries/sessions.html10
2 files changed, 10 insertions, 1 deletions
diff --git a/user_guide/general/changelog.html b/user_guide/general/changelog.html
index b8a399c37..92caa699e 100644
--- a/user_guide/general/changelog.html
+++ b/user_guide/general/changelog.html
@@ -112,6 +112,7 @@ Change Log
<li>Fixed an incorrectly named variable in the URI class.</li>
<li>Fixed a bug in the config class that was preventing the base URL from being called properly.</li>
<li>Fixed a bug in the validation class that was not permitting callbacks if the form field was empty.</li>
+<li>Fixed a problem that was prevenging scaffolding from working properly with MySQLi.</li>
<li>Fixed some MS SQL bugs.</li>
<li>Fixed some doc typos.</li>
</ul>
diff --git a/user_guide/libraries/sessions.html b/user_guide/libraries/sessions.html
index 1050e1102..f8549a5c9 100644
--- a/user_guide/libraries/sessions.html
+++ b/user_guide/libraries/sessions.html
@@ -183,7 +183,7 @@ query is performed to match it. If the session ID does not match, the session i
be updated, they can only be generated when a new session is created.</p>
<p>In order to store sessions, you must first create a database table for this purpose. Here is the basic
-prototype required by the session class:</p>
+prototype (for MySQL) required by the session class:</p>
<textarea class="textarea" style="width:100%" cols="50" rows="8">
CREATE TABLE IF NOT EXISTS `ci_sessions` (
@@ -202,6 +202,14 @@ Once you have created your database table you can enable the database option in
<p>Once enabled, the Session class will store session data in the DB.</p>
+<p>Make sure you've specified the table name in your config file as well:</p>
+
+<code>$config['sess_table_name'] = 'ci_sessions";</code>
+
+<p class="important"><strong>Note:</strong> The Session class has built-in garbage collection which clears out expired sessions so you
+do not need to write your own routine to do it.</p>
+
+
<h2>Session Preferences</h2>
<p>You'll find the following Session related preferences in your <kbd>application/config/config.php</kbd> file:</p>