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

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.

Theme © iAndrew 2016 - Forum software by © MyBB