Promote ColdFusion - Nettuts.com
Hi Folks. I came across this article on Nettuts http://net.tutsplus.com/articles/news/language-wars-sign-up/. Perhaps this may be a fun and beneficial exercise for some of our senior CF evangelists out there... Ben? Ray? I'd hate to see this pass without CF being represented. Each team can have 2 members so if anyone is interested and would like a partner I'd be willing to contribute. If 2 more senior members of the community decide to take this and run that would be fine too. Just throwing it out there. My apologies if too off topic. Steve ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342139 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
AES Encryption Limits
Hello All. I am working on a database driven session environment that is used on a shopping cart. The cart is not currently PCI complient so I am working on encrypting certain items. The session is stored in the DB as a WDDX packet in an ntext field. Rather than parsing the structure and encrypting just certain pieces of data, I was playing with the idea of encrypting the entire WDDX packet. This works fine in my tests, but I am worried about any possible limits I might reach. Theoretically, the WDDX string could be enormous as there is nothing limiting the size of carts in this system. Does anyone know if I'll potentially hit some kind of limit using this method of encryption? This will determin the path I take. If there is no limit, I'll just make my life easy and encrypt the entire thing. If there is a limit, I'll write some code to parse out the structure and only encrypt certain members. Thanks in advance. -Jake ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342140 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: AES Encryption Limits
My one caution is that encryption is processor intensive. I wouldn't encrypt until you actually have a cart (like I wouldn't arbitrarily encrypt every session to start with). -mark Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Jake Churchill [mailto:reyna...@gmail.com] Sent: Friday, February 11, 2011 10:32 AM To: cf-talk Subject: AES Encryption Limits Hello All. I am working on a database driven session environment that is used on a shopping cart. The cart is not currently PCI complient so I am working on encrypting certain items. The session is stored in the DB as a WDDX packet in an ntext field. Rather than parsing the structure and encrypting just certain pieces of data, I was playing with the idea of encrypting the entire WDDX packet. This works fine in my tests, but I am worried about any possible limits I might reach. Theoretically, the WDDX string could be enormous as there is nothing limiting the size of carts in this system. Does anyone know if I'll potentially hit some kind of limit using this method of encryption? This will determin the path I take. If there is no limit, I'll just make my life easy and encrypt the entire thing. If there is a limit, I'll write some code to parse out the structure and only encrypt certain members. Thanks in advance. -Jake ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342141 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: AES Encryption Limits
In this system (and you know which one I'm talking about) the values aren't actually committed to the DB until there is something in the cart and that's where I would do the encrypt/decrypt. As close to the DB as possible to avoid deeper system changes. However, the only thing I really NEED to encrypt is the payment details like name, CC number and cc expiration date. Those aren't entered until later so I'd potentially be encrypting/decrypting data more than is needed. I'm using AES-128 bit because it is both the fastest and most secure according to the documentation I've come across so far. Now that I'm thinking about your response, maybe it would be better to write something that would parse out those few values that must be encrypted and decrypt in a similar fashion to avoid processor/memory spikes during the encryption process. I could still do that as close to the DB as possible and the code wouldn't be terribly difficult. I think I have my answer. Thanks! -Jake On Fri, Feb 11, 2011 at 10:40 AM, Mark A. Kruger mkru...@cfwebtools.comwrote: My one caution is that encryption is processor intensive. I wouldn't encrypt until you actually have a cart (like I wouldn't arbitrarily encrypt every session to start with). -mark Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Jake Churchill [mailto:reyna...@gmail.com] Sent: Friday, February 11, 2011 10:32 AM To: cf-talk Subject: AES Encryption Limits Hello All. I am working on a database driven session environment that is used on a shopping cart. The cart is not currently PCI complient so I am working on encrypting certain items. The session is stored in the DB as a WDDX packet in an ntext field. Rather than parsing the structure and encrypting just certain pieces of data, I was playing with the idea of encrypting the entire WDDX packet. This works fine in my tests, but I am worried about any possible limits I might reach. Theoretically, the WDDX string could be enormous as there is nothing limiting the size of carts in this system. Does anyone know if I'll potentially hit some kind of limit using this method of encryption? This will determin the path I take. If there is no limit, I'll just make my life easy and encrypt the entire thing. If there is a limit, I'll write some code to parse out the structure and only encrypt certain members. Thanks in advance. -Jake ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342142 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Issue with new CF Update
I installed the CF901 (APSB11-04) hotfix on our development and now we are having problems when trying to access different applications in the same browser at the same time. Each application wants to use its own CFID and CFTOKEN, but when you log into one app which is app name X, then try to open app Z, you cannot get in because the CFID and CFTOKEN are already there from the other application. Our URL domain name is the same for both. Was there something in the hotfix that prevents this from happening now with the same domain name?? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342143 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Issue with new CF Update
I installed the CF901 (APSB11-04) hotfix on our development and now we are having problems when trying to access different applications in the same browser at the same time. Each application wants to use its own CFID and CFTOKEN, but when you log into one app which is app name X, then try to open app Z, you cannot get in because the CFID and CFTOKEN are already there from the other application. Our URL domain name is the same for both. Was there something in the hotfix that prevents this from happening now with the same domain name?? Yes. This is a known (but not yet documented) issue. There are three ways you can fix this: 1. Revert to the prior configuration. 2. Ensure that you set the CFID and CFTOKEN cookies so that they're path-specific - you'll have to rewrite them yourself using CFCOOKIE. 3. Use J2EE session handling. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsi ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342144 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
cfimage on cf8 oversharpens thumbs
If I downsize an image to make thumbs using cfimage, it seems to automatically oversharpen some of the images. Others seem fine. When I try ImageCR3 from Efflare and I don't have this issue. Is there a way to prevent cfimage from automatically sharpen when it downsizes? Thanks in advance. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342145 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion Builder: Plug-In vs. Standalone
Thanks for the feedback. I decided to go with standalone and it seems very solid so far. BTW, I figured out my problem with the tag completion. There are 2 settings that need to be set to get this to work. If you go to Preferences-ColdFusion-Editor Profiles-Editor, under Code Assist, you have to check Automatically Insert a Closing Tag and under Typing something other than Never needs to be chosen under Auto-close tags. This is very strange that the settings are on 2 different pages, I've been fighting with this for at least a year now and posted several threads to no avail. I'm glad I found it. Thanks again, Donnie ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342146 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Google Charts - QR Code - cfimage
ok, I missed what you meant at first. I am able to get this to work with cfhttp cfhttp url=http://chart.apis.google.com/chart?cht=qrchs=200x200chl=yourMomInMyQR; method=get/cfhttp cffile action=write file=[my file path]/myqrCode2.png output=#cfhttp.filecontent# Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Feb 9, 2011, at 12:35 PM, JD Yeiter wrote: imageNew(http://chart.apis.google.com/chart?cht=qrchs=200x200chl=yourMomInMyQR;) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342147 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: JVM args, GC issues, performance tuning - CF9, Win2k8
Ben, The settings for -XX:PermSize=512m -XX:MaxPermSize=512m seem a bit large based on the max heap size of 1024. Did you run some tuning tests to see that these sizes were needed? I usually see settings on high load servers around 128/192 up-to 192/256. These are all based on the particular app and server in question. Your results may vary depending on the server and application needs. Also, there are other settings you should add. The GC setting is good. Parallel GC is meant for multiple CPU servers. However, the default execution times of the GC is every minute unless you set them. Use these settings (-Dsun.rmi.dgc.client.gcInterval=60 -Dsun.rmi.dgc.server.gcInterval=60 ) to set the time interval in millie seconds. I've found tens minutes is a good place to start then monitor your app and server and adjust accordingly. Also look at setting the ratio of perm to new gen -XX:NewRatio=3 . Hope this helps you in the right direction. Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Feb 9, 2011, at 1:09 PM, Ben Raccuia wrote: Hello Mark, I was hoping you could help out in this case as well. I have followed this post and made the recommended changes you specified, but still we have periodic CF service restarts. I have attached the VM arguments and evars. Any help in direction would be welcome. Thank you. BEN VM Arguments: jvm_args: -Xms1024m -Xmx1024m -Dsun.io.useCanonCaches=false -XX:PermSize=512m -XX:MaxPermSize=512m -XX:+UseParallelGC -Dcoldfusion.rootDir=C:\ColdFusion9\runtime/../ -Dcoldfusion.libPath=C:\ColdFusion9\runtime/../lib -Dcoldfusion.classPath=C:\ColdFusion9\runtime/../lib/updates,C:\ColdFusion9\runtime/../lib,C:\ColdFusion9\runtime/../gateway/lib/,C:\ColdFusion9\runtime/../wwwroot/WEB-INF/flex/jars,C:\ColdFusion9\runtime/../wwwroot/WEB-INF/cfform/jars -Djmx.invoke.getters=true java_command: unknown Launcher Type: generic Environment Variables: PATH=C:\ColdFusion9\runtime\..\lib;C:\ColdFusion9\runtime\..\jintegra\bin;C:\ColdFusion9\runtime\..\jintegra\bin\international;C:\ColdFusion9\runtime\..\lib\oosdk\classes\win;C:\Program Files\Legato\nsr\bin;C:\ColdFusion9\verity\k2\_nti40\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\ USERNAME=Administrator OS=Windows_NT PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 46 Stepping 6, GenuineIntel --- S Y S T E M --- OS: Windows Server 2008 R2 Build 7600 CPU:total 2 (1 cores per cpu, 1 threads per core) family 6 model 46 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2 Memory: 4k page, physical 4194303k(4194303k free), swap 4194303k(4194303k free) vm_info: Java HotSpot(TM) Server VM (14.3-b01) for windows-x86 JRE (1.6.0_17-b04), built on Oct 11 2009 00:46:21 by java_re with MS VC++ 7.1 time: Wed Feb 09 14:00:00 2011 elapsed time: 3539 seconds Kris, As dave said, I would start with increasing minimum and maximum heap size to something more likely for a 64bit server. 512megs is inadequate. Set it to at least 1024 (both of them) and other's have mentioned additional switches. -Mark Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com It's as default as it gets. No changes from initial install at all: An enterprise server CF9 hf1: java.args=-server -Xmx512m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=192m -XX:+UseParallelGC -Xbatch -Dcoldfusion.rootDir={application.home}/ -Djava.security.policy={application.home}/servers/cfusion/cfusion-ear/cfusio n-war/WEB-INF/cfusion/lib/coldfusion.policy -Djava.security.auth.policy={application.home}/servers/cfusion/cfusion-ear/c fusion-war/WEB-INF/cfusion/lib/neo_jaas.policy A standard server CF9 hf1: java.args=-server -Xmx512m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=192m -XX:+UseParallelGC -Xbatch -Dcoldfusion.rootDir={application.home}/../ -Djava.security.policy={application.home}/../lib/coldfusion.policy -Djava.security.auth.policy={application.home}/../lib/neo_jaas.policy -Dcoldfusion.classPath={application.home}/../lib/updates,{application.home}/ ../lib,{application.home}/../gateway/lib/,{application.home}/../wwwroot/WEB- INF/cfform/jars,{application.home}/../wwwroot/WEB-INF/flex/jars -Dcoldfusion.libPath={application.home}/../lib Cheers, Kris Please post your JVM config line from jvm.config I can most likely give you the pointers you need once I see your existing config arguments. http://groups.google.com/group/cfaussie/browse_thread/thread/3932bce486621ab e/8b37ea8cbe0384b6?pli=1 http://www.softwaresecretweapons.com/jspwiki/thelastjavagarbagecollectiongui deyouwilleverneed ~| Order the
Re: Google Charts - QR Code - cfimage
Very odd. When I click that link I get an expected QR code. Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Feb 9, 2011, at 12:35 PM, JD Yeiter wrote: Quick overview of what I'm trying to do: I want to dynamically create QR Codes and store them as images for later use (so I don't have to constantly hit up the google charts api). When I try: imageNew(http://chart.apis.google.com/chart?cht=qrchs=200x200chl=yourMomInMyQR;) I get this error: The /chart image format is not supported on this operating system. Any ideas? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342148 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Application.cfc execution order
I recently modified my Application.cfc to email all errors for debugging. While sending the error, I referenced some email settings I saved in the application scope. It was my understanding that OnApplicationStart() fired before anything else, but it looks like ColdFusion is trying to parse OnError() first. Since the application variables are set in the OnApplicationStart() function, my app errors out. Is this the order the functions are supposed to execute in or should I be looking for something else that might be wrong? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342150 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Application.cfc execution order
Sounds like either a) and error is occurring in onApplicationStart() or b) you didn;t reinitialize your app and onApplicationStart isn;t running since the app already exists. nic On 2/11/11 3:49 PM, Mike P mike...@optonline.net wrote: I recently modified my Application.cfc to email all errors for debugging. While sending the error, I referenced some email settings I saved in the application scope. It was my understanding that OnApplicationStart() fired before anything else, but it looks like ColdFusion is trying to parse OnError() first. Since the application variables are set in the OnApplicationStart() function, my app errors out. Is this the order the functions are supposed to execute in or should I be looking for something else that might be wrong? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342151 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Application.cfc execution order
Weird. It didn't work when I manually called OnApplicationStart, but it worked when i restarted the server. Sounds like either a) and error is occurring in onApplicationStart() or b) you didn;t reinitialize your app and onApplicationStart isn;t running since the app already exists. nic On 2/11/11 3:49 PM, Mike P mike...@optonline.net wrote: ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342152 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CFX_HTTP5 - returns partial string
I'm not sure if CFX_HTTP5 is used too much in the community, but I figure I'll check. Has anyone had any issues with it returning partial strings on a GET? CFMX7 / 32bit machine: Returning values just fine. CF9 / Win2008 / 64bit machine (with 64bit version of cfx_http5): The tag seems to be cutting off the last 3 or four characters of the return value. As a result my XML won't validate. I can't control the XML it's coming from a google-mini box.I'm not sure if it's the tag or something in CF9 effecting things. I have manually verified the google-mini is returning valid XML. Anyone seen this? Or does it smell like anything you've tangled with in the past, though mybe unrelated? Thanks, Brent ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342153 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Issue with new CF Update
I installed the CF901 (APSB11-04) hotfix on our development and now we are having problems when trying to access different applications in the same browser at the same time. Each application wants to use its own CFID and CFTOKEN, but when you log into one app which is app name X, then try to open app Z, you cannot get in because the CFID and CFTOKEN are already there from the other application. Our URL domain name is the same for both. Was there something in the hotfix that prevents this from happening now with the same domain name?? Yes. This is a known (but not yet documented) issue. There are three ways you can fix this: 1. Revert to the prior configuration. 2. Ensure that you set the CFID and CFTOKEN cookies so that they're path-specific - you'll have to rewrite them yourself using CFCOOKIE. 3. Use J2EE session handling. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsi We're having a somewhat similar issue. We have multiple CF servers and use our own server-independent session management using cookies and session info saved in the database. We've found that if you go from one updated server to another updated server it loses the user session. If you go to or from a NON-updated server to an updated server it works fine. It also works if you stay on the same updated server. Is this related? I had to roll the updated servers back, but worry about updates in the future that include this hotfix. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342154 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
String manipulation issues
Hello all... I've generated a search engine to allow for multiple dropdown selections and a keyword box to return a resultset. Although, the trouble I'm having is redisplaying the keyword accordingly. MS SQL Server 2K8 will handle the keyword as designed for freetext search. Although, when the htmleditformat(form.keyword) value is returned on the page, I'd like the results to appear as followed: Input: red car engine Ideal output: red car OR engine Basically I need to display the 'ideal output' to the screen that way. Any thoughts how to manipulate this? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342155 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Create REST based web services?
Hello, I would like to know if it's possible to create REST based web services in Coldfusion and if so how? I'm just looking for a little how to, getting started. Thanks, tom ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342156 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Create REST based web services?
Absolutely. It's perfect for it. Just google it and you should see a heap of tutorials. On Fri, Feb 11, 2011 at 5:52 PM, Tom Jones tjo...@acworld.com wrote: Hello, I would like to know if it's possible to create REST based web services in Coldfusion and if so how? I'm just looking for a little how to, getting started. Thanks, tom ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342157 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFX_HTTP5 - returns partial string
I'm not sure if CFX_HTTP5 is used too much in the community, but I figure I'll check. Has anyone had any issues with it returning partial strings on a GET? CFMX7 / 32bit machine: Returning values just fine. CF9 / Win2008 / 64bit machine (with 64bit version of cfx_http5): The tag seems to be cutting off the last 3 or four characters of the return value. As a result my XML won't validate. I can't control the XML it's coming from a google-mini box.I'm not sure if it's the tag or something in CF9 effecting things. I have manually verified the google-mini is returning valid XML. Anyone seen this? Or does it smell like anything you've tangled with in the past, though mybe unrelated? You will have absolutely no problem returning results from a Google Mini or a Google Search Appliance just using the built-in CFHTTP. I recommend you try that rather than waste time with an external library in this case. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342158 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Issue with new CF Update
We're having a somewhat similar issue. We have multiple CF servers and use our own server-independent session management using cookies and session info saved in the database. We've found that if you go from one updated server to another updated server it loses the user session. If you go to or from a NON-updated server to an updated server it works fine. It also works if you stay on the same updated server. Is this related? I had to roll the updated servers back, but worry about updates in the future that include this hotfix. I don't know if it's related, but you should be able to control the scope of the cookies using the DOMAIN attribute of CFCOOKIE, if you're not already doing so. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342159 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SMS messages
www.q-sms.org They have a very robust sms gateway. Thanks, I took a look at their pricing page and LOLed when I saw this... Q-sms offers the cheapest price in Nigeria and one of the most competitive globally... The Nigeria mention makes them immediately suspect in my mind, but I suppose there must be legitimate businesses there too, right? Hopefully they won't switch out my messages for offers to transfer millions into the recipients account... ha! Have you used them to send to mobile numbers on US carriers? A few places I've spoken to have said that we would need to apply for our own short code to send to US recipients, others have said we can send through theirs but only to certain carriers. It all seems to be more confusing than it should be. -Justin Well, believe it or not, i have used them to send messages to the U.S. Their delivery was instant. I thought the same way you do, but when i decided to use them, i got results and its cool to pay for results, these days. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342160 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SMS messages
I had to set up my first SMS application about 3 years ago, and I was busy looking for Australian SMS providers, when another colleague said to try an English company he'd been using. I too was skeptical about using an overseas company, but he assured me that it didnt matter. So we had a race.We sent SMS messages from my phone to his phone, using the normal 'two thumbs and press 'send' method, and using his web site to another phone. We pressed his enter key and my send button together, and time after time, the web site would win. He was sending a XML packet to the English SMS server, they were routing the message through any number of other providers around the world (depending on where the cheapest carriers were on this day) and eventually ending up beside us here on the next desk in Australia. It turns out that SMS providers treat SMS messages like a commodity. They buy in huge numbers, and make a margin by selling to you and me and our clients in smaller volumes. So the routing today will quite likely be different to how it was yesterday because of the pricing. Of course there are plenty of issues to check on when searching for a provider, but when it comes to SMS messaging, location doesnt matter for performance reasons. This is rather similar to knowing that it doesnt really matter much where you locate your web servers geographically, as long as they are provided with enough bandwidth and set up properly. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month On Sat, Feb 12, 2011 at 12:23 PM, Chuka Anene anene.quor...@yahoo.com wrote: www.q-sms.org They have a very robust sms gateway. Thanks, I took a look at their pricing page and LOLed when I saw this... Q-sms offers the cheapest price in Nigeria and one of the most competitive globally... The Nigeria mention makes them immediately suspect in my mind, but I suppose there must be legitimate businesses there too, right? Hopefully they won't switch out my messages for offers to transfer millions into the recipients account... ha! Have you used them to send to mobile numbers on US carriers? A few places I've spoken to have said that we would need to apply for our own short code to send to US recipients, others have said we can send through theirs but only to certain carriers. It all seems to be more confusing than it should be. -Justin Well, believe it or not, i have used them to send messages to the U.S. Their delivery was instant. I thought the same way you do, but when i decided to use them, i got results and its cool to pay for results, these days. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342161 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SMS messages
Wouldn't trust anything coming from that country, anywhere else in Africa yes, Nigeria? No. Matt. On 12 Feb 2011, at 01:23, Chuka Anene anene.quor...@yahoo.com wrote: www.q-sms.org They have a very robust sms gateway. Thanks, I took a look at their pricing page and LOLed when I saw this... Q-sms offers the cheapest price in Nigeria and one of the most competitive globally... The Nigeria mention makes them immediately suspect in my mind, but I suppose there must be legitimate businesses there too, right? Hopefully they won't switch out my messages for offers to transfer millions into the recipients account... ha! Have you used them to send to mobile numbers on US carriers? A few places I've spoken to have said that we would need to apply for our own short code to send to US recipients, others have said we can send through theirs but only to certain carriers. It all seems to be more confusing than it should be. -Justin Well, believe it or not, i have used them to send messages to the U.S. Their delivery was instant. I thought the same way you do, but when i decided to use them, i got results and its cool to pay for results, these days. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342162 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm