Welcome Guest, Not a member yet? Register   Sign In
Logout and flashdata
#5

[eluser]Bainzy[/eluser]
ahhh .. i had this problem ... the problem lies with the fact that the $this->auth->logout is destroying the session ... then your obviously setting more session data but it sounds like this is still being destroyed.

I got round this by modifying my auth library ... and in the logout function after the sess destroy code then set the flash data message ... then im not 100% but you may need to set $this->session->keep_flashdata('message'); in your controllers logout function.

Give it a try both ways and see if it works ... if not please post up your logout function from your auth library so i can see whats going on Smile


Messages In This Thread
Logout and flashdata - by El Forum - 10-08-2010, 07:02 AM
Logout and flashdata - by El Forum - 10-08-2010, 07:20 AM
Logout and flashdata - by El Forum - 10-08-2010, 07:22 AM
Logout and flashdata - by El Forum - 10-08-2010, 07:46 AM
Logout and flashdata - by El Forum - 10-08-2010, 07:58 AM
Logout and flashdata - by El Forum - 10-08-2010, 08:08 AM
Logout and flashdata - by El Forum - 10-08-2010, 08:25 AM
Logout and flashdata - by El Forum - 10-08-2010, 09:06 AM
Logout and flashdata - by El Forum - 10-08-2010, 09:21 AM
Logout and flashdata - by El Forum - 10-08-2010, 09:25 AM
Logout and flashdata - by El Forum - 10-08-2010, 11:05 AM
Logout and flashdata - by El Forum - 10-08-2010, 11:05 AM
Logout and flashdata - by El Forum - 10-08-2010, 11:09 AM
Logout and flashdata - by El Forum - 10-08-2010, 02:25 PM
Logout and flashdata - by El Forum - 10-08-2010, 04:42 PM



Theme © iAndrew 2016 - Forum software by © MyBB