Does anyone know how to create a java object in a cfscript block that will write a cookie?
I ask this because in my application I want to read or set, read to verify that I wrote one and increment a unique visitor counter.
The problem is the cookie scope - even if the visiting browser has...
I think I need to redesign my entire site, but before I do that I'm asking here.
Every page on my site has a header/footer template which are called like this:
<!--- events.cfm --->
<cfinclude template="top.cfm">
<!---some layout stuff here--->
<cfinclude template="a_events.cfm">...
I'm writing an image upload script, and I'm trying to make it as secure as possible, but I have run into an issue with very long file names.
I believe I have tried everything, but I cannot stop cffile from storing a filename that is too long onto my server.
I have cfdumped all of the variables...
I can test for url parameters if I know their name like this:
<CFIF isDefined("url.SomeVar")>
....
</CFIF>
I need to test true if ANY parameters were passed and false if no parameters were passed is there a way to do this? I have tried:
<CFIF isDefined("URL")>
...
</CFIF>...
I have a custom tag that draws a window frame around content, and a tag-calling-tag that calls it, both tags use cfswitch to test if we're in a start tag or an end tag. I'm having problems grasping how to stick an end tag in my tag calling tag.
<!--- CallWidget.cfm
--->
<!--- Params etc...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.