Welcome Guest, Not a member yet? Register   Sign In
How to Send data with Redirect()
#1

[eluser]Unknown[/eluser]
Can we send data with Redirect() function and how to access it .
#2

[eluser]InsiteFX[/eluser]
Look in the CodeIgniter User Guide Session flashdata!

InsiteFX
#3

[eluser]Sudz[/eluser]
No, you can't send data with redirect because redirect uses header.


CodeIgniter supports "flashdata", or session data that will only be available for the next server request, and are then automatically cleared.
You can use this, and are typically used for informational or status messages (for example: "record 2 deleted").




Theme © iAndrew 2016 - Forum software by © MyBB