Welcome Guest, Not a member yet? Register   Sign In
Authlib and flashdata
#1

[eluser]schnoodles[/eluser]
Hello, i am currently using Authlib on my site and it works a treat, only problem is i find that when i use Db_session and set some flashdata and then in my header i do a

if ( flashdata ) echo flashdata

This works good but i found that when i go to some other pages it still keeps the flashdata without getting rid of it so i played around and i tried adding

<?php $this->db_session->_flashdata_sweep(); ?>

into my footer but this still didnt seem to sweep all the flashdata, does anyone know how i can clear the flashdata at the bottom of every page so none of it will transfer between pages.


Messages In This Thread
Authlib and flashdata - by El Forum - 07-09-2007, 10:48 PM



Theme © iAndrew 2016 - Forum software by © MyBB