Re: Cfform upload - Form Field contains no file
I have re-written the code and it is working, except that the renaming of the files (filefield=#variables.filename#) part is not working. When I dump (see code below) the session variable that I am assigning to filefield, I get the correct result, but the filename is not changed on upload when I check them at where there are stored. !--- Assign the productID to a session variable --- cflock timeout=20 scope=Session type=Exclusive cfset Session.ExtraProductImgName = URL.Cnsmr_ProductID /cflock !--testing for the value of session variable -- cfdump var=#Session.ExtraProductImgName# !---create variable to hold destination of uploaded files--- cfset upLoadDestination = #ExpandPath('images/consumer/')# cfif isdefined(form.upload) cfloop index=i from=1 to=#Session.numberoffields# step=1 cfset filename = #Session.ExtraProductImgName# #i# !--- cfif evaluate(variables.filename) neq --- cffile action=UPLOAD destination=#upLoadDestination# nameconflict=makeunique filefield=#variables.filename# !---/cfif--- /cfloop !--- Delete the session variable after uploading files related to this particular ProductID --- cflock timeout=20 scope=Session type=Exclusive cfset StructDelete(Session, ExtraProductImgName) /cflock /cfif /cfif !--- end extra upload processing --- Fawzi, Are you saying that you removed the nested cf-tags and the problem persists? If that is what you are saying, please post your new code as edited, so we can see what else might be wrong. William ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321209 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Cfform upload - Form Field contains no file
cffile action=upload DOES NOT rename files. it just moves the uploaded file from the temp upload dir on the server to the dir on the server you specify in the DESTINATION attribute. depending on the value of NAMECONFLICT attribute, this action will either overwrite a file with the same name if it already exists in the destination folder, or will append a sequential number to the file name. to rename a file you should use cffile action=rename. Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Fawzi Amadu wrote: I have re-written the code and it is working, except that the renaming of the files (filefield=#variables.filename#) part is not working. When I dump (see code below) the session variable that I am assigning to filefield, I get the correct result, but the filename is not changed on upload when I check them at where there are stored. !--- Assign the productID to a session variable --- cflock timeout=20 scope=Session type=Exclusive cfset Session.ExtraProductImgName = URL.Cnsmr_ProductID /cflock !--testing for the value of session variable -- cfdump var=#Session.ExtraProductImgName# !---create variable to hold destination of uploaded files--- cfset upLoadDestination = #ExpandPath('images/consumer/')# cfif isdefined(form.upload) cfloop index=i from=1 to=#Session.numberoffields# step=1 cfset filename = #Session.ExtraProductImgName# #i# !--- cfif evaluate(variables.filename) neq --- cffile action=UPLOAD destination=#upLoadDestination# nameconflict=makeunique filefield=#variables.filename# !---/cfif--- /cfloop !--- Delete the session variable after uploading files related to this particular ProductID --- cflock timeout=20 scope=Session type=Exclusive cfset StructDelete(Session, ExtraProductImgName) /cflock /cfif /cfif !--- end extra upload processing --- Fawzi, Are you saying that you removed the nested cf-tags and the problem persists? If that is what you are saying, please post your new code as edited, so we can see what else might be wrong. William ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321210 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
simple RegEx?
This should be simple for all you RegEx Gurus. I have a textarea field that may contain list numbers such as : (i) (ii). What I want to do is convert those to LI statements. I know you have to escape the parathesis but it produces: LIi) and LIii) How can I change it just to an LI statement (regardless on the list number, since it can be i, ii, iii, iv) I tried: rereplace(myTextField,'\(*\)','ALL') TIA! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321211 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CF 7 install...What can I delete to get more space?
I have a government machine that an idiot configured. It has 11GB of space on the C drive and I constantly have to delete things to gain space. I currently have 12MB of free space on C drive with all my apps on E drive. When C drive fills up, you all know what happens to the app. What in the CFusionMX7 can I delete to get more space? In the db folder, there is a folder called slserver54 what is that? Thanks ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321212 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Page Encoding inside CFC?
Thanks much -- this is exactly what I needed. I don't know why, but I had only tried putting it above the cfcomponent tag. Cheers, Kris We are using encoding declarations in cfcs just after cfcomponent tag and everything works fine: cfcomponent output=no cfprocessingdirective pageencoding=utf-8 cfset setEncoding(URL, utf-8) cfset setEncoding(Form, utf-8) Bilgehan I've got a function that replaces accented characters with english-type characters -- this is for file naming and such. It works fine until I put the function in a component. On a plain ole .cfm page, it works great as long as the cfprocessingdirective for pageencoding=utf-8. Without the directive, it works fine on text typed directly into the template, but text returned from a database call is not replaced correctly. In the .cfc, I'm unsure how to force the encoding. I'm running CF7. Any advice is greatly appreciated. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321213 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF 7 install...What can I delete to get more space?
Brian Yager wrote: I have a government machine that an idiot configured. It has 11GB of space on the C drive and I constantly have to delete things to gain space. I currently have 12MB of free space on C drive with all my apps on E drive. When C drive fills up, you all know what happens to the app. What in the CFusionMX7 can I delete to get more space? In the db folder, there is a folder called slserver54 what is that? Thanks A thinking 'out of the box' suggestion. But can you reinstall CF to the drive with more space. It does not have to be on the C drive. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321214 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: simple RegEx?
Check the stackoverflow in this result: http://www.google.co.uk/search?hl=enq=find+roman+numerals+regexbtnG=Search meta= Adrian -Original Message- From: CF Developer [mailto:coldfus...@mindkeeper.net] Sent: 02 April 2009 13:00 To: cf-talk Subject: simple RegEx? This should be simple for all you RegEx Gurus. I have a textarea field that may contain list numbers such as : (i) (ii). What I want to do is convert those to LI statements. I know you have to escape the parathesis but it produces: LIi) and LIii) How can I change it just to an LI statement (regardless on the list number, since it can be i, ii, iii, iv) I tried: rereplace(myTextField,'\(*\)','ALL') TIA! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321215 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF 7 install...What can I delete to get more space?
Check recycle bin settings? Default reserves 10% of drive space for recycle bin. I kick mine down to 1% Look for .dmp files. If the machine had a memory dump in the past, those files could still be there. Search for file more the 25MB. What shows up? Setup files, tmp files, and log files that could be deleted? -Original Message- From: Ian Skinner [mailto:h...@ilsweb.com] Sent: Thursday, April 02, 2009 7:22 AM To: cf-talk Subject: Re: CF 7 install...What can I delete to get more space? Brian Yager wrote: I have a government machine that an idiot configured. It has 11GB of space on the C drive and I constantly have to delete things to gain space. I currently have 12MB of free space on C drive with all my apps on E drive. When C drive fills up, you all know what happens to the app. What in the CFusionMX7 can I delete to get more space? In the db folder, there is a folder called slserver54 what is that? Thanks A thinking 'out of the box' suggestion. But can you reinstall CF to the drive with more space. It does not have to be on the C drive. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321216 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF 7 install...What can I delete to get more space?
Delete old log files - make sure you roll them on occasion. If your sending lots of email out via CFMAIL make sure your mail/undelivered folder is not store large amounts of undeliverable mail. Do what the others have suggested. Wil Genovese Sr. Web Application Developer On Thu, Apr 2, 2009 at 10:09 AM, Brian Yager brian.yager@mda.milwrote: I have a government machine that an idiot configured. It has 11GB of space on the C drive and I constantly have to delete things to gain space. I currently have 12MB of free space on C drive with all my apps on E drive. When C drive fills up, you all know what happens to the app. What in the CFusionMX7 can I delete to get more space? In the db folder, there is a folder called slserver54 what is that? Thanks ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321217 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
would you consider this a bug, CF8
cfset date1 = '11/30/2008' / cfoutput cfloop from=1 to=6 index = i cfset date2 = dateAdd('m', i, date1) / #dateFormat(date2,'mm/dd/')#br / /cfloop /cfoutput very simple code. however, its behaving like i dont want it to. id rather see it increment by a MONTH, not same day next month. the output of that code above is: 12/30/2008 01/30/2009 02/28/2009 03/30/2009 04/30/2009 05/30/2009 and i would rather it be 12/31/2008 1/31/2009 2/28/2009 3/31/2009 4/30/2009 5/31/2009 what should i be using? this is weird... i supply m to get month increment, but no dice... thanks tw ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321218 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: would you consider this a bug, CF8
That's odd, but not unexpected. Since you're starting on the 30th, it's adding a month to that and reduces when the month doesn't have 30 days in it. It's not taking the initiative of thinking you want the last day of the month. Maybe this would work? cfset date1 = '11/01/2008' / cfoutput cfloop from=1 to=6 index = i cfset date2 = dateAdd('m', i, date1) / #dateFormat(date2,'mm')#/#daysInMonth( date2 )#/#dateFormat(date2,'')#br / /cfloop /cfoutput Francois Levesque http://blog.critical-web.com/ On Thu, Apr 2, 2009 at 11:05 AM, Tony tonyw...@gmail.com wrote: cfset date1 = '11/30/2008' / cfoutput cfloop from=1 to=6 index = i cfset date2 = dateAdd('m', i, date1) / #dateFormat(date2,'mm/dd/')#br / /cfloop /cfoutput very simple code. however, its behaving like i dont want it to. id rather see it increment by a MONTH, not same day next month. the output of that code above is: 12/30/2008 01/30/2009 02/28/2009 03/30/2009 04/30/2009 05/30/2009 and i would rather it be 12/31/2008 1/31/2009 2/28/2009 3/31/2009 4/30/2009 5/31/2009 what should i be using? this is weird... i supply m to get month increment, but no dice... thanks tw ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321219 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: would you consider this a bug, CF8
Look at the DaysInMonth() function. -Ryan Tony wrote: cfset date1 = '11/30/2008' / cfoutput cfloop from=1 to=6 index = i cfset date2 = dateAdd('m', i, date1) / #dateFormat(date2,'mm/dd/')#br / /cfloop /cfoutput very simple code. however, its behaving like i dont want it to. id rather see it increment by a MONTH, not same day next month. the output of that code above is: 12/30/2008 01/30/2009 02/28/2009 03/30/2009 04/30/2009 05/30/2009 and i would rather it be 12/31/2008 1/31/2009 2/28/2009 3/31/2009 4/30/2009 5/31/2009 what should i be using? this is weird... i supply m to get month increment, but no dice... thanks tw ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321220 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: would you consider this a bug, CF8
Its not a bug infact its exactly as you specified try this instead: #dateFormat(date2,'m/dd/')# with a single m here is a good reference for dateFormat: http://www.cfquickdocs.com/cf8/#DateFormat Paul. On Thu, Apr 2, 2009 at 11:05 AM, Tony tonyw...@gmail.com wrote: cfset date1 = '11/30/2008' / cfoutput cfloop from=1 to=6 index = i cfset date2 = dateAdd('m', i, date1) / #dateFormat(date2,'mm/dd/')# br / /cfloop /cfoutput very simple code. however, its behaving like i dont want it to. id rather see it increment by a MONTH, not same day next month. the output of that code above is: 12/30/2008 01/30/2009 02/28/2009 03/30/2009 04/30/2009 05/30/2009 and i would rather it be 12/31/2008 1/31/2009 2/28/2009 3/31/2009 4/30/2009 5/31/2009 what should i be using? this is weird... i supply m to get month increment, but no dice... thanks tw ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321221 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Button to support both IE and Firefox
Thank you, Peter. I'll try it tonight and update you folks then. Don, the following code should work in all major browsers - certainly I've tested in Firefox 3, IE7, Chrome, and Opera 9. Here's the HTML: button type=button class=download data-file=http://xyz. com/somefile.zipDownload the File/button Note how I've used a class there - instead of inline styles - here is the styling: style type=text/css button.download { background-color: lightgreen; width: 150px; } /style Finally, here is the scripting to use: script type=text/javascript src=http://ajax.googleapis. com/ajax/libs/jquery/1.3.2/jquery.min.js/script script type=text/javascript $j = jQuery.noConflict(); $j(document).ready ( function() { $j('.download').click( downloadFile ); } ); function downloadFile() { location.href = $j(this).attr('data-file'); } /script This is all a lot of code, but it is a more reliable/flexible way of doing it, especially for when (not if) you need to extend things. Feel free to ask if any of this is unclear. :) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321222 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: would you consider this a bug, CF8
couple things... 1. its easy as pie to code around, i was actually doing first of next month, less 1 day... which works as well as your idea... and thanks! second, maybe there needs to be another incrementer, that does it logically based on calendar month, rather than days, since what is a month? its a begin on the 1st and end on a known variable day. simply incrementing by a set number of days to find the day next month is weird, since not all months have all those days. maybe the JAVA should be smart enough to notice that the date is an end of a month, and if the incrementer is m, go by calendar month, not by same day next month... right? tw On Thu, Apr 2, 2009 at 11:15 AM, Francois Levesque cfab...@gmail.com wrote: That's odd, but not unexpected. Since you're starting on the 30th, it's adding a month to that and reduces when the month doesn't have 30 days in it. It's not taking the initiative of thinking you want the last day of the month. Maybe this would work? cfset date1 = '11/01/2008' / cfoutput cfloop from=1 to=6 index = i cfset date2 = dateAdd('m', i, date1) / #dateFormat(date2,'mm')#/#daysInMonth( date2 )#/#dateFormat(date2,'')# br / /cfloop /cfoutput Francois Levesque http://blog.critical-web.com/ On Thu, Apr 2, 2009 at 11:05 AM, Tony tonyw...@gmail.com wrote: cfset date1 = '11/30/2008' / cfoutput cfloop from=1 to=6 index = i cfset date2 = dateAdd('m', i, date1) / #dateFormat(date2,'mm/dd/')# br / /cfloop /cfoutput very simple code. however, its behaving like i dont want it to. id rather see it increment by a MONTH, not same day next month. the output of that code above is: 12/30/2008 01/30/2009 02/28/2009 03/30/2009 04/30/2009 05/30/2009 and i would rather it be 12/31/2008 1/31/2009 2/28/2009 3/31/2009 4/30/2009 5/31/2009 what should i be using? this is weird... i supply m to get month increment, but no dice... thanks tw ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321223 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: would you consider this a bug, CF8
yup, thats what francois said... works, but still odd. tw On Thu, Apr 2, 2009 at 11:22 AM, Ryan Stille r...@cfwebtools.com wrote: Look at the DaysInMonth() function. -Ryan Tony wrote: cfset date1 = '11/30/2008' / cfoutput cfloop from=1 to=6 index = i cfset date2 = dateAdd('m', i, date1) / #dateFormat(date2,'mm/dd/')# br / /cfloop /cfoutput very simple code. however, its behaving like i dont want it to. id rather see it increment by a MONTH, not same day next month. the output of that code above is: 12/30/2008 01/30/2009 02/28/2009 03/30/2009 04/30/2009 05/30/2009 and i would rather it be 12/31/2008 1/31/2009 2/28/2009 3/31/2009 4/30/2009 5/31/2009 what should i be using? this is weird... i supply m to get month increment, but no dice... thanks tw ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321224 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Simple text to image?
Sorry I'm not totally keeping up on cf8 stuff... a quick browsing of the CFimage tag does not seem to indicate it can convert a simple text file/content into an image file. Any tag/function with cf8 that is able to do this job? Many thanks as usual. Don Chunshen Li ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321225 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: would you consider this a bug, CF8
Or you could start with the first, add a month, then take away a day: cfset date1 = CreateDate(2008, 12, 1)!--- best to create a date object than using a string... --- cfoutput cfloop from=1 to=6 index=i cfset date2 = dateAdd('d', -1, dateAdd('m', i, date1)) #dateFormat(date2, 'mm/dd/')#br / /cfloop /cfoutput Bert On Thu, Apr 2, 2009 at 10:15 AM, Francois Levesque cfab...@gmail.comwrote: That's odd, but not unexpected. Since you're starting on the 30th, it's adding a month to that and reduces when the month doesn't have 30 days in it. It's not taking the initiative of thinking you want the last day of the month. Maybe this would work? cfset date1 = '11/01/2008' / cfoutput cfloop from=1 to=6 index = i cfset date2 = dateAdd('m', i, date1) / #dateFormat(date2,'mm')#/#daysInMonth( date2 )#/#dateFormat(date2,'')#br / /cfloop /cfoutput Francois Levesque http://blog.critical-web.com/ On Thu, Apr 2, 2009 at 11:05 AM, Tony tonyw...@gmail.com wrote: cfset date1 = '11/30/2008' / cfoutput cfloop from=1 to=6 index = i cfset date2 = dateAdd('m', i, date1) / #dateFormat(date2,'mm/dd/')# br / /cfloop /cfoutput very simple code. however, its behaving like i dont want it to. id rather see it increment by a MONTH, not same day next month. the output of that code above is: 12/30/2008 01/30/2009 02/28/2009 03/30/2009 04/30/2009 05/30/2009 and i would rather it be 12/31/2008 1/31/2009 2/28/2009 3/31/2009 4/30/2009 5/31/2009 what should i be using? this is weird... i supply m to get month increment, but no dice... thanks tw ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321226 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Coldfusion 8 Server Install
Hi There, OK! It's up and running now after I did the following: [1]. create a .CAR file from CF8 Developer version [2]. uninstall CF7 enterprise and CF8 dev [3]. reinstalled CF8 dev as the single server and redeployed the .car [4]. convert Dev to CF8 Standard. Note: if you have put anything (CustomTags, and etc.) previously in the ColdFusion8 folder, you need to double check whether it's still there after the re-installation because you may have installed CF8 in a new folder. Thank all of you very much! Ming Lu ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321227 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: would you consider this a bug, CF8
You will need to build into it some kludge then that if the month has 21 days, calculate it that way and so on. I don't think ColdFusion has a Last day of the month function. I may be incorrect though. I still haven't had my morning coffee. On Thu, Apr 2, 2009 at 8:30 AM, Bert Dawson bert...@gmail.com wrote: Or you could start with the first, add a month, then take away a day: cfset date1 = CreateDate(2008, 12, 1)!--- best to create a date object than using a string... --- cfoutput cfloop from=1 to=6 index=i cfset date2 = dateAdd('d', -1, dateAdd('m', i, date1)) #dateFormat(date2, 'mm/dd/')#br / /cfloop /cfoutput Bert On Thu, Apr 2, 2009 at 10:15 AM, Francois Levesque cfab...@gmail.comwrote: That's odd, but not unexpected. Since you're starting on the 30th, it's adding a month to that and reduces when the month doesn't have 30 days in it. It's not taking the initiative of thinking you want the last day of the month. Maybe this would work? cfset date1 = '11/01/2008' / cfoutput cfloop from=1 to=6 index = i cfset date2 = dateAdd('m', i, date1) / #dateFormat(date2,'mm')#/#daysInMonth( date2 )#/#dateFormat(date2,'')# br / /cfloop /cfoutput Francois Levesque http://blog.critical-web.com/ On Thu, Apr 2, 2009 at 11:05 AM, Tony tonyw...@gmail.com wrote: cfset date1 = '11/30/2008' / cfoutput cfloop from=1 to=6 index = i cfset date2 = dateAdd('m', i, date1) / #dateFormat(date2,'mm/dd/')# br / /cfloop /cfoutput very simple code. however, its behaving like i dont want it to. id rather see it increment by a MONTH, not same day next month. the output of that code above is: 12/30/2008 01/30/2009 02/28/2009 03/30/2009 04/30/2009 05/30/2009 and i would rather it be 12/31/2008 1/31/2009 2/28/2009 3/31/2009 4/30/2009 5/31/2009 what should i be using? this is weird... i supply m to get month increment, but no dice... thanks tw ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321228 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Simple text to image?
Here is a demo that writes text onto images. Start with a base image ( or create new empty one ) and you can write text to it. http://tutorial4.learncf.com/ Paul. On Thu, Apr 2, 2009 at 12:24 PM, Don L do...@yahoo.com wrote: Sorry I'm not totally keeping up on cf8 stuff... a quick browsing of the CFimage tag does not seem to indicate it can convert a simple text file/content into an image file. Any tag/function with cf8 that is able to do this job? Many thanks as usual. Don Chunshen Li ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321229 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: would you consider this a bug, CF8
Still, what if you really wanted it to be the 30th? Do we really want the engine to make this kind of assumption? I guess the best solution would be like you said: add another incrementer. That way we would have the option: increment by month and keep the position relative to end of month, or increment by month and keep day. Francois Levesque http://blog.critical-web.com/ On Thu, Apr 2, 2009 at 11:28 AM, Tony tonyw...@gmail.com wrote: couple things... 1. its easy as pie to code around, i was actually doing first of next month, less 1 day... which works as well as your idea... and thanks! second, maybe there needs to be another incrementer, that does it logically based on calendar month, rather than days, since what is a month? its a begin on the 1st and end on a known variable day. simply incrementing by a set number of days to find the day next month is weird, since not all months have all those days. maybe the JAVA should be smart enough to notice that the date is an end of a month, and if the incrementer is m, go by calendar month, not by same day next month... right? tw On Thu, Apr 2, 2009 at 11:15 AM, Francois Levesque cfab...@gmail.com wrote: That's odd, but not unexpected. Since you're starting on the 30th, it's adding a month to that and reduces when the month doesn't have 30 days in it. It's not taking the initiative of thinking you want the last day of the month. Maybe this would work? cfset date1 = '11/01/2008' / cfoutput cfloop from=1 to=6 index = i cfset date2 = dateAdd('m', i, date1) / #dateFormat(date2,'mm')#/#daysInMonth( date2 )#/#dateFormat(date2,'')#br / /cfloop /cfoutput Francois Levesque http://blog.critical-web.com/ On Thu, Apr 2, 2009 at 11:05 AM, Tony tonyw...@gmail.com wrote: cfset date1 = '11/30/2008' / cfoutput cfloop from=1 to=6 index = i cfset date2 = dateAdd('m', i, date1) / #dateFormat(date2,'mm/dd/')# br / /cfloop /cfoutput very simple code. however, its behaving like i dont want it to. id rather see it increment by a MONTH, not same day next month. the output of that code above is: 12/30/2008 01/30/2009 02/28/2009 03/30/2009 04/30/2009 05/30/2009 and i would rather it be 12/31/2008 1/31/2009 2/28/2009 3/31/2009 4/30/2009 5/31/2009 what should i be using? this is weird... i supply m to get month increment, but no dice... thanks tw ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321230 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: would you consider this a bug, CF8
i think it would be ok, if it was the END of the month, you know... since if i put in 11/30 and i say, ok, cf increment that by a month... i cant imagine a use case where anyone in any industry would want it to not go to the end of December? but yeah, a different incrementer would be the BEST case, i think. tw On Thu, Apr 2, 2009 at 11:43 AM, Francois Levesque cfab...@gmail.com wrote: Still, what if you really wanted it to be the 30th? Do we really want the engine to make this kind of assumption? I guess the best solution would be like you said: add another incrementer. That way we would have the option: increment by month and keep the position relative to end of month, or increment by month and keep day. Francois Levesque http://blog.critical-web.com/ On Thu, Apr 2, 2009 at 11:28 AM, Tony tonyw...@gmail.com wrote: couple things... 1. its easy as pie to code around, i was actually doing first of next month, less 1 day... which works as well as your idea... and thanks! second, maybe there needs to be another incrementer, that does it logically based on calendar month, rather than days, since what is a month? its a begin on the 1st and end on a known variable day. simply incrementing by a set number of days to find the day next month is weird, since not all months have all those days. maybe the JAVA should be smart enough to notice that the date is an end of a month, and if the incrementer is m, go by calendar month, not by same day next month... right? tw On Thu, Apr 2, 2009 at 11:15 AM, Francois Levesque cfab...@gmail.com wrote: That's odd, but not unexpected. Since you're starting on the 30th, it's adding a month to that and reduces when the month doesn't have 30 days in it. It's not taking the initiative of thinking you want the last day of the month. Maybe this would work? cfset date1 = '11/01/2008' / cfoutput cfloop from=1 to=6 index = i cfset date2 = dateAdd('m', i, date1) / #dateFormat(date2,'mm')#/#daysInMonth( date2 )#/#dateFormat(date2,'')# br / /cfloop /cfoutput Francois Levesque http://blog.critical-web.com/ On Thu, Apr 2, 2009 at 11:05 AM, Tony tonyw...@gmail.com wrote: cfset date1 = '11/30/2008' / cfoutput cfloop from=1 to=6 index = i cfset date2 = dateAdd('m', i, date1) / #dateFormat(date2,'mm/dd/')# br / /cfloop /cfoutput very simple code. however, its behaving like i dont want it to. id rather see it increment by a MONTH, not same day next month. the output of that code above is: 12/30/2008 01/30/2009 02/28/2009 03/30/2009 04/30/2009 05/30/2009 and i would rather it be 12/31/2008 1/31/2009 2/28/2009 3/31/2009 4/30/2009 5/31/2009 what should i be using? this is weird... i supply m to get month increment, but no dice... thanks tw ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321231 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
.net cookies transfer to CF Session Values?
I've got a client that's decided to try and use a .net login system written for one of their sites for *all* their sites, including the huge CF site I maintain for them. Looking at the .net code for this thing *really* reminds me why I like Coldfusion so much - sheesh, 15 or so files and a couple thousand lines of code to log somebody in? Anyway, it all comes down to the below if the login is successful: Response.Cookies[mysite_loggedin].Value = user+|+pass+|+pin; Response.Cookies[mysite_loggedin].Expires = DateTime.Now.AddDays(14); HttpCookie aCookie = new HttpCookie(mysite_loggedin); aCookie.Value = user+|+pass+|+pin; aCookie.Expires = DateTime.Now.AddDays(14); Response.Cookies.Add(aCookie); I'd like to be able to transfer those cookie values over to CF Session values, which thusly would have them counted as logged in on the CF Admin section of the CF site. I'm not .net literate - but could somebody point me in the right direction to be able to swap the .net cookes/values for CF session values? Ideas? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321232 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF 7 install...What can I delete to get more space?
I have a government machine that an idiot configured. It has 11GB of space on the C drive and I constantly have to delete things to gain space. I currently have 12MB of free space on C drive with all my apps on E drive. When C drive fills up, you all know what happens to the app. What in the CFusionMX7 can I delete to get more space? In the db folder, there is a folder called slserver54 what is that? The slserver54 directory contains the files used by the ODBC-JDBC bridge (SequeLink) used by CF. * wouldn't delete anything in the CF folder other than logs. I suggest you reinstall CF onto the other drive. If that's not an option, you might be able to move it without reinstalling it. The easiest way to do this is: 1. Stop CF and CF-related services. 2. Move the CF folder to the second drive. 3. Use junction.exe, a Sysinternals tool, to create a junction on the first drive that points to the folder on the second drive. 4. Restart CF and CF-related services. This requires that both drives be NTFS. It should take about ten minutes. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more inform ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321233 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CF8 linux not recognising CF mapping
I'm trying to port from CF7 on windows to CF8 on linux. Everything was going fine, and was working, and then something happened and it went wierd: things which were previously working weren't. The guys configuring the linux box can't remember what they might have done as this happened a while ago. When I try to include a file via a CF mapping, it not only fails to find the file, but it doesn't throw a file not found exception, and just includes the index.cfm again, leading to an infinite loop. Any ideas why it isn't picking up the CF mapping? (The failure to throw an error, and to re-include the index.cfm is also odd, but that appears to happen on my mac CF8 when the CF mapping doesn't exist, so i'm not so concerned about that. I just need to get it to honour the CF mapping) Cheers Bert Here's my mapping, which points to the webroot: /testmapping1 /home/bdawson/trips/trunk/trips2/www_versions/-wvr-en-something-/ The contents of the webroot: [bdaw...@cfusion-tng -wvr-en-something-]$ pwd /home/bdawson/trips/trunk/trips2/www_versions/-wvr-en-something- [bdaw...@cfusion-tng -wvr-en-something-]$ ls -l -rwxrwxrwx 1 bdawson likewise 59 Apr 2 09:53 Application.cfc -rwxrwxrwx 1 bdawson likewise 59 Apr 2 09:53 include.cfm -rwxrwxrwx 1 bdawson likewise 301 Apr 2 10:26 index.cfm Application.cfc and include.cfm both contain the following: brbr cfoutput#getcurrenttemplatepath()#/cfoutput brbr index.cfm has: cfoutput cfparam name=request.counter default=0 cfset request.counter = request.counter + 1 cfif request.counter GT 3 brAborted in #getcurrenttemplatepath()# to prevent infinite loop cfabort /cfif brbr #getcurrenttemplatepath()# br cftry include #request.counter#: cfinclude template=/testmapping1/include.cfm cfcatchcfdump var=#cfcatch.message#/cfcatch /cftry brbr /cfoutput And here's the output i get: /home/bdawson/trips/trunk/trips2/www_versions/-wvr-en-homeaway-/Application.cfc /home/bdawson/trips/trunk/trips2/www_versions/-wvr-en-homeaway-/index.cfm include 1: /home/bdawson/trips/trunk/trips2/www_versions/-wvr-en-homeaway-/index.cfm include 2: /home/bdawson/trips/trunk/trips2/www_versions/-wvr-en-homeaway-/index.cfm include 3: Aborted in /home/bdawson/trips/trunk/trips2/www_versions/-wvr-en-homeaway-/index.cfm to prevent infinite loop It looks like the file is being not found, but in stead of throwing an exception it is including the index.cfm If I change the cfinclude to be cfinclude template= testmapping1/include.cfm then it throws a file not found exception as expected. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321234 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Looking for a Fusebox 4+ or 5+ eCommerce solution
Hi Folks! I am on the hunt for a CF Fusebox 4+ or 5+ eCommerce solution, and can't find any -- other than the demos at Fusebox.org. Has no one developed such a thing? I would build one myself, but I just don't know how I would find the time to do so. Surely there must be something out there... -- Cheers! Michael David ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321235 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: .net cookies transfer to CF Session Values?
write them to javascript cookie vars, then yank them outta there into cf session variables cfRas On Thu, Apr 2, 2009 at 11:50 AM, Les Mizzell lesm...@bellsouth.net wrote: I've got a client that's decided to try and use a .net login system written for one of their sites for *all* their sites, including the huge CF site I maintain for them. Looking at the .net code for this thing *really* reminds me why I like Coldfusion so much - sheesh, 15 or so files and a couple thousand lines of code to log somebody in? Anyway, it all comes down to the below if the login is successful: Response.Cookies[mysite_loggedin].Value = user+|+pass+|+pin; Response.Cookies[mysite_loggedin].Expires = DateTime.Now.AddDays(14); HttpCookie aCookie = new HttpCookie(mysite_loggedin); aCookie.Value = user+|+pass+|+pin; aCookie.Expires = DateTime.Now.AddDays(14); Response.Cookies.Add(aCookie); I'd like to be able to transfer those cookie values over to CF Session values, which thusly would have them counted as logged in on the CF Admin section of the CF site. I'm not .net literate - but could somebody point me in the right direction to be able to swap the .net cookes/values for CF session values? Ideas? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321236 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE:_Simple_text_to_image?
This is not CF8, but we love using Efflare's gFont CFX. Works great for things like barcodes if you have the font. Efflare.com -Original Message- From: Don L [mailto:do...@yahoo.com] Sent: Thursday, April 02, 2009 12:25 PM To: cf-talk Subject: Simple text to image? Sorry I'm not totally keeping up on cf8 stuff... a quick browsing of the CFimage tag does not seem to indicate it can convert a simple text file/content into an image file. Any tag/function with cf8 that is able to do this job? Many thanks as usual. Don Chunshen Li ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321237 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF 7 install...What can I delete to get more space?
If you have MSSQL server installed on the C drive the log files get pretty big. Even under light use the SQL server on my dev box has racked up over 100 megs in log files. I would also look and see if Disk Cleanup can buy you some space: Accessories System Tools disk cleanup. You can also look at having Windows compress old log files (if you need to keep them) . It took a 20 meg log file down to 3 megs. HTH, G On Thu, Apr 2, 2009 at 11:09 AM, Brian Yager brian.yager@mda.milwrote: I have a government machine that an idiot configured. It has 11GB of space on the C drive and I constantly have to delete things to gain space. I currently have 12MB of free space on C drive with all my apps on E drive. When C drive fills up, you all know what happens to the app. What in the CFusionMX7 can I delete to get more space? In the db folder, there is a folder called slserver54 what is that? Thanks ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321238 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
POST variables not accessible with clean URL system in IIS 7
Using IIS7 to pass fake URLs throught to ColdFusion for parsing. Ex: http://www.whatev.com/benForta/favoriteFoods/ Note: There is no benForta nor favoriteFoods directory. The URL scope works perfectly but when I submit a form using POST the scope isn't populated. CGI.CONTENT_TYPE knows it's a application/x-www-form-urlencoded request, but I can't get to those variables. Is there some lower-level way to access the POST data ( I'm assuming URL and FORM just parse from some HTTP handover collection or string )?? Thanks! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321239 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: POST variables not accessible with clean URL system in IIS 7
You can try looking at GetHTTPRequestData(). Not sure if that has what you need (and I think it changes the way it functions if FILE data is submitted with FORM). I think you'd be better off trying to fix whatever the underlying problem is rather than work around it. ... I'm sure you're trying to do that already :) I was just saying -Ben On Thu, Apr 2, 2009 at 1:37 PM, David McGuigan davidmcgui...@gmail.comwrote: Using IIS7 to pass fake URLs throught to ColdFusion for parsing. Ex: http://www.whatev.com/benForta/favoriteFoods/ Note: There is no benForta nor favoriteFoods directory. The URL scope works perfectly but when I submit a form using POST the scope isn't populated. CGI.CONTENT_TYPE knows it's a application/x-www-form-urlencoded request, but I can't get to those variables. Is there some lower-level way to access the POST data ( I'm assuming URL and FORM just parse from some HTTP handover collection or string )?? Thanks! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321240 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: would you consider this a bug, CF8
Definitely not odd, when you think through all the possible use cases. If I build an auto-incrementer that takes in any start date, then I may have a July 28 start, which would indicate that 1 month out must be August 28 and one month back must be June 28. Given that scenario, how would the underlying code ever be expected to jump from that to assume that one month forward from February 28 would need to be March 31? Yes, they're both the end of month, but 3/31 is not really one month out from 2/28, while 6/28 is always precisely one month back from 7/28. If what you always want is give me the end of the next month, then that needs to be a special case, as indicated in several of the solutions presented on this thread to date. My 2c ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321241 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: POST variables not accessible with clean URL system in IIS 7
What do you mean my underlying problem? It just seems like ColdFusion isn't set up to correctly interpret posts when fed from IIS 7's custom error handling mechanism. There's nothing wrong with my code. On Thu, Apr 2, 2009 at 11:50 AM, Ben Nadel b...@bennadel.com wrote: You can try looking at GetHTTPRequestData(). Not sure if that has what you need (and I think it changes the way it functions if FILE data is submitted with FORM). I think you'd be better off trying to fix whatever the underlying problem is rather than work around it. ... I'm sure you're trying to do that already :) I was just saying -Ben On Thu, Apr 2, 2009 at 1:37 PM, David McGuigan davidmcgui...@gmail.com wrote: Using IIS7 to pass fake URLs throught to ColdFusion for parsing. Ex: http://www.whatev.com/benForta/favoriteFoods/ Note: There is no benForta nor favoriteFoods directory. The URL scope works perfectly but when I submit a form using POST the scope isn't populated. CGI.CONTENT_TYPE knows it's a application/x-www-form-urlencoded request, but I can't get to those variables. Is there some lower-level way to access the POST data ( I'm assuming URL and FORM just parse from some HTTP handover collection or string )?? Thanks! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321242 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: POST variables not accessible with clean URL system in IIS 7
David, Sorry, I didn't mean with your underlying code :) I mean that maybe there is something wrong with the way the URL rewrite is configured. I don't know anything about it, but it seems crazy that the product wouldn't be able to pass off FORM scope variables properly. I figured someone else would comment on it with a better answer. On Thu, Apr 2, 2009 at 1:58 PM, David McGuigan davidmcgui...@gmail.comwrote: What do you mean my underlying problem? It just seems like ColdFusion isn't set up to correctly interpret posts when fed from IIS 7's custom error handling mechanism. There's nothing wrong with my code. On Thu, Apr 2, 2009 at 11:50 AM, Ben Nadel b...@bennadel.com wrote: You can try looking at GetHTTPRequestData(). Not sure if that has what you need (and I think it changes the way it functions if FILE data is submitted with FORM). I think you'd be better off trying to fix whatever the underlying problem is rather than work around it. ... I'm sure you're trying to do that already :) I was just saying -Ben On Thu, Apr 2, 2009 at 1:37 PM, David McGuigan davidmcgui...@gmail.com wrote: Using IIS7 to pass fake URLs throught to ColdFusion for parsing. Ex: http://www.whatev.com/benForta/favoriteFoods/ Note: There is no benForta nor favoriteFoods directory. The URL scope works perfectly but when I submit a form using POST the scope isn't populated. CGI.CONTENT_TYPE knows it's a application/x-www-form-urlencoded request, but I can't get to those variables. Is there some lower-level way to access the POST data ( I'm assuming URL and FORM just parse from some HTTP handover collection or string )?? Thanks! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321243 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: POST variables not accessible with clean URL system in IIS 7
But that method is exactly what I was looking for. And it seems like it's a bug, because the content key provided by that method is empty. Dangit. I guess the current limitation is you have to post to literal files with CF 8 and IIS 7. On Thu, Apr 2, 2009 at 11:50 AM, Ben Nadel b...@bennadel.com wrote: You can try looking at GetHTTPRequestData(). Not sure if that has what you need (and I think it changes the way it functions if FILE data is submitted with FORM). I think you'd be better off trying to fix whatever the underlying problem is rather than work around it. ... I'm sure you're trying to do that already :) I was just saying -Ben On Thu, Apr 2, 2009 at 1:37 PM, David McGuigan davidmcgui...@gmail.com wrote: Using IIS7 to pass fake URLs throught to ColdFusion for parsing. Ex: http://www.whatev.com/benForta/favoriteFoods/ Note: There is no benForta nor favoriteFoods directory. The URL scope works perfectly but when I submit a form using POST the scope isn't populated. CGI.CONTENT_TYPE knows it's a application/x-www-form-urlencoded request, but I can't get to those variables. Is there some lower-level way to access the POST data ( I'm assuming URL and FORM just parse from some HTTP handover collection or string )?? Thanks! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321244 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: POST variables not accessible with clean URL system in IIS 7
At its most basic, GET will populate the URL scope, POST will populate the FORM scope. Is there a reason you can't look to the FORM scope during processing? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321245 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: POST variables not accessible with clean URL system in IIS 7
NP Ben, I was just confused. So you actually don't have to configure any URL rewriting with IIS 6+. You just grab the site, update the 404 custom error handler to use a URL ( Like /index.cfm ), and then change the feature settings mode to custom errors. It'll then pass everything through to the CF template you specify. From there on I'm just dumping things on that template, and neither FORM, or the result of GetHTTPRequestData are populated, which is the real issue. I'm guessing it's just that CF isn't parsing the (potentially new) IIS 7 format of custom error passthrough correctly, similar to how PHP struggles with it as described here: http://bugs.php.net/bug.php?id=38094 I've just filed the bug with Adobe. We'll see what they say, maybe there's some workaround. 2009/4/2 Jason Fisher ja...@wanax.com At its most basic, GET will populate the URL scope, POST will populate the FORM scope. Is there a reason you can't look to the FORM scope during processing? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321246 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: POST variables not accessible with clean URL system in IIS 7
Ooooh, you're using 404 handling. Gotcha. Yeah, I use that on my site a lot. I am not sure that I have ever submitted a FORM to it. You might want to look into something like ISAPI_REWRITE which I think changes the URL in a more natural way. On Thu, Apr 2, 2009 at 2:14 PM, David McGuigan davidmcgui...@gmail.comwrote: NP Ben, I was just confused. So you actually don't have to configure any URL rewriting with IIS 6+. You just grab the site, update the 404 custom error handler to use a URL ( Like /index.cfm ), and then change the feature settings mode to custom errors. It'll then pass everything through to the CF template you specify. From there on I'm just dumping things on that template, and neither FORM, or the result of GetHTTPRequestData are populated, which is the real issue. I'm guessing it's just that CF isn't parsing the (potentially new) IIS 7 format of custom error passthrough correctly, similar to how PHP struggles with it as described here: http://bugs.php.net/bug.php?id=38094 I've just filed the bug with Adobe. We'll see what they say, maybe there's some workaround. 2009/4/2 Jason Fisher ja...@wanax.com At its most basic, GET will populate the URL scope, POST will populate the FORM scope. Is there a reason you can't look to the FORM scope during processing? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321247 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: POST variables not accessible with clean URL system in IIS 7
Thanks for the suggestion. I do realize that ISAPI rewriting is an alternative, but my entire application controller is just a CF-based, dynamic translation and coordination of URLs to content, so I want to handle that with CFML logic, and not have to maintain it extraneously. Any Java fiends out there that can give me some Java methods to try to output the raw HTTP signature handed down to ColdFusion? On Thu, Apr 2, 2009 at 12:22 PM, Ben Nadel b...@bennadel.com wrote: Ooooh, you're using 404 handling. Gotcha. Yeah, I use that on my site a lot. I am not sure that I have ever submitted a FORM to it. You might want to look into something like ISAPI_REWRITE which I think changes the URL in a more natural way. On Thu, Apr 2, 2009 at 2:14 PM, David McGuigan davidmcgui...@gmail.com wrote: NP Ben, I was just confused. So you actually don't have to configure any URL rewriting with IIS 6+. You just grab the site, update the 404 custom error handler to use a URL ( Like /index.cfm ), and then change the feature settings mode to custom errors. It'll then pass everything through to the CF template you specify. From there on I'm just dumping things on that template, and neither FORM, or the result of GetHTTPRequestData are populated, which is the real issue. I'm guessing it's just that CF isn't parsing the (potentially new) IIS 7 format of custom error passthrough correctly, similar to how PHP struggles with it as described here: http://bugs.php.net/bug.php?id=38094 I've just filed the bug with Adobe. We'll see what they say, maybe there's some workaround. 2009/4/2 Jason Fisher ja...@wanax.com At its most basic, GET will populate the URL scope, POST will populate the FORM scope. Is there a reason you can't look to the FORM scope during processing? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321248 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: POST variables not accessible with clean URL system in IIS 7
Crazy suggestion, but if you convert the form method from POST to GET, the 404 handler in IIS will pass the old query string in the new query string: CGI.query_string --- 404;http.?old_query_string On Thu, Apr 2, 2009 at 2:27 PM, David McGuigan davidmcgui...@gmail.comwrote: Thanks for the suggestion. I do realize that ISAPI rewriting is an alternative, but my entire application controller is just a CF-based, dynamic translation and coordination of URLs to content, so I want to handle that with CFML logic, and not have to maintain it extraneously. Any Java fiends out there that can give me some Java methods to try to output the raw HTTP signature handed down to ColdFusion? On Thu, Apr 2, 2009 at 12:22 PM, Ben Nadel b...@bennadel.com wrote: Ooooh, you're using 404 handling. Gotcha. Yeah, I use that on my site a lot. I am not sure that I have ever submitted a FORM to it. You might want to look into something like ISAPI_REWRITE which I think changes the URL in a more natural way. On Thu, Apr 2, 2009 at 2:14 PM, David McGuigan davidmcgui...@gmail.com wrote: NP Ben, I was just confused. So you actually don't have to configure any URL rewriting with IIS 6+. You just grab the site, update the 404 custom error handler to use a URL ( Like /index.cfm ), and then change the feature settings mode to custom errors. It'll then pass everything through to the CF template you specify. From there on I'm just dumping things on that template, and neither FORM, or the result of GetHTTPRequestData are populated, which is the real issue. I'm guessing it's just that CF isn't parsing the (potentially new) IIS 7 format of custom error passthrough correctly, similar to how PHP struggles with it as described here: http://bugs.php.net/bug.php?id=38094 I've just filed the bug with Adobe. We'll see what they say, maybe there's some workaround. 2009/4/2 Jason Fisher ja...@wanax.com At its most basic, GET will populate the URL scope, POST will populate the FORM scope. Is there a reason you can't look to the FORM scope during processing? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321249 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: POST variables not accessible with clean URL system in IIS 7
Dunno about the raw Java handler, but it appears that a custom CF 404 handler does have full access to URL, FORM, CGI, etc. I threw together a CF template with this body and called it dsp.404.cfm: h1I am a 404 handler/h1 form action=nofile.cfm method=post input type=Text name=varString value=string variable / br / input type=Submit value=post / /form br / cfdump var=#form# label=FORM / cfdump var=#url# label=URL / cfdump var=#cgi# label=CGI / Then in IIS, I set the custom Error for 404 to Message Type: URL, URL: /dsp.404.cfm and then when you post that little form, the form vars show in the first dump on the custom 404 page. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321250 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: POST variables not accessible with clean URL system in IIS 7
Sweet! HttpServlet's HttpServletRequest object has a ton of methods I can dump! I've never actually called servlet methods from within CFML. Anyone got a snippet I can borrow? On Thu, Apr 2, 2009 at 12:27 PM, David McGuigan davidmcgui...@gmail.comwrote: Thanks for the suggestion. I do realize that ISAPI rewriting is an alternative, but my entire application controller is just a CF-based, dynamic translation and coordination of URLs to content, so I want to handle that with CFML logic, and not have to maintain it extraneously. Any Java fiends out there that can give me some Java methods to try to output the raw HTTP signature handed down to ColdFusion? On Thu, Apr 2, 2009 at 12:22 PM, Ben Nadel b...@bennadel.com wrote: Ooooh, you're using 404 handling. Gotcha. Yeah, I use that on my site a lot. I am not sure that I have ever submitted a FORM to it. You might want to look into something like ISAPI_REWRITE which I think changes the URL in a more natural way. On Thu, Apr 2, 2009 at 2:14 PM, David McGuigan davidmcgui...@gmail.com wrote: NP Ben, I was just confused. So you actually don't have to configure any URL rewriting with IIS 6+. You just grab the site, update the 404 custom error handler to use a URL ( Like /index.cfm ), and then change the feature settings mode to custom errors. It'll then pass everything through to the CF template you specify. From there on I'm just dumping things on that template, and neither FORM, or the result of GetHTTPRequestData are populated, which is the real issue. I'm guessing it's just that CF isn't parsing the (potentially new) IIS 7 format of custom error passthrough correctly, similar to how PHP struggles with it as described here: http://bugs.php.net/bug.php?id=38094 I've just filed the bug with Adobe. We'll see what they say, maybe there's some workaround. 2009/4/2 Jason Fisher ja...@wanax.com At its most basic, GET will populate the URL scope, POST will populate the FORM scope. Is there a reason you can't look to the FORM scope during processing? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321251 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: POST variables not accessible with clean URL system in IIS 7
Yup. Thanks Ben. My basic goal is to keep every URL that the user sees totally concise and beautiful. But I actually explored that. Good suggestion. On Thu, Apr 2, 2009 at 12:29 PM, Ben Nadel b...@bennadel.com wrote: Crazy suggestion, but if you convert the form method from POST to GET, the 404 handler in IIS will pass the old query string in the new query string: CGI.query_string --- 404;http.?old_query_string On Thu, Apr 2, 2009 at 2:27 PM, David McGuigan davidmcgui...@gmail.com wrote: Thanks for the suggestion. I do realize that ISAPI rewriting is an alternative, but my entire application controller is just a CF-based, dynamic translation and coordination of URLs to content, so I want to handle that with CFML logic, and not have to maintain it extraneously. Any Java fiends out there that can give me some Java methods to try to output the raw HTTP signature handed down to ColdFusion? On Thu, Apr 2, 2009 at 12:22 PM, Ben Nadel b...@bennadel.com wrote: Ooooh, you're using 404 handling. Gotcha. Yeah, I use that on my site a lot. I am not sure that I have ever submitted a FORM to it. You might want to look into something like ISAPI_REWRITE which I think changes the URL in a more natural way. On Thu, Apr 2, 2009 at 2:14 PM, David McGuigan davidmcgui...@gmail.com wrote: NP Ben, I was just confused. So you actually don't have to configure any URL rewriting with IIS 6+. You just grab the site, update the 404 custom error handler to use a URL ( Like /index.cfm ), and then change the feature settings mode to custom errors. It'll then pass everything through to the CF template you specify. From there on I'm just dumping things on that template, and neither FORM, or the result of GetHTTPRequestData are populated, which is the real issue. I'm guessing it's just that CF isn't parsing the (potentially new) IIS 7 format of custom error passthrough correctly, similar to how PHP struggles with it as described here: http://bugs.php.net/bug.php?id=38094 I've just filed the bug with Adobe. We'll see what they say, maybe there's some workaround. 2009/4/2 Jason Fisher ja...@wanax.com At its most basic, GET will populate the URL scope, POST will populate the FORM scope. Is there a reason you can't look to the FORM scope during processing? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321252 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: POST variables not accessible with clean URL system in IIS 7
Are you on IIS 7 perchance? On Thu, Apr 2, 2009 at 12:34 PM, Jason Fisher ja...@wanax.com wrote: Dunno about the raw Java handler, but it appears that a custom CF 404 handler does have full access to URL, FORM, CGI, etc. I threw together a CF template with this body and called it dsp.404.cfm: h1I am a 404 handler/h1 form action=nofile.cfm method=post input type=Text name=varString value=string variable / br / input type=Submit value=post / /form br / cfdump var=#form# label=FORM / cfdump var=#url# label=URL / cfdump var=#cgi# label=CGI / Then in IIS, I set the custom Error for 404 to Message Type: URL, URL: /dsp.404.cfm and then when you post that little form, the form vars show in the first dump on the custom 404 page. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321253 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Query Retries
Is there a rule of thumb on how many times a query should be retried? I'm using nested cftry/catch and will retry a maximum of 4 times. Each retry is delayed by a random number of milliseconds. Thanks for any insight. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321254 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: POST variables not accessible with clean URL system in IIS 7
Actually, I had forgotten that my local dev is probably still IIS 5, where this works perfectly. Reproducing the Custom 404 on IIS 6, however, works splendidly *except* that it doesn't pick up the FORM scope at all. Now, that's odd. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321255 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Query Retries
Why are your queries failing? On Thu, Apr 2, 2009 at 4:46 PM, Byte Me byteme...@verizon.net wrote: Is there a rule of thumb on how many times a query should be retried? I'm using nested cftry/catch and will retry a maximum of 4 times. Each retry is delayed by a random number of milliseconds. Thanks for any insight. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321256 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Query Retries
I wouldn't say there is a rule of thumb for this, if your Query is failing more than 4 times, and it happens often enough for you to need to think about this, then I think you need to stop look at how to deal with and look for ways to fix it. Why is it that your running into this problem? I can't imagine a production system where it would be acceptable to have that level of query failure. =] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321257 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: .net cookies transfer to CF Session Values?
So, basically, the username and password is written out in plain text in the cookie for anyone to steal. Great security. Anyway, don't just trust the existence of the cookie - you need to log the user in to your site with the username and password. Otherwise, I can just manipulate my browser to set a cookie called mysite_loggedin and get logged in to your site. Read the value of the cookie from the COOKIE scope and send the user|pass|pin to your code to log them in. Then, hope that no-one executes a successful XSS attack on your users. Then, fire the .NET developer. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/4/2 Les Mizzell lesm...@bellsouth.net: I've got a client that's decided to try and use a .net login system written for one of their sites for *all* their sites, including the huge CF site I maintain for them. Looking at the .net code for this thing *really* reminds me why I like Coldfusion so much - sheesh, 15 or so files and a couple thousand lines of code to log somebody in? Anyway, it all comes down to the below if the login is successful: Response.Cookies[mysite_loggedin].Value = user+|+pass+|+pin; Response.Cookies[mysite_loggedin].Expires = DateTime.Now.AddDays(14); HttpCookie aCookie = new HttpCookie(mysite_loggedin); aCookie.Value = user+|+pass+|+pin; aCookie.Expires = DateTime.Now.AddDays(14); Response.Cookies.Add(aCookie); I'd like to be able to transfer those cookie values over to CF Session values, which thusly would have them counted as logged in on the CF Admin section of the CF site. I'm not .net literate - but could somebody point me in the right direction to be able to swap the .net cookes/values for CF session values? Ideas? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321258 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Looking for a Fusebox 4+ or 5+ eCommerce solution
I am on the hunt for a CF Fusebox 4+ or 5+ eCommerce solution, and can't find any -- other than the demos at Fusebox.org. Has no one developed such a thing? I would build one myself, but I just don't know how I would find the time to do so. CFWebstore is a somewhat modified FB3 app, so it's closer than most of what is out there. I'd been looking at migrating it over to FB 5.5 which should at least be considerably easier than converting it would have been on the earlier 4/5 releases, just have a lot of other more important things to work on at the moment (the vast majority of my users really couldn't care less about the FB version...and many would prefer I don't change the code at all. ;-) If moving it to FB 5.5 might be something you would consider assisting with, we could probably work some kind of trade out. It certainly would be a lot less work than writing something from scratch, depending on the level of functionality you needed. --- Mary Jo Sminkey Author of CFWebstore, ColdFusion Ecommerce http://www.cfwebstore.com ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321259 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Query Retries
Just speaking for myself here-- I never retry a query. Most errors I tend to get with a database call is due to something like a column not existing or some data truncation error that is going to happen no matter how many times I try it. The only times I have ever really seen SQL Server throw an error that is recoverable is when it is trying to to connect to some remote linked server via ODBC and the connection has timed out. In those specific instances, the query always works the second time. Why don't you tell us what kind of errors you usually have thrown from the database. ~Brad Original Message Subject: Query Retries From: Byte Me byteme...@verizon.net Date: Thu, April 02, 2009 3:46 pm To: cf-talk cf-talk@houseoffusion.com Is there a rule of thumb on how many times a query should be retried? I'm using nested cftry/catch and will retry a maximum of 4 times. Each retry is delayed by a random number of milliseconds. Thanks for any insight. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321260 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Best ways to find projects
Anirudh- Replying directly to the job poster is preferred over replying to the entire group. Thanks. -Cameron On Thu, Apr 2, 2009 at 11:04 AM, Anirudh Apsingekar anirudh.apsinge...@gmail.com wrote: Ravi and Everyone, Thanks for all the inputs and knowledge sharing.I really liked the way people express their views here even i am one of those like other people out there in Sales and Business Development.I always love to meet new people and understand what every one is talking which helps in me in the growth of my career. to be honest i joined browse this to find some new opportunities or projects after seeing this discussion i felt that's not all i want to build my network which gives me more knowledge. I follow one thing Knowledge is the prime factor and working honestly with commitment after all this, money flows by its own means. Regards, Anirudh. Evoke Technologies. anir...@evoketechnologies.com ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-jobs-talk/message.cfm/messageid:4233 Subscription: http://www.houseoffusion.com/groups/cf-jobs-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11
Re: Best ways to find projects
You are welcome. Ravi. Anirudh Apsingekar wrote: Ravi and Everyone, Thanks for all the inputs and knowledge sharing.I really liked the way people express their views here even i am one of those like other people out there in Sales and Business Development.I always love to meet new people and understand what every one is talking which helps in me in the growth of my career. to be honest i joined browse this to find some new opportunities or projects after seeing this discussion i felt that's not all i want to build my network which gives me more knowledge. I follow one thing Knowledge is the prime factor and working honestly with commitment after all this, money flows by its own means. Regards, Anirudh. Evoke Technologies. anir...@evoketechnologies.com ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-jobs-talk/message.cfm/messageid:4234 Subscription: http://www.houseoffusion.com/groups/cf-jobs-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11