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

(This post was last modified: 02-27-2022, 07:50 AM by AdahAbigail2_.)

Everything is in the documentation.
https://codeigniter.com/user_guide/libra.room_messenger_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 AdahAbigail2_ - 02-21-2022, 07:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB