RE: Adobe Nails ColdFusion Cofin
Can you say upgrade pricing ~Terry -Original Message- From: Dale Fraser [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 31, 2007 8:13 To: CF-Talk Subject: RE: Adobe Nails ColdFusion Cofin What's the deal with people who think that you should be happy to pay more because there are new features. That makes no sense what so ever. If there were no new features, then you wouldn't need a new version. It's the quantity and quality of new features that makes people decide if they are even going to upgrade. The fact that it's an upgrade means they get your money again, so there is no need to get your money again + a premium for new features. If all the ColdFusion die hard's who go hide in a hole and don't speak up when something like this stupid pricing happens then these problems are never going to get addressed. People are too scared to say what they think and risk tainting their perfect CF image. I note that Ben Ray have had nothing to say about the increased pricing, in fact they just kinda did a soft release and hope that it would sweep under the carpet, and no one would notice. Very Poor! Regards Dale Fraser http://dalefraser.blogspot.com ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284928 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
mxAjax - is not a constructor error
Anyone seen this? (Cross-posting with mxAjax board here: http://groups.google.com/group/mxajax/browse_thread/thread/d81c710269a9d 502/#) Error: mxAjax.Autocomplete is not a constructor Source File: http://www.tcbader.com/ccapp%5Fdev/index.cfm?action=act_vwid=1002 Line: 1165 my setup: cfoutput script type='text/javascript' src='_js/mxAjax/core/js/ prototype.js'/script script type='text/javascript' src='_js/mxAjax/core/js/ scriptaculous.js'/script script type='text/javascript' src='_js/mxAjax/core/js/mxAjax.js'/ script script type='text/javascript' src='_js/mxAjax/core/js/ mxAutocompleteMS.js'/script /cfoutput in my onload funtion: new mxAjax.Autocomplete({ indicator: routeindicator, minimumCharacters: 4, target: ROUTE, className: autocomplete, paramArgs: new mxAjax.Param(ajaxurl,{cffunction:testFn}), parser: new mxAjax.CFQueryToJSKeyValueParser(), source: ROUTE, flexWidth: true }); code in body: span id=routeindicator style=display:none;img src=_images/ indicator.gif //span font class=formOptionTextRouting No: /font input type=TEXT id=ROUTE name=ROUTE value= size=9 class=formOption maxlength=9br nbsp;nbsp; div id=routeSelection style=overflow-x: hidden; overflow-y: automatic;position: relative;z-index:1;left:49px;width:270px/div any clue as to why im getting this error? i have put alerts in the included js files to make sure they were being called and they are. ajaxurl is correct. ~Terry ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282815 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Jquery site
Well just to follow up on this. It turns out that when JQuery.com moved their new IP was within a large range of blocked IP address since Apr 2006. As of today they are resolving this (for Jquery anyway) and within a few days the ACLs on the routers should be fully updated and those on navy networks should be able to hit it again. Which means happy times again! Thanks... ~Terry -Original Message- From: Bader, Terrence C CTR MARMC, 231 [mailto:[EMAIL PROTECTED] Sent: Friday, June 01, 2007 12:32 To: CF-Talk Subject: RE: Jquery site which means they probably have new updated dns records and this mighty military network just hasn't seen the need to update anyone want to do a nslookup for www.jquery.com for me? I have a feeling that the same mighty military network might be doing something at the proxy which is causing me problems [EMAIL PROTECTED] ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280276 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: GoDaddy
http://www.crystaltech.com/cfmx.aspx 25 domains at $16.95 -Original Message- From: Damien McKenna [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 05, 2007 15:49 To: CF-Talk Subject: RE: GoDaddy -Original Message- From: Brad Wood [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 05, 2007 3:45 PM Subject: RE: GoDaddy The only reason I keep considering godaddy is because I want unlimited (or at LEAST 5 or more) separate domains for less than 10 dollars and that just doesn't seems to exist outside of godaddy. There's lots of hosts that do PHP et al for that, but few if any CF hosts due to the licensing costs of CF itself. I've been meaning to try installing CF on Dreamhosts as a CGI to see if it'd work, it's just far down my todo list. Damien McKenna Web Developer The LIMU Company ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280177 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Jquery site
which means they probably have new updated dns records and this mighty military network just hasn't seen the need to update anyone want to do a nslookup for www.jquery.com for me? I have a feeling that the same mighty military network might be doing something at the proxy which is causing me problems [EMAIL PROTECTED] -Original Message- From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] Sent: Friday, June 01, 2007 12:28 To: CF-Talk Subject: RE: Jquery site Can anyone get to http://jquery.com/ without getting a 500? I'm able to view the site no problem. It's been intermittently very slow lately though. Not sure what's up with their hosting situation. For some reason, they were targeted for a DDoS attack maybe like 3 weeks ago. After that, they had to migrate to a new hosting provider. So, the servers are in a new infrastructure and they could still be working things out a bit... -Dan ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279838 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Jquery site
well kick my uncle and bite my monkey... thanks all... -Original Message- From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] Sent: Friday, June 01, 2007 12:16 To: CF-Talk Subject: RE: Jquery site Terry, Can anyone get to http://jquery.com/ without getting a 500? If not, anyone have the contact info for the site owner or are they on here? I get a 500 when I try and go there. Loads up fine for me... -Dan ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279835 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Jquery site
Can anyone get to http://jquery.com/ without getting a 500? If not, anyone have the contact info for the site owner or are they on here? I get a 500 when I try and go there. ~Terry ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279828 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Okay, I'm ready to take the plunge [CFEclipse]
Ok, since everyone was talkin about this I wanted to check it out too. But where I am they are not allowing Ecplise to access the internet thus the whole auto-update for cfecplise isnt going to work for me and I tried downloading cfeclipse locally but cant figure out how to tell ecplise to execute it. It wants something with a .eclipseextention file or something. Any help would be great... ~Terry -Original Message- From: Peterson, Chris [mailto:[EMAIL PROTECTED] Sent: Thursday, May 31, 2007 9:47 To: CF-Talk Subject: RE: Okay, I'm ready to take the plunge [CFEclipse] Jeff, Check out this blog entry: http://www.dopefly.com/projects/cfeclipse.cfm?CFID=1897859CFTOKEN=43767 588 Chris -Original Message- From: Jeff Small [mailto:[EMAIL PROTECTED] Sent: Thursday, May 31, 2007 9:46 AM To: CF-Talk Subject: Okay, I'm ready to take the plunge [CFEclipse] 1. Where's the best place to get it? 2. Where are some good sites on using it for the very first time and setting it all up? 3. It takes extensions or plug-ins, right? Which ones should I get for CF? 4. Any advice for a first time newbie? Pitfalls? Things to look out for? 5. Will it work okay on Vista? Any pitfalls there? ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279717 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Okay, I'm ready to take the plunge [CFEclipse]
Sorry for the trouble, figured it out... download the update zip file and instead of selecting remote site, select new archived site... ~Terry -Original Message- From: Bader, Terrence C CTR MARMC, 231 [mailto:[EMAIL PROTECTED] Sent: Thursday, May 31, 2007 10:28 To: CF-Talk Subject: RE: Okay, I'm ready to take the plunge [CFEclipse] Ok, since everyone was talkin about this I wanted to check it out too. But where I am they are not allowing Ecplise to access the internet thus the whole auto-update for cfecplise isnt going to work for me and I tried downloading cfeclipse locally but cant figure out how to tell ecplise to execute it. It wants something with a .eclipseextention file or something. Any help would be great... ~Terry -Original Message- From: Peterson, Chris [mailto:[EMAIL PROTECTED] Sent: Thursday, May 31, 2007 9:47 To: CF-Talk Subject: RE: Okay, I'm ready to take the plunge [CFEclipse] Jeff, Check out this blog entry: http://www.dopefly.com/projects/cfeclipse.cfm?CFID=1897859CFTOKEN=43767 588 Chris -Original Message- From: Jeff Small [mailto:[EMAIL PROTECTED] Sent: Thursday, May 31, 2007 9:46 AM To: CF-Talk Subject: Okay, I'm ready to take the plunge [CFEclipse] 1. Where's the best place to get it? 2. Where are some good sites on using it for the very first time and setting it all up? 3. It takes extensions or plug-ins, right? Which ones should I get for CF? 4. Any advice for a first time newbie? Pitfalls? Things to look out for? 5. Will it work okay on Vista? Any pitfalls there? ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279722 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: dreamweaver 8
M!ke that worked great. I always forget about snippets. ~Terry -Original Message- From: Dawson, Michael [mailto:[EMAIL PROTECTED] Sent: Thursday, May 24, 2007 16:21 To: CF-Talk Subject: RE: dreamweaver 8 Create a snippet, then reassign the keyboard shortcut. M!ke -Original Message- From: Bader, Terrence C CTR MARMC, 231 [mailto:[EMAIL PROTECTED] Sent: Thursday, May 24, 2007 1:23 PM To: CF-Talk Subject: dreamweaver 8 ok, recently started working with DW 8 vs 7/mx that I have used for a long while now. In the old version I could hit my surround # key and type with the cursor on the inside of the #s, but now in 8 it puts the cursor outside of the #s. I find this quite annoying. Does anyone know if I missed a preference somewhere to get that particular functionality back? ~Terry ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279249 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
dreamweaver 8
ok, recently started working with DW 8 vs 7/mx that I have used for a long while now. In the old version I could hit my surround # key and type with the cursor on the inside of the #s, but now in 8 it puts the cursor outside of the #s. I find this quite annoying. Does anyone know if I missed a preference somewhere to get that particular functionality back? ~Terry ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279123 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Printing Checks
Anyone printing checks through a CF app?? I want to print checks for payments. I currently can do it but I created the print out using css/div and it really only works in a specific setup (IE7 on a specific machine with a specific printer). If I go print on a separate machine with a different browser setup or printer, I get fields that are off. I would like it to work no matter where they print to or from. So I am in search of a solution that involves something printing a Word Doc or PDF template that can print multiple pages of checks as necessary. And really it does not need to be specific to check printing but that would help. Just looking for resources that help define the process. Thoughts? Thanks ~Terry MARMC Fleet Scheduling Center Programming Support 757.443.3872 x2573 (Temporary) https://www.marmc.nmci.navy.mil/200/fsc/ ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276201 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Printing Checks
I print the MICR line. Easy enough for that, the checks clear now without problem. My problem is portability so that checks print exactly the same from printer to printer without having to resetup the page. Insert paper on printer1 or 2 and print away. The only difference between a regular printer and a check printer really is the magnetic ink used to print the MICR line. My focus for this post is printing checks (or forms, or cards, etc) using Word, PDF or other templates so that it can be easily printed from any machine/printer - like you can do with certain cards, forms and all. Except that each check info is different including bank info. So on one page you will have Check 1, 2 and 3 with each having their own info. And that I can easily send data to the template via a CF request. I could do this with CSS/DIVs by creating a setup for each customer/location I support but I would prefer something more universally accepted. Thanks... ~Terry -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2007 8:20 To: CF-Talk Subject: Re: Printing Checks Which banking system are the checks for? the US banking system? do they have MICR lines on them ? If i recall, the US banks charge quite a lot of money if they have to encode the MICR line after the checks ahve been supplied to the customer. Australian and NZ banks wont do it it all. they supply the cheques already MICR encoded. MICR has very precise alignment tolerances, aligned to the right and bottom of the page, not the top left. TO produce a cheque suitable for processing through automatied MICR machines or OCR machines requires a great deal of precision that is usually only provided by a specially modified printer - the issue is the paper moveing through the printer. You cant' have any page twisting or moving horizontally in teh printer. the right edge of the cheque has to be wihtin a hundredth of an inch of its required place or the MICR readers get errors and the customer gets charges. If you want to know more i can point you at where i used to buy such printers modified HP printers. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276205 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Loop a query
try along this line using list=yes in cfqueryparam select * where id in (cfqueryparam value=#form.field# list=yes) ~Terry -Original Message- From: Bobby Schuchert [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2007 8:52 To: CF-Talk Subject: Loop a query I ran out of RedBull so I am slow this morning. I have a series on checkboxes in a form. I would like the user to pick the checkboxes they want then hit a button to show those respective items as labels on a display page. I am having trouble trying to get the ids of these items to populate the table row by row. I need to be able to loop an array or query on the display page. Is it bad practice to run a query on each one of those items in the list using a loop like so: cfloop index=i list=form.checkboxfield cfquery Select field1, field2, field3 from table where field1 = i /cfquery /cfloop Won't that create a database connection for each item in the list? Is there an alternative to use that is more efficient? Thanks. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276206 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Printing Checks
Thanks Jake, Thanks Paul, Thanks Mike... CFReport it is - I will check this out. -Original Message- From: Jake Pilgrim [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2007 8:58 To: CF-Talk Subject: Re: Printing Checks One word - CFReport. Go get the CF Report Builder (I believe its still free) and create a report which fits the format of your checks, then just load and execute it with the CFreport tag. There is tons of documentation out there for CFReport so I'm not going to go too far into the details, but you'll probably find that this is what you are looking for. You can render your reports as a PDF, which will probably address your printing issue. Jake Pilgrim ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276223 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Printing Checks
I would be very interested. Thanks! -Original Message- From: Peterson, Chris [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2007 9:32 To: CF-Talk Subject: RE: Printing Checks Terry, I print checks by making a 'blank' check template as a Tiff image. Then I use iText to write text to specific X / Y coordinates on my tiff blank, and spit em out to the printer as a .pdf file (again, using iText to change the tiff to a pdf) I also print invoices like this. You wouldn't *have* to start with a tiff template either, if all you want is text at specific locations on a page, start with a blank tiff image that is 8.5 X 11', or whatever size you need. Would you be interested in any of the code, I have a few CFC's I use to do it all. Chris Peterson -Original Message- From: Bader, Terrence C CTR MARMC, 231 [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2007 9:00 AM To: CF-Talk Subject: Printing Checks Anyone printing checks through a CF app?? I want to print checks for payments. I currently can do it but I created the print out using css/div and it really only works in a specific setup (IE7 on a specific machine with a specific printer). If I go print on a separate machine with a different browser setup or printer, I get fields that are off. I would like it to work no matter where they print to or from. So I am in search of a solution that involves something printing a Word Doc or PDF template that can print multiple pages of checks as necessary. And really it does not need to be specific to check printing but that would help. Just looking for resources that help define the process. Thoughts? Thanks ~Terry MARMC Fleet Scheduling Center Programming Support 757.443.3872 x2573 (Temporary) https://www.marmc.nmci.navy.mil/200/fsc/ ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276224 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Printing Checks
Mike thanks for your insight. I will check on this and make sure my bank isnt balking at our checks. ~Terry -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2007 11:12 To: CF-Talk Subject: Re: Printing Checks I woudl strongly urge you to go to you bank's it department and ask them to get you a Glarden gauge. it is a plastic overlay that shows you the tolerances for the MICR line If you dont get the MICR line in the right place. - to 100th of an inch the bank will sooner or later start charging you for re-encoding the checks on the back few checks they wont charge you extra. but if they start finding that every one of your checks has to be re-encoded they will charge ytou. last time i saw this in the US banking system, the bank charged the client $15/check to encourage them to have the MICR line properly encoded in austrlia the banks simply refuse to process the checks unless they are pre-approved by the processing branch of hte bank. The GLarden gauge is what yo uuse to verify your MICR characters are in precisely th right place. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On 4/26/07, Bader, Terrence C CTR MARMC, 231 [EMAIL PROTECTED] wrote: Thanks Jake, Thanks Paul, Thanks Mike... CFReport it is - I will check this out. ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276237 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: SES URL handling
Could you put an application.cfc that checked for 404, searched the incorrect spelled folder against the correct ones and redirected to the closest matching folder? -Original Message- From: Paul Vernon [mailto:[EMAIL PROTECTED] Sent: Monday, April 23, 2007 8:21 To: CF-Talk Subject: RE: SES URL handling Hi Craig, I totally gave up on using CF managed SES url's a while back, although it might not be 100% useful for you, I'm using a windows mod_rewrite equivalent called Linkfreeze. http://www.helicontech.com/linkfreeze/ It dynamically re-writes all internal links in your source code as it delivers content via IIS, well worth checking out but there are many other tools to do the same thing. I wasn't asking about URL rewriting in the traditional sense, I was asking about how you handle typos in the URLs... Eg http://www.myserver.com/thisiscorrect/ --- this is ok http://www.myserver.com/thisiscorect/ --- this has a typo Personally, I'd want them both to work with the incorrect one being detected and corrected so that rather than serving the 404 handler, it redirects to the relevant content. This example is a naive one as it could be done with URL re-write but I want (and have developed) something more generic that could handle pretty much any old rubbish and have a good guess as what is should point at. I'm just not sure if there is a better way to do it. As for 404 handling, it's just as it would be on any normal site. So far it's a much simpler solution. So in your case, am I to understand that if someone entered the second URL in my example your server would simply serve the 404? If so then again, this is not what I am talking about. For me, the server should have a modicum of intelligence when it is looking at the URLs and be able to provide a closest match to the mistyped URL. This is especially useful when you consider the spelling of certain common words changes between countries that use the same language where maybe z is used instead of s. There are a few exceptions where the words are too far away from each other for this to work for instance, Fawcett and Tap, Wrench and Spanner, Fender and Wing, Hood and Bonnet but in these cases the standard URL rewrite stuff will work just fine It's the fuzzy logic cases I'm wondering about... As I said, my solution to this is in the 404 handler and uses the SQL DIFFERENCE function and a levenshtein distance algorithm to determine which content in the DB is the closest match to that which was typed. The DIFFERENCE function pulls out a subset of the links that are reasonably close matches and the levenshtein algorithm then picks the closest one. It seems to be effective, I was simply asking if anyone knows if there is a better solution? Paul ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276016 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Client-side validation or Server-side Validation?
Easiest way is to have your initialization page have a scriptlocation=index.cfm?js=sure/script. now this can be done in as the entrance page and you can put a meta http-equiv=refresh content=4;url=index.cfm?js=hellno or it can be a inline frame or a popup. or you can do a ajax call back to the server. on the server side you would have something like cfparam name=session.gotJS default=0 and on the called pages by the above JS methods, you would have something setting to 1. but honestly if all you are doing is client side validation, who cares if they have JS on/off... (unless you are maximizing the optimization of bandwidth and don't event want to send the js code to the client) if they have it off, then it still gets caught on the server side which will throw the error and this will always good to happen just in case. if they have it on, js picks up automatically. ~Terry -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 17, 2007 13:12 To: CF-Talk Subject: RE: Client-side validation or Server-side Validation? Sounds good, Ian... Maybe someone's heard of something like that. Use CF as the basis for validation, then if JS is on, generate some JS client-side validation code and use CF for server-side. If JS in not on, just use CF validation, both client- and server-side... Is there a fool-proof way to determine whether or not someone is using JS? Rick ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275613 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Client-side validation or Server-side Validation?
You can setup your server-side to do both the ajax and the non-js submits. you create one validation method that gets called either way. ~Terry -Original Message- From: Josh Nathanson [mailto:[EMAIL PROTECTED] Sent: Monday, April 16, 2007 14:25 To: CF-Talk Subject: Re: Client-side validation or Server-side Validation? Why not just do both at once? You can't do both at once. Client and server each need an independent approach. The server must behave as if it is not at all dependent on what the client sends it. Thus you need to have CF code to handle validation on the server, and javascript to handle validation on the client (if desired). Even if you are doing ajax validations, you are still hitting the server, and your independent CF code must handle that server call. Also, if you are depending on an ajax call to validate, your non-javascripters will not make the ajax call and so not validate. -- Josh ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275457 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Client-side validation or Server-side Validation?
Agreed, client side validation is only for client side user ease of use and not for true validation of data being submitted to your data definitions. ~Terry -Original Message- From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] Sent: Monday, April 16, 2007 14:43 To: CF-Talk Subject: RE: Client-side validation or Server-side Validation? Les, There's tons of example code and libraries (such as qForms) that will allow you to easily apply client-side validation rules to your code. It's not that difficult to implement. But then, you'd have to require javascript - so that's another vote in that direction No. My point was don't use AJAX to do server-side validation on stuff you can do solely in the client. You need the server-side validation regardless of whether or not you do any client-side validation. - Dan ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275458 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Client-side validation or Server-side Validation?
And what I mean is that you should not depend on client-side validation as this can be circumvented and/or disabled. Its for end-user ease of use and reduce wear and tear on heavily used sites. ~Terry -Original Message- From: Bader, Terrence C CTR MARMC, 231 [mailto:[EMAIL PROTECTED] Sent: Monday, April 16, 2007 15:09 To: CF-Talk Subject: RE: Client-side validation or Server-side Validation? Agreed, client side validation is only for client side user ease of use and not for true validation of data being submitted to your data definitions. ~Terry ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275459 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Client-side validation or Server-side Validation?
Actually using that, 90% of all mail is crap. Not just HTML email, but email period. Which is true; just look at me spam folder. lol for that matter look at this topic... its going way, way over the deep end and into the sh!tter. ~Terry -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Monday, April 16, 2007 16:29 To: CF-Talk Subject: RE: Client-side validation or Server-side Validation? For well-designed HTML messages that wouldn't be an issue. The colors, backgrounds, and images would always enhance the message, not detract from it. Have you heard of Sturgeon's Law? http://en.wikipedia.org/wiki/Sturgeon's_law Why would HTML mail be exempt? Why not just use word messages on TV instead of video/audio for commercials? Because that, like HTML mail, is a poor use of the medium. TV is a visual medium. Email is a textual medium. You don't know how people will read their email, either. HTML mail looks like crap on anything except a standard computer. 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! This email has been processed by SmoothZap - www.smoothwall.net ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275462 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Contract rates
It helps to know what salaried folks make in your area. Then add the value of benefits (401k, health care, paid time off, etc) plus overhead costs to the salary. You really have to do your homework on these. Then take that number and do the math to get what their hourly cost is to the company. And start there. ie. someone making $32 an hour is could really be costly $64 to the company. Now for me I knew it was easier. I knew what the hourly charge was when my company charged for my time. The range was $74-110 an hour. So what I ended up doing for my independent clients which are all small business owners and cant afford those big rates, I broke it down into service categories. $60 - Networking/Programming/Database Administration/Telephony/misc IT (the majority of my work) $40 - Basic Static Website Development/Graphics $35 - Hardware, Telephony and Network Physical Installation/Basic Software Maintenance $25 - Basic Static Website Maintenance Now I only do between $1k-$2k a month so this is by no means a full time gig for me and I don't go through anyone. Its all word of mouth customers (for now). And I do give discounts on customers who give me larger taskings. Hope this helps. ~Terry -Original Message- From: RichL [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 11, 2007 10:44 To: CF-Talk Subject: Contract rates ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275018 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: jQuery Ajax Tutorial for AjaxCFC for jQuery Users
Wow... thanks just diving into bit of these this past week or so, this is great so far... ~Terry -Original Message- From: Rey Bango [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 11, 2007 10:18 To: CF-Talk Subject: jQuery Ajax Tutorial for AjaxCFC for jQuery Users For the many CF developers that have recently adopted jQuery and/or AjaxCFC for jQuery, Jesse Skinner has written a great tutorial on getting up to speed with jQuery. You can check it out here: http://www-128.ibm.com/developerworks/library/x-ajaxjquery.html Rey... ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275023 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 display value of form input file with type=file when user returned to prefilled form after validation error?
Unfortunately you cannot. It's a read only field because of security reasons. Imagine a programmer was able to fill that in with whatever they want and then do a form.submit(). poof, they could take whatever file they wanted. ~Terry -Original Message- From: Joy Holman [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 11, 2007 12:15 To: CF-Talk Subject: How display value of form input file with type=file when user returned to prefilled form after validation error? Does anyone know of a way to redisplay what was entered in the field where a user browsed to a file to upload and then returns to the form entry screen after submission b/c of validation errors? The user has to rebrowse to the file to upload each time they are returned to the previously filled form entry screen. I don't see any way to add a value attribute to the input form field when the type=file. Thanks. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275027 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: setters/getters - scalability issues?
put in application scope? -Original Message- From: Joseph Frank [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 11, 2007 13:06 To: CF-Talk Subject: setters/getters - scalability issues? Apparently, each method in a CFC turns into its own compiled Java class in addition to the CFC itself. If I generate setter/getter methods for each of my class properties, wouldn't that be an issue in terms of scalability? For example, instantiating this CFC into Session scope, instead of what seems to be a single class per application user, now I have 30 class references per user. Any thoughts? Joe ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275032 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Session timeout problems
When this happens is it just that one user or do all users on get reset? -Original Message- From: Jason Dunaway [mailto:[EMAIL PROTECTED] Sent: Friday, April 06, 2007 13:26 To: CF-Talk Subject: Re: Session timeout problems After you suggested this we decided to see what was going on here. YES, we are seeing that when the timeout occurs the user has a new jsessionid assignedwhich would make sense because the session objects are gone. We're cfdumping all of the different scope variables and see that they are definitely getting a new id. We have a tech call into Adobe but so far they have not been any help for the large chunk of change which they requested : I've had this issue for quite some time as well and here is a good wealth of information for youto do more research on! :) 1. track the CFID and watch it change when this occurs. IMHO thats one of the easiest ways to see this happening, I can re-create this almost flawlessly on some machines because of point 2 and everytime the session wipe occurs a new CFID and CFTOKEN is assigned as you would expect. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274839 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Previous/Next Navigation
This is what I put together recently. It works for me for now. CFPARAM NAME=session.StuffListStartid VALUE=0 CFSET session.myStuffAll = application.accountManager.getStuffQuery(0,0,0,session.srchUsers,session ..srchStat,session.sort,session.sortway) CFSET session.myStuffAllList = valuelist(session.myStuffAll.account_id) CFSET session.myStuffCount = session.myStuffAll.recordcount CFIF ISDEFINED(attributes.stID) CFSET session.StuffListStartid = attributes.stID CFELSE CFSET session.StuffListStartid = session.myStuffAll.account_id /CFIF TR TD COLSPAN=3 ALIGN=LEFT VALIGN=TOP WIDTH=200 CLASS=listControl1 CFOUTPUT CFIF session.myStuffAll.account_id NEQ session.StuffListStartid CFSET tmpIndex = LISTFIND(session.myStuffAllList, LISTFIRST(myStuffShow))- session.StuffListCount A HREF=index.cfm?action=actstID=#LISTFIRST(session.myStuffAllList)#Fir st Page/A nbsp; A HREF=index.cfm?action=actstID=CFIF tmpIndex GT 0#LISTGETAT(session.myStuffAllList,tmpIndex)#CFELSE#LISTFIRST(session ..myStuffAllList)#/CFIFPrevious Page/A /CFIF /CFOUTPUT nbsp; /TD TD WIDTH=300 COLSPAN=CFOUTPUT#(colCnt-6)#/CFOUTPUT ALIGN=CENTER VALIGN=TOP WIDTH=* CLASS=listControl1 CFOUTPUT B#session.myStuffCount#/B Records Found /CFOUTPUT /TD TD COLSPAN=3 ALIGN=RIGHT VALIGN=TOP WIDTH=200 CLASS=listControl1 CFOUTPUT CFIF LISTLAST(session.myStuffAllList) NEQ LISTLAST(myStuffShow) A HREF=index.cfm?action=actstID=#LISTLAST(myStuffShow)#Next Page/A nbsp; CFIF ((LISTLEN(session.myStuffAllList)-session.StuffListCount)+1) GT 0 A HREF=index.cfm?action=actstID=#LISTGETAT(session.myStuffAllList, (LISTLEN(session.myStuffAllList)-session.StuffListCount)+1 )#Last Page/A /CFIF /CFIF /CFOUTPUT nbsp; /TD /TR -Original Message- From: Steve LaBadie [mailto:[EMAIL PROTECTED] Sent: Friday, April 06, 2007 21:21 To: CF-Talk Subject: RE: Previous/Next Navigation HI Rich, Thanks for the response. I didn't expect a piece of navigation to disappear based on a condition to be so complicated. From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Fri 4/6/2007 7:40 PM To: CF-Talk Subject: Re: Previous/Next Navigation On 4/6/07, Steve LaBadie [EMAIL PROTECTED] wrote: I am trying to have this navigation disappear if total rows are less than 25, not having much luck with logic. I can make them disappear, but not for the right reasons. I have tried cfif URL.ShowAll LT 25, GTE 25; I also tried using the RowsPerPage variable with not the right results either. Books never seem to have the examples that you are looking for. Any direction would be helpful (websites, books, etc.). I blogged about this just now =) I wrote the code you see on the blog entry just the other day for a client that didn't like ugly url variables http://www.opensourcecf.com/1/2007/04/Paging-Through-Record-Sets-without -URL-variables.cfm Rick ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274844 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Hostmysite down...
Is it a shared plan on shared server? If it is like one of mine that was getting that, it could be anyone on the server that has code causing the problem. 2 weeks ago a client site was getting that constantly, that weekend when they normally don't do any site changes, they helped me transplant the site over to a new server and not a problem since (good news cause I was not 100% sure that it wasn't my site causing it with a ton of new features added just that week). So it might not be a adobe thing, maybe ask for your site to be moved to another server if they cant resolve the problem. ~Terry -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Friday, April 06, 2007 10:35 To: CF-Talk Subject: RE: Hostmysite down... It's back up, this is an issue that I really wish Adobe would do something about. -Original Message- From: Jim Wright [mailto:[EMAIL PROTECTED] Sent: Friday, April 06, 2007 11:32 AM To: CF-Talk Subject: Re: Hostmysite down... Scott Stewart wrote: Server Error The server encountered an internal error and was unable to complete your request. Could not connect to JRun Server. Probably just the server you are on...I just checked a few of my clients, and they are still up. They generally are monitoring pretty closely, and get CF services restarted quickly. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274685 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Hostmysite down...
oh, I use Crystaltech for all my hosting... just throwing a plug in for them... -Original Message- From: Bader, Terrence C CTR MARMC, 231 [mailto:[EMAIL PROTECTED] Sent: Friday, April 06, 2007 10:41 To: CF-Talk Subject: RE: Hostmysite down... Is it a shared plan on shared server? If it is like one of mine that was getting that, it could be anyone on the server that has code causing the problem. 2 weeks ago a client site was getting that constantly, that weekend when they normally don't do any site changes, they helped me transplant the site over to a new server and not a problem since (good news cause I was not 100% sure that it wasn't my site causing it with a ton of new features added just that week). So it might not be a adobe thing, maybe ask for your site to be moved to another server if they cant resolve the problem. ~Terry -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Friday, April 06, 2007 10:35 To: CF-Talk Subject: RE: Hostmysite down... It's back up, this is an issue that I really wish Adobe would do something about. -Original Message- From: Jim Wright [mailto:[EMAIL PROTECTED] Sent: Friday, April 06, 2007 11:32 AM To: CF-Talk Subject: Re: Hostmysite down... Scott Stewart wrote: Server Error The server encountered an internal error and was unable to complete your request. Could not connect to JRun Server. Probably just the server you are on...I just checked a few of my clients, and they are still up. They generally are monitoring pretty closely, and get CF services restarted quickly. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274689 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Session timeout problems
From what we've found, the CFID, CFTOKEN, and JSESSIONID are all still valid cookies on the user side. - on the users having the issue and not just local been working users? just checking and have you tried just putting them in the url string for all your links. been awhile since I had to think about that, but if im not mistaken, that should avoid cookie problems all together. ~Terry -Original Message- From: Jason Dunaway [mailto:[EMAIL PROTECTED] Sent: Thursday, April 05, 2007 7:41 To: CF-Talk Subject: Session timeout problems Hi all, I'm having trouble with sessions timing out randomly. I have 2 days to get a fix together for this problem so any help is greatly appreciated. Here are the specifics: The website in question is heavily based upon user information. We designed a user component that is loaded in the session scope when the user logs in. This component contains all of the user's information as well as methods dealing with the user's information. In the site's main application.cfm, we are checking to verity that session.userdata is defined in order to access any page. If that variable is not defined, then we direct the user to a session timeout page that requires them to log back in. Our goal is to have the session timeout be set at 2 hours. We've made sure that, on the coldfusion server admin end, everything is setup to 2hrs. In the application.cfm page, we're setting the application up like this: cfapplication name=test sessionmanagement=yes sessiontimeout=#CreateTimeSpan(0,2,0,0)# setclientcookies=yes OK, so in theory this should be fine. Well, not so much. Most (like 90% or more) of our users DO NOT have any issues. They stay logged in for the 2 hours without any problems. In fact, we are unable to duplicate the problem but have confirmed that it's happening with some users. Every time the view a page the timer is reset and all is well. Well for quite a few users we are seeing that their sessions are timed out randomly, ranging from 3 minutes all the way to 117 minutes! It is very strange. The site is on a cluster (2 servers), so we assumed that the sticky is not working correctly. Proxy server stuff also has been considered. We've taken all of the steps necessary to eliminate both possibilities.we're now running on 1 server and making sure that no pages are cached by remote proxies. I've been researching how coldfusion manages sessions. We are gathering as much data as we can when the timeout occurs. From what we've found, the CFID, CFTOKEN, and JSESSIONID are all still valid cookies on the user side. For whatever reason the session scope variables are being wiped out randomly. There has been no pattern to this, it's completely random and the data collected is not pointing in any one direction. If you have any advice, please respond. I've spent a lot of time recently trying to chase down this problem and I'm getting very annoyed by it. I would sincerely appreciate any input. We are using CFMX 6.1. Any questions about what I've posted please let me know and I'll do my best to answer. ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274573 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Session timeout problems
lol I still have colleagues who use sessions and occasionally I hear them complaining about a client timing out and loosing all their form data or edit session. Timeouts to a customer is one of the most frustrating things to deal with and it gives them a real good reason to leave. Just deployed an app using a provider that forces session timeouts at 20mins on the server. On my machine I have the this set at 2 hrs. So there was a problem. I couldnÂt get them to change the server so I ended up creating a javascript/refresh frame to determine their connection. So when the script determines the frame did not refresh properly it alerts the user that their connection to the server was interrupted. This also touches the session which keeps the session state active until they close their browser no matter the settings on the server. Just thought it was funny you mentioned that. -Original Message- From: Vince Collins (NHJobs.com) [mailto:[EMAIL PROTECTED] Sent: Thursday, April 05, 2007 9:40 To: CF-Talk Subject: Re: Session timeout problems I'm sorry Jason that I can't solve your problem but I'd suggest you look into increasing your server memory possibly as well as looking at your CF Administrator settings. Also verify that you are locking the call to the session with cflock. I try to do this only once in the application.cfm file so there aren't multiple cflocks on every page that you reference it. Best of luck! I don't use sessions anymore... I had similar problems with sessions back in CF5.0 I figured it was either a server memory issue or a client proxy or browser brand/version issue. I decided to stick with session-level cookies and have never looked back since . They seem to always work. I set cookies with no timeout so they expire when they close their browser. I understand that sometimes for maybe security reasons you want to time them out in theory but is it really that much more secure? Two hour timeouts would mean that they can leave for lunch and come back and continue which kind of defeats the purpose of having a timeout to begin with doesn't it? Half-hour is better but still not something I'd consider secure. I might employ sessions on a banking application but I wouldn't like doing it because of my historical experience with sessions to date. I'd be interested in hearing other opinions on when is the best time to use a session versus a session-level cookie. I still have colleagues who use sessions and occasionally I hear them complaining about a client timing out and loosing all their form data or edit session. Timeouts to a customer is one of the most frustrating things to deal with and it gives them a real good reason to leave. Also, if you have never had problems with unexplainable session timeouts in your applications please chime in. I might have more faith in them! :) Vince Jason Dunaway wrote: Terry, Yes, the users who are timing out still have valid cookies. We have built in some logging code that grabs as much information as possible from the users who are timed out prematurely, and every time they have values for the CFID, CFTOKEN, and JSESSIONID cookies. At this point, putting anything into the URL is not an option. The site is huge and this would require lots of changes to resolve a problem that only a fraction of the user base is experiencing. In addition, I believe that throwing the session info in the URL is much less secure. We've noted this as a worst case scenario solution but hope to find out a better way of fixing this problem. Thanks for your feedback! -Original Message- From: Bader, Terrence C CTR MARMC, 231 [mailto:[EMAIL PROTECTED] Sent: Thursday, April 05, 2007 9:02 AM To: CF-Talk Subject: RE: Session timeout problems From what we've found, the CFID, CFTOKEN, and JSESSIONID are all still valid cookies on the user side. - on the users having the issue and not just local been working users? just checking and have you tried just putting them in the url string for all your links. been awhile since I had to think about that, but if im not mistaken, that should avoid cookie problems all together. ~Terry -Original Message- From: Jason Dunaway [mailto:[EMAIL PROTECTED] Sent: Thursday, April 05, 2007 7:41 To: CF-Talk Subject: Session timeout problems Hi all, I'm having trouble with sessions timing out randomly. I have 2 days to get a fix together for this problem so any help is greatly appreciated. Here are the specifics: The website in question is heavily based upon user information. We designed a user component that is loaded in the session scope when the user logs in. This component contains all of the user's information as well as methods dealing with the user's information. In the site's main application.cfm, we are checking to verity that session.userdata is defined in order to access any page. If that variable is not defined
RE: How to Random Pick records from a 10k record table via SQL
when I use select top 20 ID, rand() as oID from table order by oID I get the 20 rows all with the same oID and basically all in a row; not so random. When I use newID instead, I get records from all over my 10k populated table. MsSQL 2005 -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Monday, April 02, 2007 9:34 To: CF-Talk Subject: RE: How to Random Pick records from a 10k record table via SQL Just selecte top 20 like russ said and order by rand() instead of newId() -Original Message- From: Peterson, Chris [mailto:[EMAIL PROTECTED] Sent: Monday, April 02, 2007 10:05 AM To: CF-Talk Subject: RE: How to Random Pick records from a 10k record table via SQL You could get Max and Min ID's from your database, then get #randRange(minFromDB, maxFromDB)#? Chris -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Monday, April 02, 2007 10:55 AM To: CF-Talk Subject: RE: How to Random Pick records from a 10k record table via SQL Why isn't it? -Original Message- From: Andrew Scott [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 1:53 AM To: CF-Talk Subject: Re: How to Random Pick records from a 10k record table via SQL Not sure how that works Russ, thats not very random? On 3/22/07, Russ [EMAIL PROTECTED] wrote: Not sure about mysql. In SQL server I would do something like this: Select top 20 * from table order by newId() Russ -Original Message- From: Michael E. Carluen [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 1:25 AM To: CF-Talk Subject: How to Random Pick records from a 10k record table via SQL Hello All, I am wondering how to randomly pick any 20 records from a table of 10,000+ records, directly from a cfquery? Currently using mySQL. Any suggestions will be appreciated. Michael ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274312 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 Random Pick records from a 10k record table via SQL
What they are saying is basically adding a column to your query that will be a random string (rand or newid shown) and then order by this column and you should have a list created that is quite random in nature. (though rand() doesn't appear to work that well) fast and straight forward and you don't have to worry about doing iterations and not selecting the same row. never had a need like this so I have been playing with it myself. interesting. -Original Message- From: Jeff Small [mailto:[EMAIL PROTECTED] Sent: Monday, April 02, 2007 9:45 To: CF-Talk Subject: Re: How to Random Pick records from a 10k record table via SQL Just selecte top 20 like russ said and order by rand() instead of newId() Correct me if I'm wrong, by all means, but selecting the top 20 from 10,000 records is about as far from random as you can be, isn't it? Won't you have to: 1. randomly select a record with some kind of rand() function of your choosing. (either your SQL or CF) 2. check to ensure that you haven't already selected that record 3. if duplicate entry, go back to 1 4. repeat until 20 records are selected 5. stop I mean, it's a little more complicated to *really* randomly select 20 records from 10,000, but it's certainly not hard with some kind of iteration over that process, right? ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274313 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: OT: SQL Question
whats not being asked is how big is the dataset, what type of hardware, how do you know its running slow? compared to what? I mean if you have a million records on a Pentium 2 with 128m of ram, your going to have less then average response time. also are the CF server and DB server on the same LAN? I think the sql statement you have is just about as straight forward as you are going to get. how long does a straight SELECT * FROM F INNER JOIN M taking?? -Original Message- From: Kris Jones [mailto:[EMAIL PROTECTED] Sent: Monday, April 02, 2007 11:43 To: CF-Talk Subject: Re: OT: SQL Question How about something like this: SELECT F.pid, F.acrostic, F.recid, F.recordthread, F.aed_onset, F.d_form FROM vfrm_sae F WHERE NOT EXISTS (SELECT 1 FROM v_sae_jna_mr WHERE recid=F.recordthread) Not sure it'll be much faster, but it's worth a try. Cheers, Kris The following query is slow. I'd like to speed it up a bit. Any suggestions would be appreciated. SELECT F.pid, F.acrostic, F.recid, F.recordthread, F.aed_onset, F.d_form FROM vfrm_sae F LEFT OUTER JOIN v_sae_jna_mr M ON F.recordthread = M.i_recordThread WHERE (M.i_recid IS NULL) ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274329 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: This is why CFMX kicks ass
I remember when it was just called Remote Scripting and didn't have any funky names... lol ~Terry -Original Message- From: Jonathan Block [mailto:[EMAIL PROTECTED] Sent: Thursday, March 29, 2007 13:47 To: CF-Talk Subject: Re: This is why CFMX kicks ass hey now... jquery looks awesome. It's so funny ... everybody gets real passionate about javascripts these days. There are days when there are conversations like: Jon: No i like spry. Joe: Scriptaculous is awesome. Kajone: Jquery is better. Matt: No way jquery sucks YUI rules. (Rolling my eyes.) -Jon On 3/29/07, Andy Matthews [EMAIL PROTECTED] wrote: Awesome. If you would have used jQuery it would have taken you a few weeks less. LOL Nice site though...it's really well done and looks great too. -Original Message- From: Jonathan Block [mailto:[EMAIL PROTECTED] Sent: Thursday, March 29, 2007 12:58 AM To: CF-Talk Subject: This is why CFMX kicks ass Over the past couple of months, I used CFMX to hack together a social network for video gamers with all kinds of web 2.0 tricks like yui and spry. If you want to check it out, surf on over to www.connectedbythings.com My point is that over a couple of months, I wrote this site in my free time when I was bored. I think that in some other language, this could have easily taken a web application developer months of non-stop work. I used cfmx, mach-ii, apache 2, mysql, subversion, windows 2003, and its all hosted over at hostmysite.com. Hats off to the cfmx software team... keep up the good work! Jon ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274117 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: date compare
OMG I never thought about that and it totally makes sense... Rich, thanks... that will help out in so many instances... ~Terry -Original Message- From: Richard Kroll [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 10:34 To: CF-Talk Subject: RE: date compare #Fix( your_date )# will convert the date to a float, and then cut off the hour/min/seconds... Then the CFQueryParam tag will convert the float back into a date/time object. I guess you learn something every day! Nice tip Ben Rich Kroll ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273733 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CF + Ajax
Hey all, been years since I have been on this list. Back into doing more CF programming with some pretty decent applications in the works. What I am interested in at the moment is seeing what people are doing for their Ajax applications. i.e. libraries, functions, cfcs, etc. Thanks... ~Terry ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273581 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF + Ajax
That would be awesome but when I try and subscribe. Bug in Mailman version 2.1.9.cp1 We're sorry, we hit a bug! Please inform the webmaster for this site of this problem. Printing of traceback and other system information has been explicitly inhibited, but the webmaster can find this information in the Mailman error logs. -Original Message- From: Michael E. Carluen [mailto:[EMAIL PROTECTED] Sent: Friday, March 23, 2007 12:55 To: CF-Talk Subject: RE: CF + Ajax On the jquery list, you can feel very comfortable posting your cfml+cfc+jquery+javascript code knowing that you'll definitely be able to find help, and fast. That speaks volumes not just for the library itself, but for the jquery community as a whole. -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Friday, March 23, 2007 10:20 AM To: CF-Talk Subject: RE: CF + Ajax Look into jQuery.com. Many CF programmers on this list are using it. -Original Message- From: Bader, Terrence C CTR MARMC, 231 [mailto:[EMAIL PROTECTED] Sent: Friday, March 23, 2007 12:08 PM To: CF-Talk Subject: CF + Ajax Hey all, been years since I have been on this list. Back into doing more CF programming with some pretty decent applications in the works. What I am interested in at the moment is seeing what people are doing for their Ajax applications. i.e. libraries, functions, cfcs, etc. Thanks... ~Terry ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273594 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CF + Ajax
jquery reminds of DynApi JS library. thanks all... -Original Message- From: Michael E. Carluen [mailto:[EMAIL PROTECTED] Sent: Friday, March 23, 2007 12:55 To: CF-Talk Subject: RE: CF + Ajax On the jquery list, you can feel very comfortable posting your cfml+cfc+jquery+javascript code knowing that you'll definitely be able to find help, and fast. That speaks volumes not just for the library itself, but for the jquery community as a whole. -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Friday, March 23, 2007 10:20 AM To: CF-Talk Subject: RE: CF + Ajax Look into jQuery.com. Many CF programmers on this list are using it. -Original Message- From: Bader, Terrence C CTR MARMC, 231 [mailto:[EMAIL PROTECTED] Sent: Friday, March 23, 2007 12:08 PM To: CF-Talk Subject: CF + Ajax Hey all, been years since I have been on this list. Back into doing more CF programming with some pretty decent applications in the works. What I am interested in at the moment is seeing what people are doing for their Ajax applications. i.e. libraries, functions, cfcs, etc. Thanks... ~Terry ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273599 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4