Welcome Guest, Not a member yet? Register   Sign In
pass message to new page
#1

[eluser]neofactor[/eluser]
In my traditional PHP apps, after an insert or action I have passed the user to a new page that gave them a message/note telling them the action was completed. The idea was to prevent people clicking refresh causing a re-post of the action.

I typically would send the message back in the URI: page.php?note=Record Inserted

Now in CI... I want to do something similar.

I was curious how you do it. Do I HAVE to enable QueryStrings? I was hoping to avoid that.

I tried this:
Passing back a page/note/Record+Completed but I get the error: "The URI you submitted has disallowed characters."

I was even thinking of encrypting the message and passing it along...


Any thoughts? I would love some seasoned experience on best practices.


Messages In This Thread
pass message to new page - by El Forum - 09-10-2009, 08:12 AM
pass message to new page - by El Forum - 09-10-2009, 08:19 AM
pass message to new page - by El Forum - 09-10-2009, 08:30 AM
pass message to new page - by El Forum - 09-10-2009, 08:37 AM
pass message to new page - by El Forum - 09-10-2009, 08:37 AM
pass message to new page - by El Forum - 09-10-2009, 09:08 AM
pass message to new page - by El Forum - 09-10-2009, 10:13 AM
pass message to new page - by El Forum - 09-10-2009, 10:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB