Search code examples
phpreadability

Using PRG pattern with return button


Hey guys, I haven't used the rpg pattern before, and had a quick question.
I want to be able to provide a return link to the page that submitted the post, but I don't want it to show up in the end url (because the return link is long, it looks really bad. Not helpful when I'm going for human readability). Is this possible? Or do I just need to deal with it?

Thanks, Max


Solution

  • Nevermind, I found that $this->session->set_flashdata() does the job just fine.