you can use cfAJaxProxy
<cfajaxproxy cfc="path.to.cfc" jsclassname="nameToCallVar" />
<script>
var cfcAsAjax = new nameToCallVar();
now you can use those functions in javaScript
</script>
if(!SUCCEED) try();
You could have an images table and name the image the imageID and have a userID in the table then you could query the userid to find all images for the user.
Dont know if im understanding you correctly but are your links variableized.
meaining are you posting your link like
<a href="http://www.yoursite.com?id=1">link</a>
OR
<a href#cgi.script_name#?id=1">link</a>
if using Application.cfc a good way to do that is with the
onError method.
<cffunction name="onError">
<cfargument name="Exception" required="true" />
<cfargument type="String" name="EventName" required="true" />
<!--- Log all errors. --->
<cfif arguments.exception.type EQ "database">...
With Version 8 i generally only lock Writes not Reads..
I am Confident that my code is sound and have not experienced any deadlocks over the past 3 years.
did you put that in the Missing Template Handler or the site-wide Error Handler...
Missing Template Handler
when ColdFusion cannot find a requested template
Site-wide Error handler
when ColdFusion encounters errors while processing a request
No you dont need to use CFLock on every query. I only use them with I am doing Session Management or when i am doing Inserts to a database, things that you would be doing at simultanious times based on users.
Are you using an absolute or relative path in displaying you image..
we had this problem about 2 years ago and we found that the path had to be absolute, it bombed or just didnt show if the path was relative.
HTH
sorry for the bad vibe not trying to ruffle any fethers...
I was just stating that you could have IIS or Apache to do the rewrite and you could have pretty URL's..
That is all..
Again, Sorry if my comments were taken rude.
Not True.
Read the Article and the Comments.... Usually the comments have more and even better info than the article...
You can use IIS or Apache to do server side parsing
which would allow you to have url's like
http://www.mysite.com/theName
read up on this article and this might clear things up..
http://www.coldfusionjedi.com/index.cfm/2005/8/2/Ask-a-Jedi-Working-with-SES-URLs-and-ColdFusion
or you could do this:
<cfprocparam type="in" <cfif IsDefined('varNotDefined')>
value="#varNotDefined#" <cfelse>null="true"</cfif>cfsqltype="cf_sql_varchar">
what are you using this for if for debug then just use <cfdump var="#form.myData">
but if for regular output you are going to have to do some sort of loop to get the data out of your var...
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.