[eluser]plainas[/eluser]
This is somehow subjective and i believe it's also a mater or personal preference. But i need some advice anyway.
I created a form, now i am submitting it using the post method. What do you guys recommend (prefer) and why concerning the target.
Like... the same controller function but with a switch/if inside or another function?
Also, what's the best way to make sure the user came from the form and not from clicking the reload button of its browser or some malicious external form? I usually stick a token in the session and send it together with user submited dat in the form and then perform a check in the target script.
Is this procedure the way to go in here or is there any helper or plugin that does this beter?