Welcome Guest, Not a member yet? Register   Sign In
Redirect w/ params
#3

[eluser]louis w[/eluser]
Session, good idea.
I know CI sessions have a limitation on the amount of content, do you know how much text 4KB is?

[quote author="inparo" date="1210296434"]Since a form won't be repopulated just because there's data in the POST array, you need an intermediate.

One way is it to add it to the session.
On the form page check if the session variables are set - if yes, populated the fields and unset the variables (not the whole session).

On the processing page, if there is an error - add the data to the session. This also works well if you want to include an error message.[/quote]


Messages In This Thread
Redirect w/ params - by El Forum - 05-08-2008, 01:35 PM
Redirect w/ params - by El Forum - 05-08-2008, 02:27 PM
Redirect w/ params - by El Forum - 05-08-2008, 02:33 PM
Redirect w/ params - by El Forum - 05-08-2008, 02:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB