Welcome Guest, Not a member yet? Register   Sign In
A little help with a function to display a message popup.
#7

[eluser]BrianDHall[/eluser]
Flashdata is a function in CI where data set is only available on the next page a user goes to, so in CI if a flash variable was set to start with on a page it is killed once all processing is done.

The difference is what if you want to redirect a user, or maybe have a user do something first (like change their password, or agree to changed licensing/user agreement, etc) before continuing on to their previously requested page?

Manually killing when you are done with it ensures the data lives until you don't want it - flashdata requires that info ONLY be useful on the next access of the page.


Messages In This Thread
A little help with a function to display a message popup. - by El Forum - 09-21-2009, 09:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB