From 2db431b62232ed9f83b59aac45d649ee488328b2 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Tue, 22 Jan 2008 07:45:30 +0000 Subject: typo: "ba" to "be". Bah! --- user_guide/libraries/sessions.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_guide') diff --git a/user_guide/libraries/sessions.html b/user_guide/libraries/sessions.html index 92b120ded..04bc19b9b 100644 --- a/user_guide/libraries/sessions.html +++ b/user_guide/libraries/sessions.html @@ -176,7 +176,7 @@ encryption process in particular produces a longer data string than the original
$this->session->unset_userdata($array_items);

Flashdata

-

CodeIgniter supports "flashdata", or session data that will only ba available for the next server request, and are then automatically cleared. These can be very useful, and are typically used for informational or status messages (for example: "record 2 deleted").

+

CodeIgniter supports "flashdata", or session data that will only be available for the next server request, and are then automatically cleared. These can be very useful, and are typically used for informational or status messages (for example: "record 2 deleted").

Note: Flash variables are prefaced with "flash_" so avoid this prefix in your own session names.

To add flashdata:

$this->session->set_flashdata('item', 'value');

-- cgit v1.2.3-24-g4f1b