TIP: Use Markdown or, <pre> for multi line code blocks / <code> for inline code.
These forums are read-only and for archival purposes only!
Please join our new forums at discourse.kohanaframework.org
Populate a form based on data from another
  • What would be the best practice for Kohana?

    So far I know 2 methods, can be used.

    1. Controller sets a view with data.
    2. Controller sets a session.

    I am using the second method, do you see any disadvantage?

  • This totally depends on what you want, technically and functionally! If you work with confidential or strong privacy, then don't use session form data. There is no "best" here..

  • Right now, I am using the redirect method with the session. When I reach the final controller, I just destroy the session. I do not know how easy is to hijack the session, but I guess this is much easier than POST data.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion