diff options
author | Derek Allard <derek.allard@ellislab.com> | 2007-02-02 04:47:40 +0100 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2007-02-02 04:47:40 +0100 |
commit | e0135cfe9c23f2cb9312bcd2fbcfa3dbf024f8d6 (patch) | |
tree | 0587f91132eb25f570b37d097e84bdcfb5ba2ff0 | |
parent | f553b113416c3631cf2fd6120c8c273023ea545f (diff) |
added sess_destroy() into docs
-rw-r--r-- | user_guide/libraries/sessions.html | 4 |
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->session->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>
|