summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/libraries/sessions.rst
diff options
context:
space:
mode:
authordchill42 <dchill42@gmail.com>2012-08-13 15:47:58 +0200
committerdchill42 <dchill42@gmail.com>2012-08-13 15:47:58 +0200
commitb3816b794592873a4e98187e66745544b463e933 (patch)
tree1c0995303ff69b82aca07a28dd848295f9d5e09e /user_guide_src/source/libraries/sessions.rst
parent3169f26fe6b5e23d5ab5d791143d1dd51d78f80d (diff)
Minor doc fixes
Diffstat (limited to 'user_guide_src/source/libraries/sessions.rst')
-rw-r--r--user_guide_src/source/libraries/sessions.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/user_guide_src/source/libraries/sessions.rst b/user_guide_src/source/libraries/sessions.rst
index 7a27a8f34..dd9e8cbb4 100644
--- a/user_guide_src/source/libraries/sessions.rst
+++ b/user_guide_src/source/libraries/sessions.rst
@@ -424,12 +424,12 @@ You may also :doc:`create your own <../general/creating_drivers>` custom
session drivers. A session driver basically manages an array of name/value
pairs with some sort of storage mechanism.
-To make a new driver, extend CI_Session_driver. Overload the initialize
+To make a new driver, extend CI_Session_driver. Overload the initialize()
method and read or create session data. Then implement a save handler to
write changed data to storage (sess_save), a destroy handler to remove
-deleted data (sess_destroy), a regenerate handler to make a new session ID,
-and an access handler to expose the data (get_userdata). Your initial class
-might look like::
+deleted data (sess_destroy), a regenerate handler to make a new session ID
+(sess_regenerate), and an access handler to expose the data (get_userdata).
+Your initial class might look like::
class CI_Session_custom extends CI_Session_driver {
protected function initialize()