Is it ok to introduce a variable in a page as follows
<cfparam name="somevar" default="1">
And then update its value with links
somepage.cfm?somevar=20 etc
I have seen this quite a lot recently and I'm not sure if it is good practice. Should somevar be explicitly scoped ? <cfparam name="url.somevar" default="1">
<cfparam name="somevar" default="1">
And then update its value with links
somepage.cfm?somevar=20 etc
I have seen this quite a lot recently and I'm not sure if it is good practice. Should somevar be explicitly scoped ? <cfparam name="url.somevar" default="1">