[eluser]boltsabre[/eluser]
What your after is 'flashdata'. Have a look at the the session library reference here
<a>http://ellislab.com/codeigniter/user-guide/libraries/sessions.html </a>
And that should point you in the right direction. Flashdata basically just lasts for 'one page view', so is perfect for displaying 'confirmation' messages and such...