summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries/sessions.html
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-03-19 12:36:07 +0100
committerDerek Allard <derek.allard@ellislab.com>2008-03-19 12:36:07 +0100
commit112f4a71bdf30ab773d6a4079aad9d7e92c193e0 (patch)
tree5c0b3888e583ded658ab8b6597bf4455db35b710 /user_guide/libraries/sessions.html
parent0ce275533d0707adb2c0263e5a77c10c351f969c (diff)
added a note of clarity for sess_destroy()
Diffstat (limited to 'user_guide/libraries/sessions.html')
-rw-r--r--user_guide/libraries/sessions.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/user_guide/libraries/sessions.html b/user_guide/libraries/sessions.html
index a6b9dd378..66cadca90 100644
--- a/user_guide/libraries/sessions.html
+++ b/user_guide/libraries/sessions.html
@@ -224,6 +224,10 @@ 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>
+<p class="important"><strong>Note:</strong> This function should be the last one called, and even flash variables will no longer be available. If you only want some items destroyed and not all, use <dfn>unset_userdata()</dfn>.</p>
+
+
+
<h2>Session Preferences</h2>
<p>You'll find the following Session related preferences in your <kbd>application/config/config.php</kbd> file:</p>