From 2db431b62232ed9f83b59aac45d649ee488328b2 Mon Sep 17 00:00:00 2001
From: Derek Allard
$this->session->unset_userdata($array_items);
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');