Please take a look at the following code:

```
$this->session->set_flashdata('message', 'This is a message.');
var_dump($this->session->flashdata('message'));

```

It returns `bool(false)`.

I hope it doesn't ***NEED*** a `redirect()` to be recallable after that, because some times I need to call it right after setting the flashdata in a view.

---

**Edit** after [venkat](https://stackoverflow.com/users/1679342/venkat)'s comment

```
$this->session->set_flashdata('message', 'This is a message.');
$this->session->keep_flashdata('message');
var_dump($this->session->flashdata('message'));

```

No difference unfortunately.