summaryrefslogtreecommitdiffstats
path: root/user_guide
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide')
-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>