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

(11-17-2015, 10:49 PM)solidcodes Wrote: 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.

Thanks
Reply


Messages In This Thread
RE: what is the difference between set_flashdata and set_userdata - by Bhavesh - 11-18-2015, 12:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB