Skip to main content
Known Participant
March 20, 2011
Question

Postback logic

  • March 20, 2011
  • 2 replies
  • 375 views

Hello,

I have to process some form data, and I find a bit difficult to place it in the page before the code, and do a postback. The page gets very long.

I like to make a page2 to which form data is forwarded, and use it for just the validation. Is there any [security or technical] reason for using the same page?

Thank you very much

This topic has been closed for replies.

2 replies

Inspiring
March 20, 2011

Running everything - validation, fetching data, presenting data - from the same on CF template is a "sub-optimal" (shall we say) approach.

It definitely makes good sense to compartmentalise-off tasks that are only superficially related.

--

Adam

Inspiring
March 20, 2011

It's six of one, half a dozen of the other.

Inspiring
March 20, 2011

You certainly do post some magical responses, Dan.

--

Adam