Forums / Developer / Form submission and collectedinfo
Lars Eirik R
Tuesday 24 November 2009 4:46:16 am
Hi.
Is there a good way to prevent someone from accessing a collectedinfo/<nodeid> if no variables have been submitted ?
We submit these data to google each time someone has submitted something. As far as I see it is possible to access this page without having any form submitted.
Thanks.
Romain Petit
Saturday 28 November 2009 5:28:37 am
Hi,
In the result template you can add the template operator "redirectrelative" ( you can find it in the contribution section ) after testing the existence of the form's post variables, or the "InformationCollectionMap" session variable.
Saturday 28 November 2009 3:06:18 pm
Thanks for the reply.
I believe this solution would work for what i am trying achieve