Re: Setting file dates and attributes
Also remember that you can still use Java with CF5, you just need to build it a cfx tag. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Claude Schneegans To: CF-Talk Sent: Sun Jan 21 13:00:34 2007 Subject: Re: Setting file dates and attributes When I noted ColdFusion, I really mean Java, Ah, ok, then it is also CMFX only. I am not sure why you would want to do that, as it would go against the purpose of LastModified date. For many reasons, the first being to fix a problem with FTP which go against the purpose of LastModified date by setting this date for the transfered file to the date the transfer occurred instead of the original date the file was really modified. Some FTP tools do have parameters to control file dates, but they don't always work because they must rely on the FTP server cooperation, and CFFTP has no tool for date control anyway. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267107 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Setting file dates and attributes
Ah, so there you go! You already have the tag! :-) This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Claude Schneegans To: CF-Talk Sent: Sun Jan 21 15:30:38 2007 Subject: Re: Setting file dates and attributes Indeed, but I think it's probably quite rare that people are not on MX now Right, I develop undex CFMX, but most of my clients are under CF5, and I still have to keep my apps compatible. Nevermind, I just add another attribute to my tag CFX_ListDir to update creation, last modified, and last access dates to files. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267108 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Using snapshot transaction isolation level
Since MS SQL Server 2005 the functionality to have read-committed semantics without writers blocking readers is available under the name snapshot isolation. Unfortunately cftransaction doesn't allow me to specify snapshot as the isolation level for a transaction since it is not one of the standard transaction isolation levels. Any clever suggestions on how to use snapshot isolation from CF? Jochem ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267109 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Using snapshot transaction isolation level
Can you write an inline TSQL block and specify it in that? On 1/22/07, Jochem van Dieten [EMAIL PROTECTED] wrote: Since MS SQL Server 2005 the functionality to have read-committed semantics without writers blocking readers is available under the name snapshot isolation. Unfortunately cftransaction doesn't allow me to specify snapshot as the isolation level for a transaction since it is not one of the standard transaction isolation levels. Any clever suggestions on how to use snapshot isolation from CF? Jochem -- CFAJAX docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267110 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Using snapshot transaction isolation level
James Holmes wrote: Can you write an inline TSQL block and specify it in that? No: quote A transaction cannot be set to SNAPSHOT isolation level that started with another isolation level; doing so will cause the transaction to abort. If a transaction starts in the SNAPSHOT isolation level, you can change it to another isolation level and then back to SNAPSHOT. A transaction starts at the BEGIN TRANSACTION statement. /quote http://msdn2.microsoft.com/en-US/ms173763.aspx I could rip out all cftransaction tags and replace them with custom versions, but for this application that is not a very appealing prospect. If I could find how to change the default transaction isolation level from read-committed to snapshot for all transactions in the database (cross database transactions are not relevant for the issue at hand) I would be happy too, but I can not find that option either in MS SQl Server 2005. Jochem ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267111 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
SOT: Non Local MSSQL Server replication
I have a need to set up replication between a local database and a remote one on the web server. I want to use replication to keep the data transfer requirements to a minimum. No changes will be made to the data by the web server it will just be reading the data but it needs to be fairly up to date. The problem I am having is that replication is insisting on referring to the servers by name not by IP address and since the web server is remote and not on our LAN it's name is not available. I did try using a VPN but that didn't work either. Anyone have enough MSSQL (2000/2005) knowledge to help me out? -- James Smith - IT Director uWish Ltd - http://www.uWish.co.uk ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267112 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: SOT: Non Local MSSQL Server replication
James Smith wrote: The problem I am having is that replication is insisting on referring to the servers by name not by IP address and since the web server is remote and not on our LAN it's name is not available. Add it to your hosts and/or lmhosts file. Jochem ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267113 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Using cfcache
Just a quick q to toss out this morning. Do any of you use cfcache? I am inheriting a site that uses it everywhere, even on pages that change every 30 seconds or more (its an auction type site, so every bid would change the page) In my experience, I try to optimize the DB and my queries and processing to the Nth degree, so I have never had a need for cfcache. Does this scale well, or has anyone had problems or issues they have run into using it? Chris ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267114 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Can't register vspider collection with CF
maybe the planets re-aligned but it appears that my problem was related to the the fact that I was naming my collection mycol. Once I changed the name to some ting else it worked. No problem registering the collection with CF. WOW Doug Kronenberger wrote: Tat is what I tried (used vspider.exe), but when I try to register with the CF administrator that is when I get the error. Is it possibly a permissions issue? ...perhaps the user that CF is running as doesn't have access to the location where you are creating the collection. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267115 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Cookie list help please
Please check out the below code, I would like to show users a previous search history and everything seems to work ok except that on the first time through it appends the seach phrase twice. I understand why it is happening, (due to the 2nd conditional statement) but cannot figure out a better way. Maybe someone can test it out for me, and give me a pointer. Thanks a bunch!!! cookieTest.cfm !---IF OUR COOKIE IS NOT SET, SET IT NOW --- cfif not isDefined('cookie.testCookie') AND isDefined('form.test') CFCOOKIE name=testCookie value=#form.test# expires=never /cfif !---IF OUR COOKIE IS SET AND THE LEN IS LT 5, ADD TO IT--- cfif isDefined('cookie.testCookie') AND listLen(cookie.testCookie, ,) LT 6 AND isDefined('form.test') cfset searchList = listAppend(cookie.testCookie, form.test, ,) CFCOOKIE name=testCookie value=#searchList# expires=never /cfif !---IF OUR COOKIE IS LEN IS EQ 5 THEN DELETE THE FIRST ELEMENT AND APPEND THE LIST--- cfif isDefined('cookie.testCookie') AND listLen(cookie.testCookie, ,) GTE 6 AND isDefined('form.test') cfset deleted = listDeleteAt(cookie.testCookie, 1) CFCOOKIE name=testCookie value=#deleted# expires=never /cfif !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head link rel=stylesheet href=style.cfm / script function showhide(id){ if (document.getElementById){ obj = document.getElementById(id); if (obj.style.display == none){ obj.style.display = ; } else { obj.style.display = none; } } } /script body cfoutput form name=form1 action=cookieTest.cfm method=post input type=text name=test onclick=showhide('script'); return(false); /input type=submit value=Test Cookie / /form div style=display: none; position:relative; top:0px; left:0px; width:152; background-color:##DAE4E4; border: 1px solid; color:##66; id=script table width=100% cellpadding=1 cellspacing=0 border=0 tr td class=bblackfontRecent Searches/td tdimg src=images/buttn-notok.gif border=0 onclick=showhide('script'); return(false); //td /tr /cfoutput cfif isDefined('cookie.testCookie') cfloop list=#cookie.testCookie# delimiters=, index=i cfoutput tr td colspan=2 class=nblackfonta href=#i#/a/td /tr /cfoutput /cfloop /cfif /table /div /body /html Doug B. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267116 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Passing data from dropdown menu
I am having trouble getting the selection from the dropdown menu to pass to the action page and then sent to an email address. It keeps choosing item 1 no matter what is selected. All other variables are sent correctly. Form Control Page cfquery name=GetReport datasource=empldir SELECT * FROM report ORDER BY node /cfquery trtd width=50% align=rightnbsp;/td td width=50%select name=reportID class=formveldoption value=Select Problem Printer/optioncfoutput query=GetReportoption value=#reportID##node#/cfoutput/select/td/tr Action Page cfquery name=GetReport datasource=empldir SELECT * FROM report /cfquery cfquery name=showReport datasource=empldir SELECT node FROM report WHERE reportID = reportID /cfquery Thank you for submitting a ticket to Academic Computing. You have successfully reported a problem with printer cfoutputstrong#showReport.node#/strong/cfoutput. p/p This problem will be addressed as soon as possble. cfmail from=#form.email# to=[EMAIL PROTECTED] subject=Report a Printer Problem IP Address: #ip# Date Reported: #date# Name: #name# E-Mail: #form.email# Phone: #phone# Problem Machine: #showReport.node# Room: #room# Description of Problem: #desc# /cfmail Steve LaBadie, Web Manager East Stroudsburg University 200 Prospect St. East Stroudsburg, Pa 18301 570-422-3999 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] http://www.esu.edu http://www3.esu.edu ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267117 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Setting file dates and attributes
Also remember that you can still use Java with CF5, you just need to build it a cfx tag. This is precisely what I've done, ... but in C, a much better language than Java... ;-)) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267118 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Setting file dates and attributes
Ah, so there you go! You already have the tag! Sure, and with C, it is faster to develop than even finding the docs about Java ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267119 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Passing data from dropdown menu
Why are you doing the first query on the action page? Your unscoped vars might be pulling from the first query instead of the second. On 1/22/07, Steve LaBadie [EMAIL PROTECTED] wrote: I am having trouble getting the selection from the dropdown menu to pass to the action page and then sent to an email address. It keeps choosing item 1 no matter what is selected. All other variables are sent correctly. Form Control Page cfquery name=GetReport datasource=empldir SELECT * FROM report ORDER BY node /cfquery trtd width=50% align=rightnbsp;/td td width=50%select name=reportID class=formveldoption value=Select Problem Printer/optioncfoutput query=GetReportoption value=#reportID##node#/cfoutput/select/td/tr Action Page cfquery name=GetReport datasource=empldir SELECT * FROM report /cfquery cfquery name=showReport datasource=empldir SELECT node FROM report WHERE reportID = reportID /cfquery Thank you for submitting a ticket to Academic Computing. You have successfully reported a problem with printer cfoutputstrong#showReport.node#/strong/cfoutput. p/p This problem will be addressed as soon as possble. cfmail from=#form.email# to=[EMAIL PROTECTED] subject=Report a Printer Problem IP Address: #ip# Date Reported: #date# Name: #name# E-Mail: #form.email# Phone: #phone# Problem Machine: #showReport.node# Room: #room# Description of Problem: #desc# /cfmail Steve LaBadie, Web Manager East Stroudsburg University 200 Prospect St. East Stroudsburg, Pa 18301 570-422-3999 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] http://www.esu.edu http://www3.esu.edu ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267120 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CFML IDE's
What in the ham sandwidch is he talking about? -Original Message- From: Mark Drew [mailto:[EMAIL PROTECTED] Sent: Thursday, January 18, 2007 11:18 AM To: CF-Talk Subject: Re: CFML IDE's you mean IDE's or just text editors? Homesite is a great text editor, so I am told. Wouldn't touch it with a barge pole myself. I hear CFEclipse is quite a good IDE. MD On 18 Jan 2007, at 15:57, John Sterrett wrote: Does anyone have any recommendations for Coldfusion IDE's on Windows platform other than Dreamweaver? ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267121 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Solved Maybe (Cookie list help please)
I set a variable on the first creation of the cookie and checked for the existence of it in the second conditional statement, if It exists then I am not running the second block of code. Good idea...Bad idea...? So now it reads !---IF OUR COOKIE IS NOT SET, SET IT NOW --- cfif not isDefined('cookie.testCookie') AND isDefined('form.test') CFCOOKIE name=testCookie value=#form.test# expires=never !---IS THIS OUR FIRST TIME THROUGH?--- cfset firstTime = 1 /cfif !---IF OUR COOKIE IS SET AND THE LEN IS LT 6, ADD TO IT--- cfif isDefined('cookie.testCookie') AND listLen(cookie.testCookie, ,) LT 6 AND isDefined('form.test') AND not isDefined(firstTime) cfset searchList = listAppend(cookie.testCookie, form.test, ,) CFCOOKIE name=testCookie value=#searchList# expires=never /cfif Doug B. - Original Message - From: Doug Brown [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, January 22, 2007 6:45 AM Subject: Cookie list help please Please check out the below code, I would like to show users a previous search history and everything seems to work ok except that on the first time through it appends the seach phrase twice. I understand why it is happening, (due to the 2nd conditional statement) but cannot figure out a better way. Maybe someone can test it out for me, and give me a pointer. Thanks a bunch!!! cookieTest.cfm !---IF OUR COOKIE IS NOT SET, SET IT NOW --- cfif not isDefined('cookie.testCookie') AND isDefined('form.test') CFCOOKIE name=testCookie value=#form.test# expires=never /cfif !---IF OUR COOKIE IS SET AND THE LEN IS LT 5, ADD TO IT--- cfif isDefined('cookie.testCookie') AND listLen(cookie.testCookie, ,) LT 6 AND isDefined('form.test') cfset searchList = listAppend(cookie.testCookie, form.test, ,) CFCOOKIE name=testCookie value=#searchList# expires=never /cfif !---IF OUR COOKIE IS LEN IS EQ 5 THEN DELETE THE FIRST ELEMENT AND APPEND THE LIST--- cfif isDefined('cookie.testCookie') AND listLen(cookie.testCookie, ,) GTE 6 AND isDefined('form.test') cfset deleted = listDeleteAt(cookie.testCookie, 1) CFCOOKIE name=testCookie value=#deleted# expires=never /cfif !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head link rel=stylesheet href=style.cfm / script function showhide(id){ if (document.getElementById){ obj = document.getElementById(id); if (obj.style.display == none){ obj.style.display = ; } else { obj.style.display = none; } } } /script body cfoutput form name=form1 action=cookieTest.cfm method=post input type=text name=test onclick=showhide('script'); return(false); /input type=submit value=Test Cookie / /form div style=display: none; position:relative; top:0px; left:0px; width:152; background-color:##DAE4E4; border: 1px solid; color:##66; id=script table width=100% cellpadding=1 cellspacing=0 border=0 tr td class=bblackfontRecent Searches/td tdimg src=images/buttn-notok.gif border=0 onclick=showhide('script'); return(false); //td /tr /cfoutput cfif isDefined('cookie.testCookie') cfloop list=#cookie.testCookie# delimiters=, index=i cfoutput tr td colspan=2 class=nblackfonta href=#i#/a/td /tr /cfoutput /cfloop /cfif /table /div /body /html Doug B. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267122 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Upgrading to Axis 1.4
I am running CF 7.0.2.x anyone know which version of Axis in it? I noticed this: http://tjordahl.blogspot.com/2005/09/upgrading-coldfusion-mx-7-to-axis-13.ht ml but I am not sure if 7.0.2 now contains 1.3 or whether I can/need to upgrade to 1.4. Cheers ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267123 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Apache config
All my workstations and servers are set to received automatic updates, which then reboot the pc if necessary. If most of the updates, do not require reboots, then why have my PC's been rebooting monthly like clockwork? Russ -Original Message- From: Eric Roberts [mailto:[EMAIL PROTECTED] Sent: Sunday, January 21, 2007 2:34 PM To: CF-Talk Subject: RE: Apache config Why are you rebooting your Windows box when the patch doesn't require it? Sounds like a user issue...not an OS issue :-D. Eric -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: Sunday, 21 January 2007 00:05 To: CF-Talk Subject: RE: Apache config -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Saturday, January 20, 2007 3:25 PM To: CF-Talk Subject: RE: Apache config snip As for the whole open source argument, no, IIS nor third-party IIS tools are open source. For something that is essentially a commodity, like a web server, I have never needed the ability to edit the source, I wouldn't be qualified to edit the source, and I suspect that this is true for many of the people on this list. Out of curiosity, are you an Apache committer? If you're not, have you made changes to the Apache source? If you do make changes, what do you do when a new version comes out? How are you any better in this respect than the one man companies you mention above? I am not an Apache committer, and I would not be qualified to be one. I do know that there are thousands of eyes looking at the Apache source and finding bugs and vulnerabilities. I do upgrade my Apache versions from time to time, and I do it more often if a serious vulnerability is found. Unlike Windows, however, this is not very often. On linux, apache gets automatically updated between minor versions as part of the nightly update. Ok, maybe not so simple, but once you get the hang of it, you can feel the power. Just like using linux for servers instead of windows. It takes time to learn how to administer it, but once you do, you'll never go back. For one thing you won't have to worry about monthly security patches. They silently download at night without ever needing a reboot. My Linux server has been up for 91 days. People have their servers up for years at a time without rebooting. Can you say the same about windows? Actually, the vast majority of Windows patches no longer need a reboot, and if you think 91 days is an impressive uptime number, well, I'm sorry to say, but most of my Windows servers have higher uptime than that. Vast majority is not all. I have my servers set to auto reboot when windows patches come out, and they have been rebooting on a monthly basis. The last time they rebooted was 12/17. If your servers have a higher uptime then 91 days, you must not be doing your job of patching server very well. Now I said my Linux server has an uptime of 91 days. The only reason it's so small, is because I was probably having some issue, and still have the preconceived notion from the Windows world that a reboot usually fixes things. If I didn't reboot manually, I would've had a much higher uptime, and as I've mentioned, I have seen Linux servers with uptimes measured in years, all while receiving nightly updates. Russ ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267124 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Apache config
Cause you are not overriding it. -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: 22 January 2007 14:58 To: CF-Talk Subject: RE: Apache config All my workstations and servers are set to received automatic updates, which then reboot the pc if necessary. If most of the updates, do not require reboots, then why have my PC's been rebooting monthly like clockwork? Russ -Original Message- From: Eric Roberts [mailto:[EMAIL PROTECTED] Sent: Sunday, January 21, 2007 2:34 PM To: CF-Talk Subject: RE: Apache config Why are you rebooting your Windows box when the patch doesn't require it? Sounds like a user issue...not an OS issue :-D. Eric -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: Sunday, 21 January 2007 00:05 To: CF-Talk Subject: RE: Apache config -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Saturday, January 20, 2007 3:25 PM To: CF-Talk Subject: RE: Apache config snip As for the whole open source argument, no, IIS nor third-party IIS tools are open source. For something that is essentially a commodity, like a web server, I have never needed the ability to edit the source, I wouldn't be qualified to edit the source, and I suspect that this is true for many of the people on this list. Out of curiosity, are you an Apache committer? If you're not, have you made changes to the Apache source? If you do make changes, what do you do when a new version comes out? How are you any better in this respect than the one man companies you mention above? I am not an Apache committer, and I would not be qualified to be one. I do know that there are thousands of eyes looking at the Apache source and finding bugs and vulnerabilities. I do upgrade my Apache versions from time to time, and I do it more often if a serious vulnerability is found. Unlike Windows, however, this is not very often. On linux, apache gets automatically updated between minor versions as part of the nightly update. Ok, maybe not so simple, but once you get the hang of it, you can feel the power. Just like using linux for servers instead of windows. It takes time to learn how to administer it, but once you do, you'll never go back. For one thing you won't have to worry about monthly security patches. They silently download at night without ever needing a reboot. My Linux server has been up for 91 days. People have their servers up for years at a time without rebooting. Can you say the same about windows? Actually, the vast majority of Windows patches no longer need a reboot, and if you think 91 days is an impressive uptime number, well, I'm sorry to say, but most of my Windows servers have higher uptime than that. Vast majority is not all. I have my servers set to auto reboot when windows patches come out, and they have been rebooting on a monthly basis. The last time they rebooted was 12/17. If your servers have a higher uptime then 91 days, you must not be doing your job of patching server very well. Now I said my Linux server has an uptime of 91 days. The only reason it's so small, is because I was probably having some issue, and still have the preconceived notion from the Windows world that a reboot usually fixes things. If I didn't reboot manually, I would've had a much higher uptime, and as I've mentioned, I have seen Linux servers with uptimes measured in years, all while receiving nightly updates. Russ ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267125 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Upgrading to Axis 1.4
Oh, as an addition, how to find out the version of Axis you are on? -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: 22 January 2007 14:53 To: CF-Talk Subject: Upgrading to Axis 1.4 I am running CF 7.0.2.x anyone know which version of Axis in it? I noticed this: http://tjordahl.blogspot.com/2005/09/upgrading-coldfusion-mx-7-to-axis-13.ht ml but I am not sure if 7.0.2 now contains 1.3 or whether I can/need to upgrade to 1.4. Cheers ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267126 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFML IDE's
Mark Kruger, I believe Mark Drew was referring to the fact CFEclipse is an IDE and not an editor. Homesite was good in its time and is still fast and reliable. Homesite+ is still favored by many. Homesite is more of a text editor as it does not provide interactivity to your enevironment other than FTP and RDS. The seperation of CFEclipse boils down to an IDE where your development tool is introspecting your work other than tag insight and code completion. Eclipse by itself provides you the ability to customize how to treat multitudes of file types, source control, ftp, inline validation, browing, debugging ... etc into one tool. In the past you would need multiple programs to handle everything besides your editor, the climate change is to have one interface that can interpret or be customized to interpret your development style. Eclipse with CFEclipse does bring a higher learning cuve than Homesite, but the benefits of tool integration should motivate most developers to learn a new unified tool. In the end, it is the choice of the developer and they may use Eclipse or they may not. It is their choice unless their employer or client has a way to mandate their development environment. Simply put, use what makes you productive, but try something new to make sure that you are not missing out on different ways to be productive. Teddy On 1/22/07, Mark A Kruger [EMAIL PROTECTED] wrote: What in the ham sandwidch is he talking about? -Original Message- From: Mark Drew [mailto:[EMAIL PROTECTED] Sent: Thursday, January 18, 2007 11:18 AM To: CF-Talk Subject: Re: CFML IDE's you mean IDE's or just text editors? Homesite is a great text editor, so I am told. Wouldn't touch it with a barge pole myself. I hear CFEclipse is quite a good IDE. MD On 18 Jan 2007, at 15:57, John Sterrett wrote: Does anyone have any recommendations for Coldfusion IDE's on Windows platform other than Dreamweaver? ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267127 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
securing files via cf
Anyone know of a method to bring files on the server, ie; images, videos, docs, etc., into a cf app's security framework? How do you prevent someone from entering the URL in their browser to a file that requires a login in an app to reveal? ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267128 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfscript?
Also, you may want to investigate Reactor for ColdFusion or Transfer. These two Object Relational Models (ORM) provide you the ability to execute query objects that can be used in cfscript. Teddy On 1/21/07, Eric Roberts [EMAIL PROTECTED] wrote: Try CFSCRIPT If (IsDefined(form.zip) and form.zip neq 0 and IsDefined(form.radius) and form.radius neq 0 and len(trim(form.zip)) eq 5) and ( #APPLICATION.DBPRE#Advertisements.zipcode in (#ListQualify(ValueList(results.zip),')#)or (#APPLICATION.DBPRE#Advertisements.city in (#listQualify(ValueList(results.city),')#) and #APPLICATION.DBPRE#Advertisements.State in (#listqualify(valuelist(results.State), ')#))); {insert action here...} /CFSCRIPT You had a curly brace before the and... -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: Sunday, 21 January 2007 08:52 To: CF-Talk Subject: cfscript? I am screwing around withcfscript for the first time and had a question. Is this possible in a query? It looks like it does not like the AND portion. CFSCRIPT If (IsDefined(form.zip) and form.zip neq 0 and IsDefined(form.radius) and form.radius neq 0 and len(trim(form.zip)) eq 5){ and ( #APPLICATION.DBPRE#Advertisements.zipcode in (#ListQualify(ValueList(results.zip),')#)or (#APPLICATION.DBPRE#Advertisements.city in (#listQualify(ValueList(results.city),')#) and #APPLICATION.DBPRE#Advertisements.State in (#listqualify(valuelist(results.State), ')#))); } /CFSCRIPT Doug B. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267129 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: securing files via cf
I've done this by placing such files in a directory not in the webroot. Then using cffile to retrieve them, and cfcontent to output them to the user upon request. Terrence Ryan Senior Systems Programmer Wharton Computing and Information Technology E-mail: [EMAIL PROTECTED] ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267130 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Apache config
Actually, IIS patches have been few and far between lately, and I'm sure plenty of people are still looking for IIS vulnerabilities. But, I do agree that in general the open source world has been much better about responding to known security vulnerabilities. However, your point was that you could fix the source yourself. My response to that was that most people cannot or will not do that anyway, and even if you do, that may introduce additional problems when you need to upgrade. I agree that MS has been cleaning up their act lately with the patches. In the past, however, they have let major flaws stay unpatched for months. Anyone remember Code Red? I can't seem to find the original e-mail, but I don't remember saying that I can fix the source myself. Although, it is an option, my original point was that there are more eyes looking at and scrutinizing the code, so that vulnerabilities are found and fixed quicker. If my job was to blindly apply every patch, without testing or even determining whether it's appropriate, then I wouldn't be doing my job very well. Don't you test patches before deploying to production? Do you just install every patch, even if you don't need it? For example, this month there've been three critical patches and one important patch released by Microsoft. All of them have to do with Microsoft Office. I don't have Microsoft Office installed on my servers, and I don't want to edit spreadsheets from my server console anyway. Last month, there were three critical patches and four important patches. The critical patches applied to Internet Explorer, Visual Studio 2005, and Windows Media Player. I don't allow browsing from the server - egress filtering is an important part of DMZ security - and I don't write .NET code or listen to MP3s from the server console, either. Out of the four important patches, one applies to SNMP - I'm not using that. Another is a generic privilege elevation vulnerability that requires a local login - I did apply that, it didn't require a restart. The third and fourth apply to Outlook Express and Remote Installation Services, neither of which is use in my server environment. And, just a heads-up, again, most patches no longer need a reboot, and you can even script the install in most cases to not prompt for a reboot if the patch doesn't require it. You're probably right, and I should be more proactive in only applying patches that apply to my configuration. I should also probably be testing the patches on a development server first. However, I would rather spend the time doing real work than worrying about patches. Why can't Windows patches be more pain free like Linux patches? In my experience, they are, but I believe many of you have been burned by bad MS patches in the past, which is why you feel the need to test the patch before applying it. Testing the patches should be the MS's job, not ours. Not to mention that running rewriting through CF is a lot slower then using Apache or even ISAPI Rewrite. Really? Any statistics to back that up? I'd assume that using CF to rewrite URLs for static content would be slower than using the web server, but I doubt it makes any significant difference if you're using dynamic content. You're right and rewriting using CF for dynamic content probably doesn't make much of a difference, although you should agree that it is slower, even by a few milliseconds. My point was about static content. Lets say you want to set up a sort of proxy server where: http://www.example.com actually pulls content from http://www2.example.com. In Apache, you would just put in something like: RewriteCond %{HTTP_HOST}^www.example.com $ [NC] RewriteRule ^(.*)$ http://www2.example.com/$1 [P] This will proxy all the requests through www2, while the url in the browser will appear as www. It will proxy images, as well as any pages. I doubt you can do this with ISAPI rewrite, and with CF it would be pretty difficult to do as well (if not impossible). Apache handles this type of stuff out of the box. From what I remember from ISAPI rewrite, it was pretty limited, but I guess you're stuck with it if you're going to use IIS. Well, no, you're not stuck with it. There are other, similar tools, some of which are free and open source. I've heard of this one, for example: http://cheeso.members.winisp.net/IIRF.aspx And, I haven't run into any limitations with ISAPI Rewrite, myself, so I can think of worse things to be stuck with. See my previous example. Russ ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267131 Subscription:
Re: securing files via cf
How do you prevent someone from entering the URL in their browser to a file that requires a login in an app to reveal? 1. Put those files in a special directory and add .cfm to the file name; 2. store in your databse both the original and the storage file names; 3. Put in the same directory an Application.cfm template that will just display something like 404 Error 4. use anywhere in your site some download.cfm template that send the file to the user with some code like: CFHEADER NAME=Content-disposition VALUE='Attachment;filename=#OriginalFileName#' CFHEADER NAME=Content-Type VALUE=application/octet-stream CFCONTENT TYPE=application/octet-stream FILE=#Path##LocalFilename# where OriginalFileName is the original name of the file and path and local file name is the place the file is stored as a pseudo CF template. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267132 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: securing files via cf
Sorry, I should have mentioned that cfcontent isn't an option since some of the files are VERY large, like 500mb or even 1gb, and that throwing a server handle into that black hole would cripple the box if a dozen people decided to download at the same time. I did a search (which, I'm ashamed to admit, I should have done before posting) and found iAuth, and it looks good. Does anyone have any experience with it? Does it consume a cf handle for the duration of the download, or does it simply check the user's credentials at the door and then hand off the file to IIS? You think that by now Allaire/Macromedia/Adobe would have come up with a solution for this. Files are only getting bigger, and more and more people are doing file management online. I would love them to create a tag, or perhaps update cfcontent, made specifically for dealing with securing non-cf files that didn't consume cf server resources... just authenticated to the programmer's auth scheme and then hand it off to IIS or Apache or whatever. Seems simple enough. Michael I've done this by placing such files in a directory not in the webroot. Then using cffile to retrieve them, and cfcontent to output them to the user upon request. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267133 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
OT: CSS
I have a div that is shown when a user clicks on a text field, and it pops up just below that text field (0px below and aligned to the left bottom corner). It seems to work just fine in IE: but in NS and FF the div is about 25 px out of alignment. Any ideas on how to display it the same in all browsers? The text field is in a table and not another div. cfoutput div style=position:absolute; top:82px; left:135px; width:152; background-color:##DAE4E4; border: 1px solid; color:##66; id=script table width=100% cellpadding=1 cellspacing=0 border=0 tr td class=bblackfontRecent Searches/td tdimg src=images/buttn-notok.gif border=0 onclick=showhide('script'); return(false); //td /tr /cfoutput cfif isDefined('cookie.testCookie') cfloop list=#cookie.testCookie# delimiters=, index=i cfoutput tr td colspan=2 class=nblackfonta href=#i#/a/td /tr /cfoutput /cfloop /cfif /table /div Doug B. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267134 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
application.cfc problems
I am new to application.cfc and I am running into problems trying to use the onError function. I think I have narrowed it down to a cfabort in my onRequestStart function. I use it to log in users to the web site. If they don't have a session.UserName defined then I kick them to a login page and abort the rest of the processing. Can I put an abort in the application.cfc? cffunction name=onRequestStart cfparam name=session.UserName default= !--- process login --- cfif IsDefined(Form.UserLoggingIn) cfinclude template=act_login.cfm /cfif !--- if not logged in then goto Login Form --- cfif session.UserName eq cfinclude template=dsp_login.cfm cfabort / /cfif /cffunction cffunction name=onError cfargument name=Exception required=true/ cfargument type=String name=EventName required=true/ cfmail to=[EMAIL PROTECTED] from=[EMAIL PROTECTED] subject=Error type=html cfdump var=#arguments.exception# /cfmail /cffunction ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267135 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Passing data from dropdown menu
SELECT node FROM report WHERE reportID = reportID That will pick the first record in the table every time Did you mean where reported = #val(form. reportid)# -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.17.2/641 - Release Date: 1/20/2007 10:24 AM ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267136 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CSS
What docType are you using? Since your div is positioned absolutely, what is is positioned absolutely in reference to Any chance of a URL? Sandra Clark == http://www.shayna.com Training in Cascading Style Sheets and Accessibility -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: Monday, January 22, 2007 10:29 AM To: CF-Talk Subject: OT: CSS I have a div that is shown when a user clicks on a text field, and it pops up just below that text field (0px below and aligned to the left bottom corner). It seems to work just fine in IE: but in NS and FF the div is about 25 px out of alignment. Any ideas on how to display it the same in all browsers? The text field is in a table and not another div. cfoutput div style=position:absolute; top:82px; left:135px; width:152; background-color:##DAE4E4; border: 1px solid; color:##66; id=script table width=100% cellpadding=1 cellspacing=0 border=0 tr td class=bblackfontRecent Searches/td tdimg src=images/buttn-notok.gif border=0 onclick=showhide('script'); return(false); //td /tr /cfoutput cfif isDefined('cookie.testCookie') cfloop list=#cookie.testCookie# delimiters=, index=i cfoutput tr td colspan=2 class=nblackfonta href=#i#/a/td /tr /cfoutput /cfloop /cfif /table /div Doug B. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267137 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Using snapshot transaction isolation level
Jochem wrote: Any clever suggestions on how to use snapshot isolation from CF? It seems to be the case (though I haven't had a chance to play with this yet) that they've added an option to the DB to allow you to use snapshots as the implementation of READ COMMITTED. Presumably, to solve this exact problem in all of the places where existing code will be used with the new version of SQL Server. See information on READ_COMMITTED_SNAPSHOT here: http://msdn2.microsoft.com/en-US/library/ms175095.aspx Sixten ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267138 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CSS
Sandra, Thanks for the reply. I have absolutely no idea what I am doing. I will show you though. Here is the table that holds the text field that I want the div to pop-up under. It is on the header of the page. Anyhow I need the div to pop-up directly under the text field (0px beneath and aligned to the left bottom corner). I hope I am making sense. table tr td input type=text /td /tr /table Doug B. - Original Message - From: Sandra Clark [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, January 22, 2007 8:38 AM Subject: RE: CSS What docType are you using? Since your div is positioned absolutely, what is is positioned absolutely in reference to Any chance of a URL? Sandra Clark == http://www.shayna.com Training in Cascading Style Sheets and Accessibility -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: Monday, January 22, 2007 10:29 AM To: CF-Talk Subject: OT: CSS I have a div that is shown when a user clicks on a text field, and it pops up just below that text field (0px below and aligned to the left bottom corner). It seems to work just fine in IE: but in NS and FF the div is about 25 px out of alignment. Any ideas on how to display it the same in all browsers? The text field is in a table and not another div. cfoutput div style=position:absolute; top:82px; left:135px; width:152; background-color:##DAE4E4; border: 1px solid; color:##66; id=script table width=100% cellpadding=1 cellspacing=0 border=0 tr td class=bblackfontRecent Searches/td tdimg src=images/buttn-notok.gif border=0 onclick=showhide('script'); return(false); //td /tr /cfoutput cfif isDefined('cookie.testCookie') cfloop list=#cookie.testCookie# delimiters=, index=i cfoutput tr td colspan=2 class=nblackfonta href=#i#/a/td /tr /cfoutput /cfloop /cfif /table /div Doug B. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267139 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CSS
And doctype !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN Doug B. - Original Message - From: Sandra Clark [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, January 22, 2007 8:38 AM Subject: RE: CSS What docType are you using? Since your div is positioned absolutely, what is is positioned absolutely in reference to Any chance of a URL? Sandra Clark == http://www.shayna.com Training in Cascading Style Sheets and Accessibility -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: Monday, January 22, 2007 10:29 AM To: CF-Talk Subject: OT: CSS I have a div that is shown when a user clicks on a text field, and it pops up just below that text field (0px below and aligned to the left bottom corner). It seems to work just fine in IE: but in NS and FF the div is about 25 px out of alignment. Any ideas on how to display it the same in all browsers? The text field is in a table and not another div. cfoutput div style=position:absolute; top:82px; left:135px; width:152; background-color:##DAE4E4; border: 1px solid; color:##66; id=script table width=100% cellpadding=1 cellspacing=0 border=0 tr td class=bblackfontRecent Searches/td tdimg src=images/buttn-notok.gif border=0 onclick=showhide('script'); return(false); //td /tr /cfoutput cfif isDefined('cookie.testCookie') cfloop list=#cookie.testCookie# delimiters=, index=i cfoutput tr td colspan=2 class=nblackfonta href=#i#/a/td /tr /cfoutput /cfloop /cfif /table /div Doug B. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267140 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Passing data from dropdown menu
Outlook changed the spelling to 'reported' it should read: Did you mean where reportID = #val(form.reportID)# -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Monday, January 22, 2007 10:38 AM To: CF-Talk Subject: RE: Passing data from dropdown menu SELECT node FROM report WHERE reportID = reportID That will pick the first record in the table every time Did you mean where reported = #val(form. reportid)# -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.17.2/641 - Release Date: 1/20/2007 10:24 AM ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267141 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CSS
Here is a link. If you click on the text field for the seach you will see what I mean. http://72.174.248.16/totallyclassified/ Doug B. - Original Message - From: Sandra Clark [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, January 22, 2007 8:38 AM Subject: RE: CSS What docType are you using? Since your div is positioned absolutely, what is is positioned absolutely in reference to Any chance of a URL? Sandra Clark == http://www.shayna.com Training in Cascading Style Sheets and Accessibility -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: Monday, January 22, 2007 10:29 AM To: CF-Talk Subject: OT: CSS I have a div that is shown when a user clicks on a text field, and it pops up just below that text field (0px below and aligned to the left bottom corner). It seems to work just fine in IE: but in NS and FF the div is about 25 px out of alignment. Any ideas on how to display it the same in all browsers? The text field is in a table and not another div. cfoutput div style=position:absolute; top:82px; left:135px; width:152; background-color:##DAE4E4; border: 1px solid; color:##66; id=script table width=100% cellpadding=1 cellspacing=0 border=0 tr td class=bblackfontRecent Searches/td tdimg src=images/buttn-notok.gif border=0 onclick=showhide('script'); return(false); //td /tr /cfoutput cfif isDefined('cookie.testCookie') cfloop list=#cookie.testCookie# delimiters=, index=i cfoutput tr td colspan=2 class=nblackfonta href=#i#/a/td /tr /cfoutput /cfloop /cfif /table /div Doug B. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267142 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Upgrading to Axis 1.4
Force an axis error, might be in the error message! :OD -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: 22 January 2007 15:00 To: CF-Talk Subject: RE: Upgrading to Axis 1.4 Oh, as an addition, how to find out the version of Axis you are on? -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: 22 January 2007 14:53 To: CF-Talk Subject: Upgrading to Axis 1.4 I am running CF 7.0.2.x anyone know which version of Axis in it? I noticed this: http://tjordahl.blogspot.com/2005/09/upgrading-coldfusion-mx-7-to-axis-13.ht ml but I am not sure if 7.0.2 now contains 1.3 or whether I can/need to upgrade to 1.4. Cheers ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267143 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Passing data from dropdown menu
That did it Bobby, Thanks Steve LaBadie, Web Manager East Stroudsburg University 200 Prospect St. East Stroudsburg, Pa 18301 570-422-3999 [EMAIL PROTECTED] http://www.esu.edu -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Monday, January 22, 2007 10:49 AM To: CF-Talk Subject: RE: Passing data from dropdown menu Outlook changed the spelling to 'reported' it should read: Did you mean where reportID = #val(form.reportID)# -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Monday, January 22, 2007 10:38 AM To: CF-Talk Subject: RE: Passing data from dropdown menu SELECT node FROM report WHERE reportID = reportID That will pick the first record in the table every time Did you mean where reported = #val(form. reportid)# -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.17.2/641 - Release Date: 1/20/2007 10:24 AM ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267144 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
validate reg_express
This is working to a point. It checks for extensions (i.e., .net, .com, etc.), checks for @ and @@. But it doesn't check for esu.edu or .edu. Any ideas? cfinput type=text name=email size=34 class=formveld validate=regular_expression pattern=^[_a-z0-9-]+(\.[_a-z0-9-]+)[EMAIL PROTECTED](\.[a-z0-9-]+)*\.(([a-z] {2,3})|(aero|coop|info|museum|edu|name))$ message=Email is improperly formatted, must be an ESU email address! Steve LaBadie, Web Manager East Stroudsburg University 200 Prospect St. East Stroudsburg, Pa 18301 570-422-3999 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] http://www.esu.edu http://www3.esu.edu ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267145 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: application.cfc problems
I am new to application.cfc and I am running into problems trying to use the onError function. I think I have narrowed it down to a cfabort in my onRequestStart function. Read this: http://ray.camdenfamily.com/index.cfm?mode=entryentry=ED9D4058-E661-02E9-E70A41706CD89724 That might solve your problem. Will ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267146 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Apache config
Testing the patches should be the MS's job, not ours. Except Microsoft doesn't have access to YOUR specific environment, nor can they possibly test every combination of software and hardware that someone may be running. Their test cases are necessarily going to be limited to their own software, in fairly standard configurations and _perhaps_, in certain scenarios, some common third party software. This is true of ANY software and is why you need to do your own testing before using any update or patch to make sure it doesn't break in the context of your unique environment. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267147 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Upgrading to Axis 1.4
Oh, as an addition, how to find out the version of Axis you are on? If you have access to the directory where axis.jar is located, you can open it up as a zip file, then read MANIFEST.MF. I'm running 7.0.2 on my laptop, and mine says this: Name: org/apache/axis Implementation-Title: Apache Axis Implementation-Version: 1.2.1 2243 June 14 2005 Implementation-Vendor: Apache Web Services Presumably, there's a command-line way to find out, too, since axis.jar contains a Version.class file, but since I could just read the manifest I didn't bother to find out more. If you did want to find out, you could probably find that on the Axis site (http://xml.apache.org/axis/, I think). 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 information! ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267148 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Apache config
All my workstations and servers are set to received automatic updates, which then reboot the pc if necessary. If most of the updates, do not require reboots, then why have my PC's been rebooting monthly like clockwork? First, you really shouldn't apply automatic updates to production servers, unless you really enjoy troubleshooting under pressure. If you want to roll out updates in a nicely controlled manner, there are plenty of tools available to help you do so. Second, when you apply patches manually or using one of the above-mentioned tools, you have more control over how the patch is installed, and whether a reboot will happen. By default, automatic updates may reboot your machine even if it's not necessary. 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 information! ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267149 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: validate reg_express
That RegEx also looks like it checks for the last bit in the email to be 2 or 3 characters. There's now a legit .travel TLD. So you might consider making that argument 2,6. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267150 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CSS
I usually do something like this: div { position:absolute; left:something; top:something; } /* IE 7 ONLY */ *:first-child+html div { left:something-else; top:something-else; } /* IE 6 ONLY */ * html div { left:something-else; top:something-else; } The first one is your CSS. The 2nd one is an IE7 hack. The 3rd one is for IE6 only. there is also something where to make Firefox only read something you need to use *:lang(en) html or something along those lines. Just google that one because I can't remember it off the top of my head and I'm not in the office right now. Original Message --- Here is a link. If you click on the text field for the seach you will see what I mean. http://72.174.248.16/totallyclassified/ Doug B. - Original Message - From: Sandra Clark [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, January 22, 2007 8:38 AM Subject: RE: CSS What docType are you using? Since your div is positioned absolutely, what is is positioned absolutely in reference to Any chance of a URL? Sandra Clark == http://www.shayna.com Training in Cascading Style Sheets and Accessibility -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: Monday, January 22, 2007 10:29 AM To: CF-Talk Subject: OT: CSS I have a div that is shown when a user clicks on a text field, and it pops up just below that text field (0px below and aligned to the left bottom corner). It seems to work just fine in IE: but in NS and FF the div is about 25 px out of alignment. Any ideas on how to display it the same in all browsers? The text field is in a table and not another div. cfoutput div style=position:absolute; top:82px; left:135px; width:152; background-color:##DAE4E4; border: 1px solid; color:##66; id=script table width=100% cellpadding=1 cellspacing=0 border=0 tr td class=bblackfontRecent Searches/td tdimg src=images/buttn-notok.gif border=0 onclick=showhide('script'); return(false); //td /tr /cfoutput cfif isDefined('cookie.testCookie') cfloop list=#cookie.testCookie# delimiters=, index=i cfoutput tr td colspan=2 class=nblackfonta href=#i#/a/td /tr /cfoutput /cfloop /cfif /table /div Doug B. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267151 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Using snapshot transaction isolation level
Sixten Otto wrote: Jochem wrote: Any clever suggestions on how to use snapshot isolation from CF? It seems to be the case (though I haven't had a chance to play with this yet) that they've added an option to the DB to allow you to use snapshots as the implementation of READ COMMITTED. Presumably, to solve this exact problem in all of the places where existing code will be used with the new version of SQL Server. See information on READ_COMMITTED_SNAPSHOT here: http://msdn2.microsoft.com/en-US/library/ms175095.aspx That appears to have worked, I can now issue most queries concurrently without them waiting for eachothers locks. Jochem ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267152 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: validate reg_express
If you are looking to lock to esu.edu try this ([a-zA-Z0-9_\-\.]+)@((esu+\.)+)(edu) -- ~Eric ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267153 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CSS
That DocType triggers quirks modes across browsers, so of course what looks right in the browser you design in, will look off in other browsers. http://hsivonen.iki.fi/doctype/ Use the following DocType and make sure your page validates. !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd; Then start working with your page in FireFox first. Make it work there. (Its always easier to get something to work in a more standards based browser and then make changes for other browsers which aren't so compliant such as IE). Once you have that working, go ahead and fix IE. Make sure you look at it in both IE6 and IE7 and send your changes to those browsers via the conditional tags I reference in my blog http://www.shayna.com/index.cfm?fuseaction=blog.display_entryid=131 Sandra Clark == http://www.shayna.com Training in Cascading Style Sheets and Accessibility -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: Monday, January 22, 2007 10:49 AM To: CF-Talk Subject: Re: CSS And doctype !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN Doug B. - Original Message - From: Sandra Clark [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, January 22, 2007 8:38 AM Subject: RE: CSS What docType are you using? Since your div is positioned absolutely, what is is positioned absolutely in reference to Any chance of a URL? Sandra Clark == http://www.shayna.com Training in Cascading Style Sheets and Accessibility -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: Monday, January 22, 2007 10:29 AM To: CF-Talk Subject: OT: CSS I have a div that is shown when a user clicks on a text field, and it pops up just below that text field (0px below and aligned to the left bottom corner). It seems to work just fine in IE: but in NS and FF the div is about 25 px out of alignment. Any ideas on how to display it the same in all browsers? The text field is in a table and not another div. cfoutput div style=position:absolute; top:82px; left:135px; width:152; background-color:##DAE4E4; border: 1px solid; color:##66; id=script table width=100% cellpadding=1 cellspacing=0 border=0 tr td class=bblackfontRecent Searches/td tdimg src=images/buttn-notok.gif border=0 onclick=showhide('script'); return(false); //td /tr /cfoutput cfif isDefined('cookie.testCookie') cfloop list=#cookie.testCookie# delimiters=, index=i cfoutput tr td colspan=2 class=nblackfonta href=#i#/a/td /tr /cfoutput /cfloop /cfif /table /div Doug B. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267154 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CSS
That DocType triggers quirks modes across browsers, so of course what looks right in the browser you design in, will look off in other browsers. http://hsivonen.iki.fi/doctype/ Use the following DocType and make sure your page validates. !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd; Then start working with your page in FireFox first. Make it work there. (Its always easier to get something to work in a more standards based browser and then make changes for other browsers which aren't so compliant such as IE). Once you have that working, go ahead and fix IE. Make sure you look at it in both IE6 and IE7 and send your changes to those browsers via the conditional tags I reference in my blog http://www.shayna.com/index.cfm?fuseaction=blog.display_entryid=131 Sandra Clark == http://www.shayna.com Training in Cascading Style Sheets and Accessibility -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: Monday, January 22, 2007 10:49 AM To: CF-Talk Subject: Re: CSS And doctype !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN Doug B. - Original Message - From: Sandra Clark [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, January 22, 2007 8:38 AM Subject: RE: CSS What docType are you using? Since your div is positioned absolutely, what is is positioned absolutely in reference to Any chance of a URL? Sandra Clark == http://www.shayna.com Training in Cascading Style Sheets and Accessibility -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: Monday, January 22, 2007 10:29 AM To: CF-Talk Subject: OT: CSS I have a div that is shown when a user clicks on a text field, and it pops up just below that text field (0px below and aligned to the left bottom corner). It seems to work just fine in IE: but in NS and FF the div is about 25 px out of alignment. Any ideas on how to display it the same in all browsers? The text field is in a table and not another div. cfoutput div style=position:absolute; top:82px; left:135px; width:152; background-color:##DAE4E4; border: 1px solid; color:##66; id=script table width=100% cellpadding=1 cellspacing=0 border=0 tr td class=bblackfontRecent Searches/td tdimg src=images/buttn-notok.gif border=0 onclick=showhide('script'); return(false); //td /tr /cfoutput cfif isDefined('cookie.testCookie') cfloop list=#cookie.testCookie# delimiters=, index=i cfoutput tr td colspan=2 class=nblackfonta href=#i#/a/td /tr /cfoutput /cfloop /cfif /table /div Doug B. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267155 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Verity Issue
Has anyone else seen this error when trying to index a collection. We are on CFMX 7.0.2. General failure. (-2) The specific sequence of files included or processed is: \mx7verity.cfm, line: 5. The only thing on line 5 is the url path. I can't find any help on Adobe's site for this. Rich Sloan ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267156 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
application.cfc problems fixed now i hit my real error
Thanks Will, that did solve one of my problems. But now I am running into my original problem that I was trying to figure out by simplifying my onError function. On one of my pages when the user is adding a new record I do a pop up window so they can enter the new records information. When they hit submit the page submits to an action page that run this javascript to refresh the parent window and closes the pop up window. script language=javascript opener.location.reload(); self.close(); /script When the parent window refreshes the onError function in the application.cfc fires and I get an email with this dump: http://chadgray.info/misc/cferror.jpg Now see how it is staring to display the data on the page then errors. It does not always stop at this location. Next time I add a new record it will stop further down the page or higher up. Now on this page that errors I am using some XML that is stored in a session variable to decide if I show the column of data or not. table cellspacing=0 cellpadding=0 class=elementList tr thnbsp;/th cfif session.prefs.preferences.elementView.JID.XMLAttributes.view thJID/th/cfif cfif session.prefs.preferences.elementView.SKU.XMLAttributes.view thSKU/th/cfif ... etc... I think the cfifs on my session XML is what is causing the crash. In the stack trace there is mentioning of XML. I don't know why though If I hit refresh the page works fine. It only does it when I do my add new record as I described above. If I take the onError function out of my Application.cfc then I never hit the error. The page works fine. Is there any way to submit this to Adobe so they can tell me if this is a bug in CF or my programming skills or lack there of. :) ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267157 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: validate reg_express
Eric, What would I have to do if I wanted to check for esu.edu or po-box.esu.edu Steve LaBadie, Web Manager East Stroudsburg University 200 Prospect St. East Stroudsburg, Pa 18301 570-422-3999 [EMAIL PROTECTED] http://www.esu.edu -Original Message- From: Eric Haskins [mailto:[EMAIL PROTECTED] Sent: Monday, January 22, 2007 12:04 PM To: CF-Talk Subject: Re: validate reg_express If you are looking to lock to esu.edu try this ([a-zA-Z0-9_\-\.]+)@((esu+\.)+)(edu) -- ~Eric ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267158 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Apache config
You're probably right, and I should be more proactive in only applying patches that apply to my configuration. I should also probably be testing the patches on a development server first. However, I would rather spend the time doing real work than worrying about patches. Why can't Windows patches be more pain free like Linux patches? In my experience, they are, but I believe many of you have been burned by bad MS patches in the past, which is why you feel the need to test the patch before applying it. Testing the patches should be the MS's job, not ours. If it's my job to keep the server running, it's my job to make sure that patches work. I haven't seen any MS folks coming by my office to test for me, on my specific servers, with my specific mix of applications and settings. If you administer servers, this is REAL WORK, regardless of platform. If I told my friendly local Solaris administrator that he should just install patches on his production servers without testing them first, I'd get laughed out of his office. For what it's worth to you, I think your emphasis on patching and uptime are seriously misplaced. You should be more concerned about configuration management and unscheduled downtime. If you're a developer, you'd much rather be writing code, which brings me back to my original point - if you're a developer, and you don't want to be a server administrator, learning Apache or Linux or whatever can be a distraction from your REAL WORK. That's really what caused me to react in the first place. I like Apache. I like Linux. I don't think there's anything wrong with using either one. I think in many ways, they're superior to their Microsoft counterparts. But the evangelism that accompanies them is often misguided, I think. You're right and rewriting using CF for dynamic content probably doesn't make much of a difference, although you should agree that it is slower, even by a few milliseconds. My point was about static content. Lets say you want to set up a sort of proxy server where: http://www.example.com actually pulls content from http://www2.example.com. In Apache, you would just put in something like: RewriteCond %{HTTP_HOST} ^www.example.com $ [NC] RewriteRule ^(.*)$http://www2.example.com/$1 [P] This will proxy all the requests through www2, while the url in the browser will appear as www. It will proxy images, as well as any pages. I doubt you can do this with ISAPI rewrite, and with CF it would be pretty difficult to do as well (if not impossible). Apache handles this type of stuff out of the box. Why do you doubt that you can do this with ISAPI Rewrite? Because it sure looks like you can to me: http://www.isapirewrite.com/docs/ I'm pretty sure you can do that with IIRF, too. And of course, I can turn this around to point out the things that IIS has and Apache doesn't (at least without additional modules): - web, GUI and scriptable API management interfaces - live configuration editing without restart - ability to run ASP/ASP.NET apps - authentication against Active Directory - support of MOM, SUS/WSUS and third party configuration management tools Now, you might not be interested in any of those things, but that doesn't mean they're valueless to everyone else. 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 information! ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267159 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Using cfcache
Do any of you use cfcache? I am inheriting a site that uses it everywhere, even on pages that change every 30 seconds or more (its an auction type site, so every bid would change the page) In my experience, I try to optimize the DB and my queries and processing to the Nth degree, so I have never had a need for cfcache. Does this scale well, or has anyone had problems or issues they have run into using it? CFCACHE can certainly scale, and page-level caching can be useful even for short intervals, if enough people visit the page. Ideally, you should be using some sort of mechanism that takes advantage of If-Modified-Sincee HTTP request headers, so that you can skip processing the page if it hasn't changed. CFCACHE provides this by default in CF 7, and if you only want client-side caching (the HTTP request header stuff mentioned above), you can use that option. Here's a good overview of how caching works in CF: http://www.adobe.com/devnet/coldfusion/articles/cfcaching.html Of course, there is some overhead in server-side page-level caching, so you do want to limit it to cases where the cached page is likely to be reused. As far as I can tell, there's no overhead in client-side caching, so you should go ahead and use that wherever possible. If you want to cache segments of a page, there's a nice custom tag for this: http://www.bpurcell.org/blog/index.cfm?entry=963mode=entry Again, you have to calculate whether those segments are likely to be reused, of course. 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 information! ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267160 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: validate reg_express
Try This, ([a-zA-Z0-9_\-\.]+)@((po-box\.)|(esu\.))([a-zA-Z]{2,4}|[0-9]{1,3}) ~Eric ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267161 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: validate reg_express
Oops LOL ([a-zA-Z0-9_\-\.]+)@((po-box\.)|(esu+\.))(edu) Eric On 1/22/07, Eric Haskins [EMAIL PROTECTED] wrote: Try This, ([a-zA-Z0-9_\-\.]+)@((po-box\.)|(esu\.))([a-zA-Z]{2,4}|[0-9]{1,3}) ~Eric -- ~Eric ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267162 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: validate reg_express
Damn its monday my Pats lost :) sorry Ill get it right yet ([a-zA-Z0-9_\-\.]+)@((po-box.esu\.)|(esu\.))(edu) Side note: Great tool I found awhile back for doing this and its free http://www.ultrapico.com/Expresso.htm Eric On 1/22/07, Eric Haskins [EMAIL PROTECTED] wrote: Oops LOL ([a-zA-Z0-9_\-\.]+)@((po-box\.)|(esu+\.))(edu) Eric ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267163 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: validate reg_express
Thanks a lot Eric Cheers, Steve LaBadie, Web Manager East Stroudsburg University 200 Prospect St. East Stroudsburg, Pa 18301 570-422-3999 [EMAIL PROTECTED] http://www.esu.edu -Original Message- From: Eric Haskins [mailto:[EMAIL PROTECTED] Sent: Monday, January 22, 2007 1:28 PM To: CF-Talk Subject: Re: validate reg_express Damn its monday my Pats lost :) sorry Ill get it right yet ([a-zA-Z0-9_\-\.]+)@((po-box.esu\.)|(esu\.))(edu) Side note: Great tool I found awhile back for doing this and its free http://www.ultrapico.com/Expresso.htm Eric On 1/22/07, Eric Haskins [EMAIL PROTECTED] wrote: Oops LOL ([a-zA-Z0-9_\-\.]+)@((po-box\.)|(esu+\.))(edu) Eric ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267164 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: securing files via cf
I did a search (which, I'm ashamed to admit, I should have done before posting) and found iAuth, and it looks good. Does anyone have any experience with it? Does it consume a cf handle for the duration of the download, or does it simply check the user's credentials at the door and then hand off the file to IIS? The latter. It runs a CF script of your choice, which simply tells it whether the user is authorized. Then, it returns the file. Of course, this will only work if you're using IIS and Windows. I don't know if there's a similar alternative for Apache. However, another approach that will work regardless of web server is to direct the user to a script that will check their authentication, then create a symbolic link to the directory or file in question, then redirect the user to the URL corresponding to the symbolic link. You would then have to clean up these symbolic links after some period of time, so that they're no longer available. This is easier to do with Unix than Windows, since Unix supports symbolic links to files and Windows only supports symbolic links to directories, but is doable under either environment. You think that by now Allaire/Macromedia/Adobe would have come up with a solution for this. Files are only getting bigger, and more and more people are doing file management online. I would love them to create a tag, or perhaps update cfcontent, made specifically for dealing with securing non-cf files that didn't consume cf server resources... just authenticated to the programmer's auth scheme and then hand it off to IIS or Apache or whatever. Seems simple enough. http://www.adobe.com/go/wish/ 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 information! ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267165 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Apache config
Dave Watts wrote: You'll notice that this is an SES URL, on an IIS 6 server ... I would argue that in fact that's not a search engine friendly url at all. That url gives me no context for what I'm going to find on the page if I follow the link. Note the acronym: SES. Not SEF. The last S stands for safe. The point is simply that dynamic elements of the URL can be made to look static. You are correct, I misread your post. That's what I get for being busy and misreading acronyms :) I agree with you that pages should have human-readable, consistent URLs, and that this may well increase relevance and page rank. We use that approach very successfully in our CMS implementations. But all that is entirely beside the point, isn't it? A URL (or more properly a URI) is meant to provide a descriptive and permanent location for a piece of content. It is not more proper to call a URL a URI. URLs are a subset of URIs, and it is useful to differentiate between URLs and other sorts of URIs. http://en.wikipedia.org/wiki/Uniform_Resource_Identifier#Relationship_to_URL _and_URN If you're specifying a location, it's a URL. I disagree. URI's fundamentally have a scheme that specifies a transport mechanism (mailto, ftp, file, http, etc) followed by an address. Its part of the spec. As the wikipedia article that you linked to mentions, URL has been deprecated in favor of URI for some time: In technical publications, especially standards produced by the IETF and the W3C, the term URL has long been deprecated, as it is rarely necessary to distinguish between URLs and URIs. It is important to have consistent, permanent and optimally human readable URI's regardless of whether they are locations of a web page or some other type of URI. I suspect that we are splitting hairs here in a way that most people don't really care about. URL vs URI is largely a semantic point and doesn't impact the life of most developers. But given that URI is what is used by most of the W3C and IETF, I like to try and explain it where possible so that other developers understand what's coming out of the standards setting bodies. Cheers, Judah ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267166 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Tournament Bracket CF code?
Every time I host a lan party, we end up getting a giant piece of cardboard to put the tournament bracket on, and I tell myself 'I really need to code something for this' Has anyone else started on a tourney bracket like this? Anyone have any ideas on how to start a tourney, mark winners, figure out how to draw the brackets? Any ideas would be helpful! Chris ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267167 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Tournament Bracket CF code?
My brother-in-law wants me to write something like this for him, but I've not had the time. I'm not a sports/competitive type guy, so I don't really know how Tournaments and brackets work (I've got a vague idea), so he was going to send me all the requirements, but has yet to do so. Anyway, I'd like to see something like this too. If I come up with any ideas I'll let you know. :o) Cheers, Chris Peterson, Chris wrote: Every time I host a lan party, we end up getting a giant piece of cardboard to put the tournament bracket on, and I tell myself 'I really need to code something for this' Has anyone else started on a tourney bracket like this? Anyone have any ideas on how to start a tourney, mark winners, figure out how to draw the brackets? Any ideas would be helpful! Chris ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267168 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Tournament Bracket CF code?
Peterson, Chris wrote: Every time I host a lan party, we end up getting a giant piece of cardboard to put the tournament bracket on, and I tell myself 'I really need to code something for this' Has anyone else started on a tourney bracket like this? Anyone have any ideas on how to start a tourney, mark winners, figure out how to draw the brackets? Any ideas would be helpful! Chris I'm not sure if it would do what you need, but Rick Root created a add-on to Galleon that will do a pool for the NCAA tournament...perhaps it could be modified for your purposes... http://www.opensourcecf.com/ncaapool/ ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267169 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: validate reg_express
The pipe delimited list of domains is a list of things to match that wont be covered by the 2,3 just before it. This is what you have now: aero|coop|info|museum|edu|name edu does not need to be in there since it is covered by the 2,3 If you want others that are longer than 3 characters either up the 2,3 to 2,X or add the TLD to that list (I'd add to the list) aero|coop|info|name|museum|travel|mobi|jobs|arpa If you changed 2,3 to 2,4 then the piped list would only be museum|travel So... ^[_a-z0-9-]+(\.[_a-z0-9-]+)[EMAIL PROTECTED](\.[a-z0-9-]+)*\.(([a-z] {2,3})|(aero|coop|info|name|museum|travel|mobi|jobs|arpa))$ Or ^[_a-z0-9-]+(\.[_a-z0-9-]+)[EMAIL PROTECTED](\.[a-z0-9-]+)*\.(([a-z] {2,4})|(museum|travel))$ There's no need to add things like esu.edu because edu is still the TLD and that regex will validate [EMAIL PROTECTED] just fine The 2,3 and piped list only matches what comes AFTER the last dot. Here is the iana list of TLDs http://data.iana.org/TLD/tlds-alpha-by-domain.txt cheers -Original Message- From: Steve LaBadie [mailto:[EMAIL PROTECTED] Sent: Monday, January 22, 2007 12:22 PM To: CF-Talk Subject: RE: validate reg_express Eric, What would I have to do if I wanted to check for esu.edu or po-box.esu.edu Steve LaBadie, Web Manager East Stroudsburg University 200 Prospect St. East Stroudsburg, Pa 18301 570-422-3999 [EMAIL PROTECTED] http://www.esu.edu -Original Message- From: Eric Haskins [mailto:[EMAIL PROTECTED] Sent: Monday, January 22, 2007 12:04 PM To: CF-Talk Subject: Re: validate reg_express If you are looking to lock to esu.edu try this ([a-zA-Z0-9_\-\.]+)@((esu+\.)+)(edu) -- ~Eric ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267170 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Flash forms and charset question
Hey all, Hope you're all having a great 2007 so far! I have a question about using flash forms. My problem is that everytime I use french characters, I get some weirdness... ;-) I have some default settings in this app (the core of the code is likely about 2 years old). cfcontent type=text/html; charset=ISO-8859-1 cfset setEncoding(URL, ISO-8859-1) cfset setEncoding(Form, ISO-8859-1) All my other forms seem to act normally Just when I use the new flash forms that I've added will this occur. Any ideas? I've done a bit of Googling to find any info on Charsets and Flash forms without success. Thanks, -- Yves Arsenault Love is the only force capable of transforming an enemy into a friend. --Martin Luther King, Jr. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267171 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CSS
Thanks Sandra. I will read it over, and see what I can come up with. I hate this type of crappola with browser standards. Doug B. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267172 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
firewall?
I am not much of a admin, so I was wondering which ports I need to leave open on my server. I am running WIN2K/CFMX7/SQL2K Doug B. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267173 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Apache config
I disagree. URI's fundamentally have a scheme that specifies a transport mechanism (mailto, ftp, file, http, etc) followed by an address. Its part of the spec. No, it's not part of the spec. URNs (which are certainly URIs) often don't tell you anything at all about transport or location. Consider the standard example given for a URN, an ISBN identifier: urn:isbn:0-395-36341-1 Where's the transport or location there? In technical publications, especially standards produced by the IETF and the W3C, the term URL has long been deprecated, as it is rarely necessary to distinguish between URLs and URIs. I had no idea that cf-talk was a technical publication. For web developers, the term URL provides a useful distinction from other sorts of URIs, although it may not for the purposes of the technical publications written by IETF and W3C. It is important to have consistent, permanent and optimally human readable URI's regardless of whether they are locations of a web page or some other type of URI. I was going to blindly agree with this, actually, but upon further reflection I have to disagree with this as well. If you revisit the ISBN example above, can you tell from that URN that the book in question is Websters II New Riverside Dictionary? I do agree that URLs should ideally be consistent, permanent, and optimally human readable in a way that matches their corresponding content, though. I suspect that we are splitting hairs here in a way that most people don't really care about. URL vs URI is largely a semantic point and doesn't impact the life of most developers. But given that URI is what is used by most of the W3C and IETF, I like to try and explain it where possible so that other developers understand what's coming out of the standards setting bodies. If you say that URLs are more properly called URIs, that's not semantic hair-splitting, it's an error, in the same way that it would be an error to tell someone they shouldn't say car or truck or bicycle, but should instead say vehicle. When you use the term URL, you are conveying some information that doesn't exist when you use the term URI. 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 information! ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267174 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: firewall?
80. =) Chris -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: Monday, January 22, 2007 2:12 PM To: CF-Talk Subject: firewall? I am not much of a admin, so I was wondering which ports I need to leave open on my server. I am running WIN2K/CFMX7/SQL2K Doug B. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267175 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: firewall?
I am not much of a admin, so I was wondering which ports I need to leave open on my server. I am running WIN2K/CFMX7/SQL2K All on one server? Aside from web service, what services do you make public? FTP? How do your remotely manage your server? Does your server need to talk to other servers? 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 information! ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267176 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Tournament Bracket CF code?
Peterson, Chris wrote: Every time I host a lan party, we end up getting a giant piece of cardboard to put the tournament bracket on, and I tell myself 'I really need to code something for this' Has anyone else started on a tourney bracket like this? Anyone have any ideas on how to start a tourney, mark winners, figure out how to draw the brackets? Any ideas would be helpful! Well this isn't CF, but there are a few pool/billiards tournament manager packages out there that handle this sort of thing quite nicely. You can do single/double elimination boards, they handle up to 128 players (a bit much for a LAN party I know), etc etc. Here's a link to one that's pretty widely used for pool tournaments in my area: http://www.ingenlab.com/billiard/ingpool.html --Scott ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267177 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: firewall?
That depends on what you need access to... 80 of course will allow unencrypted web traffic... 443 for SSL (https) -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: Monday, January 22, 2007 2:12 PM To: CF-Talk Subject: firewall? I am not much of a admin, so I was wondering which ports I need to leave open on my server. I am running WIN2K/CFMX7/SQL2K Doug B. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267178 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
How to dump a sql query to text
I wish to store the actual text of a SQL query to a logfile. At the risk of belaboring the obvious, from: cfquery ... Select * from blah /cfquery I wish to actual put select * from blah into a text variable and write it to a logfile or data table. Can someone suggest an easy way to do this? TNX. Rick Colman ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267179 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Apache config
Dave Watts wrote: If you say that URLs are more properly called URIs, that's not semantic hair-splitting, it's an error, in the same way that it would be an error to tell someone they shouldn't say car or truck or bicycle, but should instead say vehicle. When you use the term URL, you are conveying some information that doesn't exist when you use the term URI. My point in the last email was simply that the bodies that set up web-related standards call URLs URIs. I'm not telling someone that they should call it a vehicle instead of a car. I'm telling them that when they go to look for car dealerships in the phone book, they should look under Automobile Dealers because that's what the people that make the phone book call them. Cheers, Judah ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267180 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: firewall?
All I use is the webserver. No SMTP or anything. Funny thing is, I opened up 80 and still cannot seem to access the server. Can someone see if they can? http://72.174.248.16/totallyclassified/index.cfm Doug B. - Original Message - From: Bobby Hartsfield [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, January 22, 2007 12:23 PM Subject: RE: firewall? That depends on what you need access to... 80 of course will allow unencrypted web traffic... 443 for SSL (https) -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: Monday, January 22, 2007 2:12 PM To: CF-Talk Subject: firewall? I am not much of a admin, so I was wondering which ports I need to leave open on my server. I am running WIN2K/CFMX7/SQL2K Doug B. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267181 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Apache config
I always thought URLs were different than URIs ? This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Judah McAuley To: CF-Talk Sent: Mon Jan 22 19:35:30 2007 Subject: Re: Apache config Dave Watts wrote: If you say that URLs are more properly called URIs, that's not semantic hair-splitting, it's an error, in the same way that it would be an error to tell someone they shouldn't say car or truck or bicycle, but should instead say vehicle. When you use the term URL, you are conveying some information that doesn't exist when you use the term URI. My point in the last email was simply that the bodies that set up web-related standards call URLs URIs. I'm not telling someone that they should call it a vehicle instead of a car. I'm telling them that when they go to look for car dealerships in the phone book, they should look under Automobile Dealers because that's what the people that make the phone book call them. Cheers, Judah ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267182 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: How to dump a sql query to text
CF7 has a built in variable that gets returned with every query. It contains the actual final query language. It's [query_name].sql. http://www.cfquickdocs.com/?getDoc=cfquery -Original Message- From: Richard Colman [mailto:[EMAIL PROTECTED] Sent: Monday, January 22, 2007 1:33 PM To: CF-Talk Subject: How to dump a sql query to text I wish to store the actual text of a SQL query to a logfile. At the risk of belaboring the obvious, from: cfquery ... Select * from blah /cfquery I wish to actual put select * from blah into a text variable and write it to a logfile or data table. Can someone suggest an easy way to do this? TNX. Rick Colman ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267183 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: firewall?
All I use is the webserver. No SMTP or anything. Funny thing is, I opened up 80 and still cannot seem to access the server. Can someone see if they can? http://72.174.248.16/totallyclassified/index.cfm Yes, it works fine from here. If all you need to allow is access to the web server, you can simply open TCP/80 and TCP/443 inbound, and block all outbound ports. However, in real life, things are almost never that simple, so you need to think about all the ways you interact with that server - management utilities, remote access, backup, outbound requests made from your applications, DNS lookups, etc. 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 information! ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267184 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How to dump a sql query to text
Well, you could start by throwing the SQL query code into a var to begin with: cfset SQLVar = Select * from table Or build it up as you would build it within the cfquery tags. Then execute it: cfquery etc etc #SQLVar# /cfquery And since it's already in a var, you can write it to your DB as you see fit. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267185 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: firewall?
Works fine for me. Are you trying to reach it from inside the same network, using the external, public IP? That might not work for you if you're inside the firewall and it's doing NAT or PAT. From outside, I get the classifieds site with no trouble. -Ken On 1/22/07, Doug Brown [EMAIL PROTECTED] wrote: All I use is the webserver. No SMTP or anything. Funny thing is, I opened up 80 and still cannot seem to access the server. Can someone see if they can? http://72.174.248.16/totallyclassified/index.cfm Doug B. - Original Message - From: Bobby Hartsfield [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, January 22, 2007 12:23 PM Subject: RE: firewall? That depends on what you need access to... 80 of course will allow unencrypted web traffic... 443 for SSL (https) -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: Monday, January 22, 2007 2:12 PM To: CF-Talk Subject: firewall? I am not much of a admin, so I was wondering which ports I need to leave open on my server. I am running WIN2K/CFMX7/SQL2K Doug B. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267187 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How to dump a sql query to text
The only way I've done that before is to do something like: CFSaveContent variable=a Select * from blah /CFSaveContent CFQuery ... Select * from blah /CFQuery Basically writing the query twice. It kinda sucks, but that's the only way I've thought of. Also, if your real sql contains cfqueryparams, then you have to get rid of those in the version that goes to the log file. If anyones got a better idea, I'd like to hear it too. :o) Cheers, Chris Richard Colman wrote: I wish to store the actual text of a SQL query to a logfile. At the risk of belaboring the obvious, from: cfquery ... Select * from blah /cfquery I wish to actual put select * from blah into a text variable and write it to a logfile or data table. Can someone suggest an easy way to do this? TNX. Rick Colman ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267186 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: How to dump a sql query to text
Dude! That's cool. Now I *really* wish I was running on CF7. :o) Rick, I probably should have stated that my way is what I do in CFMX6.1 Chris Andy Matthews wrote: CF7 has a built in variable that gets returned with every query. It contains the actual final query language. It's [query_name].sql. http://www.cfquickdocs.com/?getDoc=cfquery -Original Message- From: Richard Colman [mailto:[EMAIL PROTECTED] Sent: Monday, January 22, 2007 1:33 PM To: CF-Talk Subject: How to dump a sql query to text I wish to store the actual text of a SQL query to a logfile. At the risk of belaboring the obvious, from: cfquery ... Select * from blah /cfquery I wish to actual put select * from blah into a text variable and write it to a logfile or data table. Can someone suggest an easy way to do this? TNX. Rick Colman ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267188 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How to dump a sql query to text
Yeah, but you'd still have a problem when using CFQueryParams. :o' Chris Scott Weikert wrote: Well, you could start by throwing the SQL query code into a var to begin with: cfset SQLVar = Select * from table Or build it up as you would build it within the cfquery tags. Then execute it: cfquery etc etc #SQLVar# /cfquery And since it's already in a var, you can write it to your DB as you see fit. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267189 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: firewall?
Doug, As usual Dave is right on, I would add, however, that since you acknowledge that you're not much of a admin, don't worry about opening any extra ports until something you need doesn't work, and then focus on opening the ports necessary for making that specific service work. Better safe than sorry. More importantly though, you really really need to disable directory browsing in Apache... If all you need to allow is access to the web server, you can simply open TCP/80 and TCP/443 inbound, and block all outbound ports. However, in real life, things are almost never that simple, so you need to think about all the ways you interact with that server - management utilities, remote access, backup, outbound requests made from your applications, DNS lookups, etc. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267190 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Apache config
Robertson-Ravo, Neil (RX) wrote: I always thought URLs were different than URIs W3C work on Addressing schemes: http://www.w3.org/Addressing And in particular, URIs, URLs, and URNs: Clarifications and Recommendations: http://www.w3.org/TR/uri-clarification/ Judah ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267191 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Is cfqueryparam cfsqltype=cf_sql_varchar Necessary?
As a followup to this...is there any reason to use a cfqueryparam in a query-of-query? If it's not otherwise needed to prevent SQL injection that is? Mary Jo ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267192 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Is cfqueryparam cfsqltype=cf_sql_varchar Necessary?
As a followup to this...is there any reason to use a cfqueryparam in a query-of-query? If it's not otherwise needed to prevent SQL injection that is? No, query-of-query functionality doesn't support bind parameters in any meaningful way, as far as I can tell. There's no actual database there, if you know what I mean. Likewise, there's no likelihood of SQL injection attacks succeeding, without an actual database to execute those attacks. 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 information! ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267193 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Is cfqueryparam cfsqltype=cf_sql_varchar Necessary?
Mary Jo Sminkey wrote: As a followup to this...is there any reason to use a cfqueryparam in a query-of-query? If it's not otherwise needed to prevent SQL injection that is? Yes, it helps to disambiguate the datatype. Jochem ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267194 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Is cfqueryparam cfsqltype=cf_sql_varchar Necessary?
As a followup to this...is there any reason to use a cfqueryparam in a query-of-query? If it's not otherwise needed to prevent SQL injection that is? Yes, it helps to disambiguate the datatype. For whom, the developer? ColdFusion? I guess I should clarify my question as to whether there is any performance gain (or loss) by using it with a QofQ. MJS ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267195 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Is cfqueryparam cfsqltype=cf_sql_varchar Necessary?
Mary Jo Sminkey wrote: As a followup to this...is there any reason to use a cfqueryparam in a query-of-query? If it's not otherwise needed to prevent SQL injection that is? Yes, it helps to disambiguate the datatype. For whom, the developer? ColdFusion? ColdFusion. I guess I should clarify my question as to whether there is any performance gain (or loss) by using it with a QofQ. There shouldn't be any effect. Jochem ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267196 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Is cfqueryparam cfsqltype=cf_sql_varchar Necessary?
I don't think for the case of security that it's required as it may not contain actual DB content or be derived from DB content. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Mary Jo Sminkey To: CF-Talk Sent: Mon Jan 22 19:06:15 2007 Subject: Re: Is cfqueryparam cfsqltype=cf_sql_varchar Necessary? As a followup to this...is there any reason to use a cfqueryparam in a query-of-query? If it's not otherwise needed to prevent SQL injection that is? Yes, it helps to disambiguate the datatype. For whom, the developer? ColdFusion? I guess I should clarify my question as to whether there is any performance gain (or loss) by using it with a QofQ. MJS ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267197 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Using CF to do DNS and MX lookups?
One of our IT guys asked it it was possible to use CF to look up MX, NS and A records for websites. I found the Foundeo toolkit http://foundeo.com/fusionkit/dns-cfc-docs.cfm But wondered if there was something open source that might work. Alternately, if anyone has used this Toolkit, could you let me know if you like it? Andy Matthews Senior Coldfusion Developer Office: 877.707.5467 x747 Direct: 615.627.9747 Fax: 615.467.6249 [EMAIL PROTECTED] www.dealerskins.com http://www.dealerskins.com/ ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267198 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Changes to Daylight Savings Time in 2007 may affect your data bases (DB2, Oracle and others)
How about 1.4.2_13? We have been told a work that _11 has a security problem and isn't allowed. -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Friday, January 19, 2007 12:19 PM To: CF-Talk Subject: Re: Changes to Daylight Savings Time in 2007 may affect your data bases (DB2, Oracle and others) Yes. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Che Vilnonis To: CF-Talk Sent: Fri Jan 19 17:17:04 2007 Subject: RE: Changes to Daylight Savings Time in 2007 may affect your data bases (DB2, Oracle and others) Is 1.4.2_11 officially approved for use by Adobe for CFMX 6.1 and 7.02? -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Friday, January 19, 2007 12:15 PM To: CF-Talk Subject: RE: Changes to Daylight Savings Time in 2007 may affect your data bases (DB2, Oracle and others) I'm no Java wiz, but do these changes affect CFMX and its JRE? Yes, I think so, because CF comes with 1.4.2_09 or earlier versions. You'll probably want to upgrade to 1.4.2_11: http://java.sun.com/developer/technicalArticles/Intl/USDST/ 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 information! ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267199 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Changes to Daylight Savings Time in 2007 may affect your data bases (DB2, Oracle and others)
How about 1.4.2_13? We have been told a work that _11 has a security problem and isn't allowed. The latest version listed on the Adobe site is 11, but you can certainly try 13 and see if it works with your applications. 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 information! ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267200 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Storing query object in array and trying to QoQ from it?
I have a report I am building that is getting 5 months worth of data. Each month will be its own tab on an excel spreadsheet, and I like to keep display / output separate from query / code, so I am cramming each query result into an array. Well, I need to get a distinct list of pay classes from any of my 5 query results, and just as a test I did a SELECT * FROM dataArray[1][5] and CF gets PO'd about the [ in the query. Is this possible, or do I need to get my queries new aliases, or should I just not store them in an array? Maybe a structure instead? Chris ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267201 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Using CF to do DNS and MX lookups?
On 22 Jan 2007, at 12:20, Andy Matthews wrote: One of our IT guys asked it it was possible to use CF to look up MX, NS and A records for websites. Coincidentally, I was working on a project to do this yesterday. I ended up using the dnsjava library http://www.dnsjava.org/ inside a wrapper CFC to make dig-style queries easy. It works very well. The code isn't polished up enough to distribute as a tidy package, but if you're interested, let me know and I'll give you what I've got. -- Joseph Lamoree ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267202 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Problems with a query
Hi there I have a slight problem with a query (maybe its just the approach that I have taken) so would appreciate any thoughts/feedback). I have a development website that I am trying to finalise. The website can be viewed at: http://202.157.179.158/csandbdirectory The problem that I have rests with the selecting options from the advanced search options. Basically I seem to be able to get results if I select a procedure and select a specific state. However I do not seem to get results if I select a Product/Procedure and don't select a state or try to select ALL states. Here is my query. cfquery name=qGetAdvertisers datasource=#request.db_dsn# username=#request.db_login# password=#request.db_pwd# Select * From tbl_advertisers tbl_advertisers, tbl_procedures tbl_procedures, tbl_states tbl_states, tbl_advertiserstates tbl_advertiserstates, tbl_advertiserprocs tbl_advertiserprocs Where ( tbl_advertisers.advertiserid = tbl_advertiserprocs.advertiserid Andtbl_procedures.procedureid = tbl_advertiserprocs.procedureid Andtbl_advertisers.advertiserid = tbl_advertiserstates.advertiserid Andtbl_states.stateid = tbl_advertiserstates.stateid !--- Search by procedureid --- cfif FORM.ProcedureID IS NOT AND tbl_procedures.ProcedureID = '#Form.ProcedureID#' /cfif !--- Search by stateid --- cfif FORM.stateid IS NOT AND tbl_states.stateid = '#FORM.stateid#' /cfif ) /cfquery ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267203 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Apache config
My point in the last email was simply that the bodies that set up web-related standards call URLs URIs. That is certainly the case. However, those bodies are generally discussing things that apply to all URIs, not just HTTP URIs. There has been no formal deprecation of the term URL, according to the W3C itself. Here are the two most relevant W3C documents on the subject: Naming and Addressing: URIs, URLs, ... http://www.w3.org/Addressing/ URIs, URLs, and URNs: Clarifications and Recommendations 1.0 http://www.w3.org/TR/uri-clarification/ From the second URL, this section is relevant to our discussion: 1.1 Classical View During the early years of discussion of web identifiers (early to mid 90s), people assumed that an identifer type would be cast into one of two (or possibly more) classes. An identifier might specify the location of a resource (a URL) or its name (a URN) independent of location. Thus a URI was either a URL or a URN. There was discussion about generalizing this by addition of a discrete number of additional classes; for example, a URI might point to metadata rather than the resource itself, in which case the URI would be a URC (citation). URI space was thus viewed as partitioned into subspaces: URL and URN, and additional subspaces, to be defined. The only such additional space ever proposed was URC and there never was any buy-in; so without loss of generality it's reasonable to say that URI space was thought to be partitioned into two classes: URL and URN. Thus for example, http: was a URL scheme, and isbn: would (someday) be a URN scheme. Any new scheme would be cast into one or the other of these two classes. 1.2 Contemporary View Over time, the importance of this additional level of hierarchy seemed to lessen; the view became that an individual scheme does not need to be cast into one of a discrete set of URI types such as URL, URN, URC, etc. Web-identifer schemes are in general URI schemes; a given URI scheme may define subspaces. Thus http: is a URI scheme. urn: is also a URI scheme; it defines subspaces, called namespaces. For example, the set of URNs of the form urn:isbn:n-nn-nn-n is a URN namespace. (isbn is an URN namespace identifier. It is not a URN scheme nor a URI scheme). Further according to the contemporary view, the term URL does not refer to a formal partition of URI space; rather, URL is a useful but informal concept: a URL is a type of URI that identifies a resource via a representation of its primary access mechanism (e.g., its network location), rather than by some other attributes it may have. Thus as we noted, http: is a URI scheme. An http URI is a URL. The phrase URL scheme is now used infrequently, usually to refer to some subclass of URI schemes which exclude URNs. 1.3 Confusion The body of documents (RFCs, etc) covering URI architecture, syntax, registration, etc., spans both the classical and contemporary periods. People who are well-versed in URI matters tend to use URL and URI in ways that seem to be interchangable. Among these experts, this isn't a problem. But among the Internet community at large, it is. People are not convinced that URI and URL mean the same thing, in documents where they (apparently) do. When one sees an RFC that talks about URI schemes (e.g. [RFC 2396]), another that talks about URL schemes (e.g. [RFC 2717]), and yet another that talks of URN schemes ([RFC 2276]) it is natural to wonder what's the difference, and how they relate to one another. While RFC 2396 1.2 attempts to address the distinction between URIs, URLs and URNs, it has not been successful in clearing up the confusion. The RFC that discusses generic URI syntax applies to all URIs, not just URLs: http://www.ietf.org/rfc/rfc2396.txt From that, we have this: 1.2. URI, URL, and URN A URI can be further classified as a locator, a name, or both. The term Uniform Resource Locator (URL) refers to the subset of URI that identify resources via a representation of their primary access mechanism (e.g., their network location), rather than identifying the resource by name or by some other attribute(s) of that resource. Now, a reasonable reading of any of that doesn't lead me to the conclusion that if I say URL, you'd be right to correct me by saying, no, URI. And that's essentially what you did in your original response. You said that URLs are more properly called URIs. You didn't provide any context for that statement that would make it accurate. I sympathize with your goal (and the contemporary view) of getting people to talk about URIs rather than URLs, but successful pedantry requires accuracy. 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 information!
Re: Problems with a query
On 1/22/07, Pete [EMAIL PROTECTED] wrote: !--- Search by procedureid --- cfif FORM.ProcedureID IS NOT AND tbl_procedures.ProcedureID = '#Form.ProcedureID#' /cfif !--- Search by stateid --- cfif FORM.stateid IS NOT AND tbl_states.stateid = '#FORM.stateid#' /cfif ) /cfquery what's the value coming from the form if the user chooses all states or does not choose a state? -- Charlie Griefer ...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you, they will kill you. But first they must catch you, digger, listener, runner, prince with a swift warning. Be cunning and full of tricks and your people shall never be destroyed. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267205 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Using CF to do DNS and MX lookups?
That would be awesome Joseph, thanks! This is more of a can it be done sort of thing rather than something that would go into production, so anything you can do to help out would be great. andy -Original Message- From: Joseph Lamoree [mailto:[EMAIL PROTECTED] Sent: Monday, January 22, 2007 2:39 PM To: CF-Talk Subject: Re: Using CF to do DNS and MX lookups? On 22 Jan 2007, at 12:20, Andy Matthews wrote: One of our IT guys asked it it was possible to use CF to look up MX, NS and A records for websites. Coincidentally, I was working on a project to do this yesterday. I ended up using the dnsjava library http://www.dnsjava.org/ inside a wrapper CFC to make dig-style queries easy. It works very well. The code isn't polished up enough to distribute as a tidy package, but if you're interested, let me know and I'll give you what I've got. -- Joseph Lamoree ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267206 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4