Supress White Space
CF Gurus, I have CHECKED the Suppress whitespace by default option in CF Administrator. Yet when I output a WDDX packet, there's tons (at least 15 lines of misc. tabs and spaces) of white space at the front, and a little at the end. I tried using LTrim, RTrim, and Trim, to no avail. Any thoughts? TIA. [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
cffile action=upload error
I have designed some forms which allow the user to upload jpegs and QuickTime movies to the server. It was working before, but now I am getting the following error: === Error Occurred While Processing Request Error Diagnostic Information Request canceled or ignored by serverServer busy or unable to fulfill request. The server is unable to fulfill your request due to extremely high traffic or an unexpected internal error. Please attempt your request again (if you are repeatedly unsuccessful you should notify the site administrator). (Location Code: 26) === I am running a browser and the CFserver on the same machine for testing. I'm the only person hitting the CFserver, and like I said, it was working before (with more CFML going on on the same page). What could I have changed to cause this error? When it was working before, I was uploading 3 jpegs and a quicktime all on the same page and it worked fine; I just figured it would be more scalable if I made each one a separate page. Any suggestions? [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CF-Talk Database
This has probably been covered before, but OH MY GOD, CASSADY YOU'RE DA F***ING MAN! TALLYLIST REIGNS SUPREME. GREAT JOB!! I CAN DELETE ALL THOSE TEXT FILES I'VE BEEN SAVING NOW! Thanks- [EMAIL PROTECTED] >Date: Tue, 10 Apr 2001 12:00:37 -0600 >From: "cassady " <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Cc: <[EMAIL PROTECTED]> >Subject: RE: CF-Talk Database >Message-ID: <[EMAIL PROTECTED]> > >Jason, >I believe last November I did what you're talking about. Drop me a line >[EMAIL PROTECTED], after checking out the site: > >Tallylist >http://www.tallylist.com Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Un-defining a Variable
What I need/want is the ability to so that subsequent isdefined("aVariable") returns FALSE. Another way of saying it would be, why isnt there DeleteVariable("var") like there is DeleteClientVariable("var") Or put yet another way, Why can't you cfset r=StructDelete(Variables, "var") As far as I can tell, once you use CFSET to create a variable, you can't undefine it. Is this true, or am I missing something? geoff hoffman [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Newbie question
I want to use CFLOOP such as instead of CFOUTPUT QUERY= to display a series of returned records. How do you use the value stored in thisRecord (the incrementing number) to access the correct record? I have it looping the right number of times, but I can only output the first record over and over. TIA, [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Data Size Limit for Form Variables
Hello Listers, We are working on a project that will use CF and SQL as the backend to a kiosk application that we are building. The kiosk(s -- hundreds to thousands of them) will need to periodically call home, connect to the server and upload information about itself, like weekly error logs for example. My question is: Is there a limit to the amount of data that can be sent via the FORM scope, not in each variable, but in total? Or put another way, at what point do you decide to write a text file on the client side and upload it, then act on that with a CGI application, versus parsing FORM variables with CFML ? Does this make sense? TIA & Best Regards, Geoff Hoffman [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Logout Kill Session Almost Works (Clear History?)
CF-Talk List, I am using the following code from Danny Davis, to kill the session when the user logs out (they click the Logout link): StructClear(Session); The login page sets Session.loggedIn = "1" I have application pages throughout that test Session.loggedIn like so... It works from direct URL browsing to internal pages, but if the user hits the back button, they can go back and see everything they did. Is it possible to clear the history too so that the Back button also sends the user to the login page, after a logout? please reply to [EMAIL PROTECTED] Thanks a trillion. Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
I need to know the moddate
I can't find any way in CF to getFileInfo(aFilePathOnServer) - for things like the moddate and filesize, so I was going to use the CFFILE. TimeLastModified property instead... Now I am having some issues with CFFILE.TimeLastModified and was hoping for a little help from all you GURUs. First of all, I have 4 form fields (e.g. ) on the same page for the user to upload up to 4 jpegs. Here are the assumptions I am working under: 1) The CFFILE variables (page 22 of quick ref) are only available right after I upload the file, for the next one they get overwritten. . 2) So I have a bunch of code that parses the CFFILE action=upload variables into a STRUCT, word for word the same as the file action=upload attributes, so after I upload the file, I now have a struct which is storing the file upload attributes. If you're interested, here's the code... fileStruct=StructNew(); StructInsert(fileStruct, "AttemptedServerFile", "#CFFILE.AttemptedServerFile#"); StructInsert(fileStruct, "ClientDirectory", "#CFFILE.ClientDirectory#"); StructInsert(fileStruct, "ClientFile", "#CFFILE.ClientFile#"); StructInsert(fileStruct, "ClientFileExt", "#CFFILE.ClientFileExt#"); StructInsert(fileStruct, "ClientFileName", "#CFFILE.ClientFileName#"); StructInsert(fileStruct, "ContentSubType", "#CFFILE.ContentSubType#"); StructInsert(fileStruct, "ContentType", "#CFFILE.ContentType#"); StructInsert(fileStruct, "DateLastAccessed", "#CFFILE.DateLastAccessed#"); StructInsert(fileStruct, "FileExisted", "#CFFILE.FileExisted#"); StructInsert(fileStruct, "FileSize", "#CFFILE.FileSize#"); StructInsert(fileStruct, "FileWasAppended", "#CFFILE.FileWasAppended#"); StructInsert(fileStruct, "FileWasOverwritten", "#CFFILE.FileWasOverwritten#"); StructInsert(fileStruct, "FileWasSaved", "#CFFILE.FileWasSaved#"); StructInsert(fileStruct, "OldFileSize", "#CFFILE.OldFileSize#"); StructInsert(fileStruct, "ServerDirectory", "#CFFILE.serverDirectory#"); StructInsert(fileStruct, "ServerFile", "#CFFILE.serverFile#"); StructInsert(fileStruct, "ServerFileExt", "#CFFILE.ServerFileExt#"); StructInsert(fileStruct, "ServerFileName", "#CFFILE.ServerFileName#"); StructInsert(fileStruct, "TimeCreated", "#CFFILE.TimeCreated#"); StructInsert(fileStruct, "TimeLastModified", "#CFFILE.TimeLastModified#"); 3) When I try to output the uploadedFile.TimeLastModified attribute, it's an empty string... and it has nothing to do with the struct, it's empty even if you #CFFILE.TimeLastModified# 4) So I am left here still wondering, how do I get a file's moddate 5) I already tried unquoted attribute names, to no avail. 6) I already tried #CreateDateTime( CFFILE.TimeLastModified )# the problem is still that .TimeLastModified EQ "" TIA for your very valuable assistance in this very important matter. Geoff Hoffman [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists