• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.