what is the difference between set_flashdata and set_userdata |
Hello Everyone
what is the difference between set_flashdata and set_userdata? Please help me. Thanks
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.
(11-17-2015, 10:49 PM)solidcodes Wrote: Everything is in the documentation. Thanks
(11-18-2015, 01:35 AM)freddy Wrote:(11-17-2015, 10:50 PM)solidcodes Wrote: Better take the time to read the documentation first before asking someone.yes i do agree but some people new need explanation from another programmers cause not all knew english, i guess that's the problem His question is written in perfect English, so I don't think that is the problem here...
@freddy
If understanding english is the problem. This is what I do I bought English to Filipino dictionary (my local language). Hence I understood deep meaning words from english. By the way I tried android dictionary app but not worth it. It's better to buy the thick book from your local bookstore.
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. |
Welcome Guest, Not a member yet? Register Sign In |