Welcome Guest, Not a member yet? Register   Sign In
what is the difference between set_flashdata and set_userdata
#2

Everything is in the documentation.
https://codeigniter.com/user_guide/libra...sions.html

set_userdata is for adding session data.
set_flashdata is for adding session data that will only be available for the next request, and is then automatically cleared.
Reply


Messages In This Thread
RE: what is the difference between set_flashdata and set_userdata - by solidcodes - 11-17-2015, 10:49 PM



Theme © iAndrew 2016 - Forum software by © MyBB