• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
what is the difference between set_flashdata and set_userdata

#1
Hello Everyone

what is the difference between set_flashdata and set_userdata?

Please help me.

Thanks
Reply

#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

#3
Better take the time to read the documentation first before asking someone.
Reply

#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

#5
(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
Reply

#6
(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...
Reply

#7
@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.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme ¬© 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.