Welcome Guest, Not a member yet? Register   Sign In
Using Flashdata to pass data through a redirect()
#1

[eluser]Gwarrior[/eluser]
Using Flashdata to pass data through a redirect().

Is this a good idea? What are the potential security risks associated with this?

Also, I have recently started conforming to the way that the tutorials do things, and instead of writing forms that POST to themselves

Example:
Code:
<form method="post" action="">

and handling the information with IF's, I have begun having them go to individual Controller functions,

Example:
Code:
<form method="post" action="<?php echo site_url().'/controller/do_edit_blog'; ?>">

and that is where my need comes in to have data passed through redirects.

Now, if this isn't the preferred method, I would like to stop doing it this way before I get used to it. So to you guys, the community, what do you think?

Thanks!


Messages In This Thread
Using Flashdata to pass data through a redirect() - by El Forum - 10-01-2009, 04:32 AM
Using Flashdata to pass data through a redirect() - by El Forum - 10-01-2009, 07:17 AM
Using Flashdata to pass data through a redirect() - by El Forum - 10-01-2009, 07:35 AM
Using Flashdata to pass data through a redirect() - by El Forum - 10-01-2009, 09:50 AM
Using Flashdata to pass data through a redirect() - by El Forum - 10-01-2009, 05:15 PM
Using Flashdata to pass data through a redirect() - by El Forum - 10-02-2009, 12:59 AM
Using Flashdata to pass data through a redirect() - by El Forum - 02-05-2010, 04:32 AM
Using Flashdata to pass data through a redirect() - by El Forum - 02-05-2010, 06:19 AM
Using Flashdata to pass data through a redirect() - by El Forum - 02-05-2010, 06:37 AM
Using Flashdata to pass data through a redirect() - by El Forum - 05-04-2010, 03:35 PM
Using Flashdata to pass data through a redirect() - by El Forum - 05-04-2010, 03:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB