From 112f4a71bdf30ab773d6a4079aad9d7e92c193e0 Mon Sep 17 00:00:00 2001
From: Derek Allard
Date: Wed, 19 Mar 2008 11:36:07 +0000
Subject: added a note of clarity for sess_destroy()
---
user_guide/libraries/sessions.html | 4 ++++
1 file changed, 4 insertions(+)
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.
Destroying a Session
To clear the current session:
$this->session->sess_destroy();
+Note: 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 unset_userdata().
+
+
+
Session Preferences
You'll find the following Session related preferences in your application/config/config.php file:
--
cgit v1.2.3-24-g4f1b