summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2007-02-02 04:47:40 +0100
committerDerek Allard <derek.allard@ellislab.com>2007-02-02 04:47:40 +0100
commite0135cfe9c23f2cb9312bcd2fbcfa3dbf024f8d6 (patch)
tree0587f91132eb25f570b37d097e84bdcfb5ba2ff0 /user_guide/libraries
parentf553b113416c3631cf2fd6120c8c273023ea545f (diff)
added sess_destroy() into docs
Diffstat (limited to 'user_guide/libraries')
-rw-r--r--user_guide/libraries/sessions.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/user_guide/libraries/sessions.html b/user_guide/libraries/sessions.html
index 184eaec1e..b1ce8472f 100644
--- a/user_guide/libraries/sessions.html
+++ b/user_guide/libraries/sessions.html
@@ -210,8 +210,10 @@ Once you have created your database table you can enable the database option in
do not need to write your own routine to do it.</p>
+<h2>Destroying a Session </h2>
+<p>To clear the current session: </p>
+<code>$this-&gt;session-&gt;sess_destroy();</code>
<h2>Session Preferences</h2>
-
<p>You'll find the following Session related preferences in your <kbd>application/config/config.php</kbd> file:</p>