RE: Extract an URL Variable name?
structKeyList(url) .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Won Lee [mailto:won...@gmail.com] Sent: Friday, July 09, 2010 3:04 PM To: cf-talk Subject: Re: Extract an URL Variable name? On Thu, Jul 8, 2010 at 11:11 PM, Les Mizzell wrote: > > If I'm passing an URL Variable - with the variable name itself being > dynamic, what's the best was to extract the variable name (not the > value) on the receiving page? > > As in: > for: index.cfm?somevar=somevalue > I need to return "somevar" on the receiving page as a value. > > or for: index.cfm?bigdog=bruto > I need to return "bigdog" on the receiving page as a value. > > Reference cgi.query_string W ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335222 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ISAPI filters
> I'm trying to set up ColdFusion 9 on IIS7? > As soon as I add the jrun_iis6_wildcard.dll ISAPI > filter, a call to an HTML file will fail. As soon as I remove the > filter, it succeeds. I also await a fix for jrun_iis6_wildcard.dll blocking static file requests. Thanks!, -Aaron Neff ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335221 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
On Fri, Jul 9, 2010 at 4:40 PM, Michael Grant wrote: > > > > > > Good thing I started handing off most of my XML reply messages from > > API's straight to MS SQL server, so much simpler ;-) > > > > Especially if you're working with a large xml result set. It's s quick > to just stick it straight into the db. > > No kidding, I had a task that was timing out, then did some research on XML inside MS SQL, now it takes about 3 seconds if that I think it takes longer to receive the reply from the API then it does for SQL server to insert the records. Took a bit to grasp it, but wow, it's totally changed how I think about managing XML Even storing the straight XML in a column under XML data type is super cool! it creates a link in Management studio that when clicked opens the XML in a new window all color formatted and stuff. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335220 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
> >>Nobody calls their thumb their "zeroth" finger. > I call my thumb Englebert. -- Gerald Guido http://www.myinternetisbroken.com "Wait. We can't stop here. This is bat country." -- HST ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335219 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
> > > Good thing I started handing off most of my XML reply messages from > API's straight to MS SQL server, so much simpler ;-) > Especially if you're working with a large xml result set. It's s quick to just stick it straight into the db. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335218 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
On Thu, Jul 8, 2010 at 6:13 PM, Raymond Camden wrote: > > I'm sorry - but I still say the guy who invented arrays was drunk and > came up with the "its an offset" excuse later on to explain the whole > 0 based thing. That's why I continue to avoided them like the plague. Darn those XML node with child members! Good thing I started handing off most of my XML reply messages from API's straight to MS SQL server, so much simpler ;-) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335217 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
On Fri, Jul 9, 2010 at 2:21 PM, denstar wrote: > @Keven -- Awesome take on it. "I'm there dude". =) Er- Kevin, even. :) :Denny -- Do not fear lest you should meditate too much upon Him and speak of Him in an unworthy way, providing you are led by faith. Do not fear lest you should entertain false opinions of Him so long as they are in conformity with the notion of the infinitely perfect Being. Nicolas Malebranc ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335216 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
On Fri, Jul 9, 2010 at 11:38 AM, Won Lee wrote: > > On Thu, Jul 8, 2010 at 9:57 PM, denstar wrote: > >> >> So /that's/ why my ascii art is all mangled! ;] >> >> , >> - \O , .-.___ >> - /\ O/ /xx\XXX\ >> - __/\ ` /\ |xx|XXX| >> ` \, () ` << |xx|XXX| >> jgs`^^^ >> >> >> > NSFW! LOL! @Keven -- Awesome take on it. "I'm there dude". =) @Roger -- It's so good, we played it at our wedding (barefoot up in the mountains). T'was Perfecto! Now back to your regularly scheduled programming. If there really is such a thing. =) :Den -- As our bodies live upon the earth and find sustenance in the fruits which it produces, so our minds feed on the same truths as the ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335215 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Extract an URL Variable name?
On Thu, Jul 8, 2010 at 11:11 PM, Les Mizzell wrote: > > If I'm passing an URL Variable - with the variable name itself being > dynamic, what's the best was to extract the variable name (not the > value) on the receiving page? > > As in: > for: index.cfm?somevar=somevalue > I need to return "somevar" on the receiving page as a value. > > or for: index.cfm?bigdog=bruto > I need to return "bigdog" on the receiving page as a value. > > Reference cgi.query_string W ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335214 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
On Thu, Jul 8, 2010 at 9:57 PM, denstar wrote: > > So /that's/ why my ascii art is all mangled! ;] > > , > - \O , .-.___ > - /\ O/ /xx\XXX\ > - __/\ ` /\ |xx|XXX| > `\, () ` << |xx|XXX| > jgs`^^^ > > > NSFW! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335213 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Does Application.cfm get run by .cfc web service?
> I have a web service (SOAP) file called wsl.cfc and I was wondering if > Application.cfm got called every time a remote client connected and ran a > function from the wsl.cfc web service? Yes, it does, which can obviously cause problems if you're not careful. Many developers ensure that their web services have their own Application.cfc/cfm by putting them in a separate directory. 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-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335212 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Does Application.cfm get run by .cfc web service?
Hello, I have a web service (SOAP) file called wsl.cfc and I was wondering if Application.cfm got called every time a remote client connected and ran a function from the wsl.cfc web service? Thanks, tom ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335211 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ISAPI filters
> I'm trying to set up ColdFusion 9 in distributed mode (again, on some other > servers). As soon as I add the jrun_iis6_wildcard.dll ISAPI filter, a call > to an HTML file will fail. As soon as I remove the filter, it succeeds. > > I thought that .html and .htm files were not served by a filter but directly > by IIS. Is this indicative of a misconfiguration within IIS, or what's going > on here? It's more complicated than that. When you install an ISAPI filter, all traffic is processed by that filter. The filter does whatever it's supposed to do, then forwards the request to the next stage of the IIS processing pipeline if there's anything left to do. My understanding is that Apache modules basically work the same way. In the case of CF, the request is received by IIS, sent to the ISAPI filter, which passes the request to CF. CF looks at the URL patterns it has defined in web.xml. It then processes the request if it matches one of the URL patterns, or returns the request to the ISAPI filter if it doesn't. There is a tiny bit of overhead from all this request passing, which is why some high-availability environments (like the Macromedia site and presumably now the Adobe site) use a non-standard context root (something other than "/") for CF. By using a non-standard context root, the filter can be limited to a specific predetermined URL pattern, like "/cfusion". None of this actually solves your problem, but it might explain why you're having that problem. Finally, I hate to say this, but I'd recommended using a reverse proxy instead of distributed mode, which I've always found kind of fragile and problematic. Using a reverse proxy gets you the same benefits (the ability to isolate CF from your public interface, the ability to segment serving static files from dynamic ones) but doesn't rely on anything built into CF/JRun. We have a few high-availability clients using a reverse proxy, typically on public-facing Apache on Unix servers, sending requests to isolated CF/IIS servers internally, and this works pretty well. Of course, it's probably too late to rethink your architecture at this point. 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-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335210 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
On 7/8/2010 10:30 PM, denstar wrote: > A snippet from a favorite song: > > If my words did glow with the gold of sunshine > And my tunes were played on the harp unstrung > Would you hear my voice come through the music > Would you hold it near as it were your own? > > It's a hand-me-down, the thoughts are broken > Perhaps they're better left unsung > I don't know, don't really care > Let there be songs to fill the air > > Not that it really helps you, but it all makes sense from "in here". :-) Wore out two American Beauty LPs before CDs came out. One of my favorites. -- LinkedIn: http://www.linkedin.com/pub/8/a4/60 Twitter: http://twitter.com/RogerTheGeek MissHunt: http://www.misshunt.com/ (Home of the Clean/Dirty Magnet) NCDevCon: http://ncdevcon.com/ 2010 Raleigh ColdFusion Conference ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335209 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for a CF Recipe script!
>>Nobody calls their thumb their "zeroth" finger. Sure, but computers do not count on their fingers... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335208 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm