From 0debd35d9bf4d420ca8ac18cdac629f4fb40beb1 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Tue, 7 Aug 2007 19:34:09 +0000 Subject: documented unset_userdata() in session user guide --- user_guide/libraries/sessions.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'user_guide/libraries/sessions.html') diff --git a/user_guide/libraries/sessions.html b/user_guide/libraries/sessions.html index 68744992b..66b258b41 100644 --- a/user_guide/libraries/sessions.html +++ b/user_guide/libraries/sessions.html @@ -211,7 +211,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.

-

Destroying a Session

+

Removing Session Data

+

To remove a single item from the session

+

$this->session->unset_userdata('item');

+

Destroying a Session

To clear the current session:

$this->session->sess_destroy();

Session Preferences

-- cgit v1.2.3-24-g4f1b