[cgiapp] LinkIntegrity vs ValidateQuery plugin?

Mark Fuller azfuller at gmail.com
Wed Apr 15 01:59:11 EDT 2009


On Tue, Apr 14, 2009 at 8:16 AM, Mark Stosberg <mark at summersault.com> wrote:
>
> However, only validation can check if in fact I have all parameters I
> need in the right format. That protects against the case where my
> application generates a link with a valid checksum, but somehow has the
> wrong data in it. If I skipped validation in the receiving run mode,  I
> open myself up for a garbage-in/garbage-out problem, or perhaps worse.

Wouldn't this be best solved by storing the links (or the checksum for
a link) in a session? When they perform their next activity, the
runmode checks to see if it (and the parameters on the URL) was one of
the expected run modes when the previous page was displayed?

Mark


More information about the cgiapp mailing list