I am trying to use cfgrid, as below
<cfgrid name="usersgrid" pagesize="5" format="html" width="100%" height="200"
I also have a application.cfm file which is checking for a URL variable as below:
<cfif URL.login EQ 0>
The problem is the call to remote cfc is checking for this URL variable. How can I pass a URL variable in the bind attribute?
Why are you requiring a login variable in every URL? It seems to me that the better solution would be to change that. That said, you can simply exclude some pages from checking for this variable, by specifying them in the logic you have in Application.cfm:
<cfif URL.login eq 0 and cgi.script_name does not contain ".cfc">
Alternatively, if your CFCs are in a separate directory, you could put a separate Application.cfm file in that directory to exclude that behavior.
Dave Watts, CTO, Fig Leaf Software
Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
Read this before you post: