[eluser]Lone[/eluser]
Ill just confirm that we just replaced the Sessions Class file to a 1.5.4 install with no problemos at all.
cinewbie81: I think you perception of how flashdata works might be wrong. As far as I can tell it is best used for a page redirect - here is a quick sample:
1. You have a blog comment form that a user fills out and is submitted and run through a controller function which is then redirected to the viewComments controller function.
Code:
function addComment()
{
// save comment to database code here
$this->session->set_flashdata('msg', 'Comment added');
redirect('/blog/viewComments/');
}
2. The viewComments page is then loaded with all of the comments and the message at top
Code:
function viewComments()
{
// code to output comments here
$data['msg'] = $this->session->flashdata('msg');
$this->load->view('viewComments',$data);
}
In the View you would then output the message using
$msg
Hope this makes sense as its hard to explain without a full code sample :-S