what is the difference between set_flashdata and set_userdata - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: what is the difference between set_flashdata and set_userdata (/showthread.php?tid=63599) |
what is the difference between set_flashdata and set_userdata - Bhavesh - 11-17-2015 Hello Everyone what is the difference between set_flashdata and set_userdata? Please help me. Thanks RE: what is the difference between set_flashdata and set_userdata - solidcodes - 11-17-2015 Everything is in the documentation. https://codeigniter.com/user_guide/libraries/sessions.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. RE: what is the difference between set_flashdata and set_userdata - solidcodes - 11-17-2015 Better take the time to read the documentation first before asking someone. RE: what is the difference between set_flashdata and set_userdata - Bhavesh - 11-18-2015 (11-17-2015, 10:49 PM)solidcodes Wrote: Everything is in the documentation. Thanks RE: what is the difference between set_flashdata and set_userdata - freddy - 11-18-2015 (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 RE: what is the difference between set_flashdata and set_userdata - Martin7483 - 11-18-2015 (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... RE: what is the difference between set_flashdata and set_userdata - solidcodes - 11-18-2015 @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. RE: what is the difference between set_flashdata and set_userdata - maham2843 - 11-16-2021 (11-17-2015, 10:50 PM)solidcodes Wrote: Better take the time to read the documentation first before asking someone. RE: what is the difference between set_flashdata and set_userdata - AdahAbigail2_ - 02-21-2022 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. |