Re: CF usage growing or shrinking? (was DWMX 2004 - Whats new for us? )
Doug White wrote: One thing has not changed as far as PHP vs. CF 1. CF and especially CFMX is MUCH faster than PHP Additionally, while PHP is open source, and CF is not - when one considers the total cost of development, CF will come out ahead. Faster development time, reusable code, supported platforms and pure speed will keep CF in competition. These points may be 100% true, but neither addresses the simple observation that PHP usage will soon eclipse that of CF. And what the implications of this will be for CF. ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
Dial Modem via CF intranet
I seem to recall long ago there was a CFX plugin of some sort that would allow you to submit a form number, and it would dial the modem throught some TAPI interfaceanyone recall or know if such a beast did exist? Regards, Eric J. Hoffman Technology Tamer DataStream Connexion www.datastreamconnexion.com ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
RE: CF usage growing or shrinking? (was DWMX 2004 - Whats new for us? )
I don't really see an implication for CF. You seem to be looking at this as if more PHP has to mean less CF - and that's not necessarily so. The market for dynamic pages is simply (I think) expanding - there's room for more than a few successful players. However like others have said the total number of sites using this or that really doesn't matter much to the market. PHP is wildly popular, but has yet to make a dent in the business side of the world: exactly where a pay tool like CF lives. In short PHP seems to be popular in exactly the area that CF isn't (and won't be). I do think that PHP will begin to makes strides in that area soon, but still that doesn't have to mean dreadful things for CF. I think in the end you'll simply see both tools gain popularity. PHP mostly because of the cost of entry and CF mostly because of the cost of development vrs other enterprise tool sets. Jim Davis -Original Message- From: Jim McAtee [mailto:[EMAIL PROTECTED] Sent: Sunday, August 31, 2003 7:12 PM To: CF-Talk Subject: Re: CF usage growing or shrinking? (was DWMX 2004 - Whats new for us? ) Doug White wrote: One thing has not changed as far as PHP vs. CF 1. CF and especially CFMX is MUCH faster than PHP Additionally, while PHP is open source, and CF is not - when one considers the total cost of development, CF will come out ahead. Faster development time, reusable code, supported platforms and pure speed will keep CF in competition. These points may be 100% true, but neither addresses the simple observation that PHP usage will soon eclipse that of CF. And what the implications of this will be for CF. ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
RE: CF usage growing or shrinking? (was DWMX 2004 - Whats new for us? )
I'd bet that with cfmx 7 they're going to really gear it for medium to large biz. Support for managing CF in clusters, auto deployment etc...maybe a bigger price tag. Higher revenue with perhaps slightly smaller market in terms of install base. Just a guess Stace -Original Message- From: Jim McAtee [mailto:[EMAIL PROTECTED] Sent: Sunday, August 31, 2003 7:12 PM To: CF-Talk Subject: Re: CF usage growing or shrinking? (was DWMX 2004 - Whats new for us? ) Doug White wrote: One thing has not changed as far as PHP vs. CF 1. CF and especially CFMX is MUCH faster than PHP Additionally, while PHP is open source, and CF is not - when one considers the total cost of development, CF will come out ahead. Faster development time, reusable code, supported platforms and pure speed will keep CF in competition. These points may be 100% true, but neither addresses the simple observation that PHP usage will soon eclipse that of CF. And what the implications of this will be for CF. ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Re: CF usage growing or shrinking? (was DWMX 2004 - Whats new for us? )
Sunday, August 31, 2003, 7:11:51 PM, you wrote: JM These points may be 100% true, but neither addresses the simple observation JM that PHP usage will soon eclipse that of CF. And what the implications of this JM will be for CF. If I had a nickel for every time someone said CF was dead... -- mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
RE: CF usage growing or shrinking? (was DWMX 2004 - Whats new for us? )
I'd bet that with cfmx 7 they're going to really gear it for medium to large biz. Support for managing CF in clusters, auto deployment etc...maybe a bigger price tag. Higher revenue with perhaps slightly smaller market in terms of install base. I think that's already what Macromedia (and Allaire) has already been doing all along. I think that's the market they've always been after. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: Objects onTap
Isaac, Thanks for posting this about the onTap framework, something I overlooked before, and it's very interesting. I downloaded and installed it on my dev server, and when I look at my server variables, I see that onTap has set up a whole lot of variables at server level. In principle, I don't have a problem with that, but how would it go in a shared hosting environment, where I'm not the only company with a site on the server? Wouldn't there be conflicts? How would you set onTap up so it's scope is only as far as one site? I could foresee the situation where I might have several onTap-based sites on the same server. Then how would it go? I assume a default installation would have to be modified to cope with that, yes? Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] Sent: Monday, 1 September 2003 7:41 AM To: CF-Talk Subject: Objects onTap For anyone who's been interrested in the onTap framework and maybe not sure about it's application on ColdFusion MX, I just put up a new build on the site with added implementation of CFC's. There's also some additional information about the use of CFC's in the onTap framework on my framework blog at: http://www.turnkey.to/ontap/docs/blog.cfm [snip] ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
RE: CF usage growing or shrinking? (was DWMX 2004 - Whats new for us? )
Agreed, but I think they've yet to deliver on some key functionality to entice larger enterprises. Stace -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Sunday, August 31, 2003 8:59 PM To: CF-Talk Subject: RE: CF usage growing or shrinking? (was DWMX 2004 - Whats new for us? ) I'd bet that with cfmx 7 they're going to really gear it for medium to large biz. Support for managing CF in clusters, auto deployment etc...maybe a bigger price tag. Higher revenue with perhaps slightly smaller market in terms of install base. I think that's already what Macromedia (and Allaire) has already been doing all along. I think that's the market they've always been after. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: Objects onTap
Isaac, Thanks for posting this about the onTap framework, something I overlooked before, and it's very interesting. I downloaded and installed it on my dev server, and when I look at my server variables, I see that onTap has set up a whole lot of variables at server level. In principle, I don't have a problem with that, but how would it go in a shared hosting environment, where I'm not the only company with a site on the server? Wouldn't there be conflicts? There shouldn't be any for the variables it's setting... If you look closely, all the server variables it's setting are keyed with absolute file paths... In particular what gets cached in the server scope _mostly_ is relative paths from one absolute path to another absolute path. So... if you were to rename or move a directory, since both of those keys will change, it won't cause any problems stemming from the stored cache. The same is true for multiple coppies of the onTap framework in different directories -- in general they shouldn't be accessing the same server variables, but even if they did, they'd be identical in both cases anyway. This also means that the getRelative() function (which stores most of those server variables) and all of the functions based on getRelative() ( tag(), dba() and process() being the big ones) will perform _better_ on mx than on CF5 where the cache is stored only in the request scope (because there's no way to use cflock in the CF5 function definition) and therefore only provides the advantage of cacheing on subsequent requests from the same origin directory to the same destination directory during the same request -- which is to say -- much less caching than on MX. :) How would you set onTap up so it's scope is only as far as one site? I could foresee the situation where I might have several onTap-based sites on the same server. Then how would it go? I assume a default installation would have to be modified to cope with that, yes? It's just those couple of functions / tags... just do a multi-file search for server (there will only be a couple of them) and it should be fairly easy to replace that with application if that's the direction you want to go, although afaik that'll just eat up more RAM with no pay-out... For some reason I can't remember the other components that access the session scope off the top of my head (outside of getRelative()) ... In any event -- you could also override the existing getRelative function without editing the /_library/cf_core/getrelative.cfm template -- the way to do this is to copy the template to the same directory with a different name, change the name of the function in the function declaration to match the new filename, i.e. getrelative2() -- then in the place where you see request.tapi.tStor(getrelative) change this to request.tapi.tStor(getrelative2,getrelative). This will override the getrelative function in the request.tapi structure so the whole app will use the new function instead of the original function from the core components. Also - Bug Fix: I'm not sure if this will be relevant to you specifically, but I found (and fixed) a bug in the getPath() function (which getrelative depends on), when using a *nix server. This was what had been preventing display of the documentation site on the mirror at http://23airmail.com/ontap -- and I updated the core files archive and uploaded it again to the server around 8:30'ish central time tonight. s. isaac dealey972-490-6624 team macromedia volunteer http://www.macromedia.com/go/team chief architect, tapestry cms http://products.turnkey.to onTap is open source http://www.turnkey.to/ontap ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: Convert Complex data to string error.
Hi Ike and Adam (and others), I tried Ike's suggestion below but with the same outcome. cfif session.basket.ProductURL EQ cfset URL = cfelse cfset URL = URLEncodedFormat(session.basket.ProductURL) /cfif cfset thisStruct = URL !--- Did this just to keep the sample simple --- cfscript thisStructList = structKeyList(thisStruct); thisString = ; for(i = 1; i LTE listLen(thisStructList); i = i + 1) { thisString = listAppend(thisString, evaluate(listGetAt(thisStructList, i))); } /cfscript The error that it gets is : Complex object types cannot be converted to simple values. The expression has requested a variable or an intermediate expression result as a simple value, however, the result cannot be converted to a simple value. Simple values are strings, numbers, boolean values, and date/time values. Queries, arrays, and COM objects are examples of complex values. The most likely cause of the error is that you are trying to use a complex value as a simple one. For example, you might be trying to use a query variable in a CFIF tag. This was possible in ColdFusion 2.0 but creates an error in later versions. The error occurred in C:\Documents and Settings\mpicker\My Documents\My Webs\ttzed.com\web\products\products_process.cfm: line 327 Called from C:\Documents and Settings\mpicker\My Documents\My Webs\ttzed.com\web\products\products_process.cfm: line 425 Called from C:\Documents and Settings\mpicker\My Documents\My Webs\ttzed.com\web\products\products_process.cfm: line 513 325 : for(i = 1; i LTE listLen(thisStructList); i = i + 1) 326 : { 327 : thisString = listAppend(thisString, evaluate(listGetAt(thisStructList, i))); 328 : } 329 : /cfscript As requested by Ike, there is a page elsewhere on the site when the user is looking through products, sets a hidden form variable named ProductURL: input type=Hidden name=ProductURL value=cat=#url.cat#grouping=#grouping#grouptitle=#URLEncodedFormat(gr ouptitle)#PartID=#fldPartID#page=#page#title=#URLEncodedFormat(title) #do=action If the user clicks to add the product to their basket it goes onto a processing page that has the following in it: cflock scope = Session timeout = 30 type = Exclusive cfset tempValue = queryAddRow(newBasket) cfset tempValue = querySetCell(newBasket, PartID, PartID) cfset tempValue = querySetCell(newBasket, PartNumber, PartNumber) cfset tempValue = querySetCell(newBasket, ProductURL, ProductURL) cfset tempValue = querySetCell(newBasket, Price, Price) !--- * START Change qty to the value entered on the basket form *** --- cfset productRow = listFind(valueList(session.basket.PartID), PartID) cfset newQuantity = listGetAt(valueList(tmpQtyList.formqty), productRow) cfset tempValue = querySetCell(newBasket, Quantity, newQuantity) !--- * END Change qty to the value entered on the basket form *** --- cfset tempValue = querySetCell(newBasket, saleDate, saleDate) cfset tempValue = querySetCell(newBasket, GroupBuy, GroupBuy) cfset tempValue = querySetCell(newBasket, Grouping, Grouping) /cflock So now (5th line on the above code) the ProductURL is stored as a session variable in the newBasket session. Later on if the user proceeds through the checkout the following code is on the checkout processing page : (the below is all included in some looping code) cfif session.basket.ProductURL EQ cfset URL = cfelse cfset URL = URLEncodedFormat(session.basket.ProductURL) /cfif cfset thisStruct = URL !--- Did this just to keep the sample simple --- cfscript thisStructList = structKeyList(thisStruct); thisString = ; for(i = 1; i LTE listLen(thisStructList); i = i + 1) { thisString = listAppend(thisString, evaluate(listGetAt(thisStructList, i))); } /cfscript CFQUERY datasource=#dsn_orders# INSERT INTO tblInvoiceLineDetails ( fldInvoiceID, fldPartID, fldPartNumber, fldProductURL, fldPrice, fldQuantity, fldGroupBuy, fldGrouping ) VALUES ( #getLastInvoiceID.LastInvoice#, #session.basket.PartID#, '#session.basket.PartNumber#', '#URL#', #PriceForQuery#, #session.basket.Quantity#,
RE: Filter file type upload
I want to set a file filter and file size upload contraint. got the file size working. CFIF VAL(CGI.CONTENT_LENGTH) GT 200 span class=textfont face=verdana, arial size=2 color=black Upload file size exceeds the 2MB limit.br a href=Javascript:history.go(-1)Try again/a?/span/font CFABORT /cfif However, I'm can't figure how to filter out *.zip files only. Nyon --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.509 / Virus Database: 306 - Release Date: 12/08/2003 ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
Re: Convert Complex data to string error.
Monday, September 1, 2003, 12:51:27 AM, you wrote: M Hi Ike and Adam (and others), M I tried Ike's suggestion below but with the same outcome. M cfif session.basket.ProductURL EQ M cfset URL = M cfelse M cfset URL = M URLEncodedFormat(session.basket.ProductURL) M /cfif url is a reserved word. Any attempts to change it are ignored, so the above code is essentially ignored. http://livedocs.macromedia.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Elements15.htm M cfset thisStruct = URL !--- Did this just to keep the sample simple --- M cfscript M thisStructList = structKeyList(thisStruct); M thisString = ; M for(i = 1; i LTE listLen(thisStructList); i = i + 1) M { M thisString = listAppend(thisString, M evaluate(listGetAt(thisStructList, i))); M } M /cfscript This code, in and of itself will not error out. It will execute, just not like you are expecting...I think. You attempt to set it to a string in the first section, but then use structKeyList on it, so it's hard to ascertain your goal here. snip M CFQUERY datasource=#dsn_orders# M INSERT INTO M tblInvoiceLineDetails M ( M fldInvoiceID, M fldPartID, M fldPartNumber, M fldProductURL, M fldPrice, M fldQuantity, M fldGroupBuy, M fldGrouping M ) M VALUES M ( M #getLastInvoiceID.LastInvoice#, M #session.basket.PartID#, M '#session.basket.PartNumber#', M '#URL#', This will cause the exact error you are seeing, since URL is not a string. Changing the variable name URL to something else in your code should fix the problem. M #PriceForQuery#, M #session.basket.Quantity#, M #session.basket.GroupBuy#, M #session.basket.Grouping# M ) M /CFQUERY M And as show at the top of this email, it stops with an erro when trying M to use the URL or thisStructList variables. M Does anybody else have any ideas? Sure... :) CF should throw an error at compile time when a reserved word is attempted to be set. That's sort of standard...don't know why CF doesn't do it in the first place. M Cheers M Mark ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
RE: Convert Complex data to string error.
Jon, Actually, what you are saying is not correct. Although it is better NOT to use reserved words as variable names, in this case it will work. The only problem in the code was prefixes. In the SQL, Mark should just write '#variables.URL#', and it should work. When you use URL, CFMX will get the URL scope (this is a structure). When you use variables.URL, CFMX will get the variable you created. If you ALWAYS scope your variables, this kind of problems doesn't appear. Of course, if you avoid using reserved words, this won't happen either. Pascal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: maandag 1 september 2003 10:51 To: CF-Talk Subject: Re: Convert Complex data to string error. Monday, September 1, 2003, 12:51:27 AM, you wrote: M Hi Ike and Adam (and others), M I tried Ike's suggestion below but with the same outcome. M cfif session.basket.ProductURL EQ M cfset URL = M cfelse M cfset URL = M URLEncodedFormat(session.basket.ProductURL) M /cfif url is a reserved word. Any attempts to change it are ignored, so the above code is essentially ignored. http://livedocs.macromedia.com/coldfusion/6/Developing_ColdFusion_MX_App lications_with_CFML/Elements15.htm M cfset thisStruct = URL !--- Did this just to keep the M sample simple --- M cfscript M thisStructList = structKeyList(thisStruct); M thisString = ; M for(i = 1; i LTE listLen(thisStructList); i = i + 1) M { M thisString = listAppend(thisString, M evaluate(listGetAt(thisStructList, i))); M } M /cfscript This code, in and of itself will not error out. It will execute, just not like you are expecting...I think. You attempt to set it to a string in the first section, but then use structKeyList on it, so it's hard to ascertain your goal here. snip M CFQUERY datasource=#dsn_orders# M INSERT INTO M tblInvoiceLineDetails M ( M fldInvoiceID, M fldPartID, M fldPartNumber, M fldProductURL, M fldPrice, M fldQuantity, M fldGroupBuy, M fldGrouping M ) M VALUES M ( M #getLastInvoiceID.LastInvoice#, M #session.basket.PartID#, M '#session.basket.PartNumber#', M '#URL#', This will cause the exact error you are seeing, since URL is not a string. Changing the variable name URL to something else in your code should fix the problem. M #PriceForQuery#, M #session.basket.Quantity#, M #session.basket.GroupBuy#, M #session.basket.Grouping# M ) M /CFQUERY M And as show at the top of this email, it stops with an erro when M trying to use the URL or thisStructList variables. M Does anybody else have any ideas? Sure... :) CF should throw an error at compile time when a reserved word is attempted to be set. That's sort of standard...don't know why CF doesn't do it in the first place. M Cheers M Mark ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
RE: Filter file type upload
Have you tried restricting the MIME type in the CFFILE upload tag itself? ACCEPT: Limits the MIME types to accept. Comma-delimited list. For example, to permit JPG and Microsoft Word file uploads: accept = image/jpg, application/msword The browser uses file extension to determine file type. -Gel -Original Message- From: YC Nyon [mailto:[EMAIL PROTECTED] Sent: Monday, September 01, 2003 3:20 AM To: CF-Talk Subject: RE: Filter file type upload I want to set a file filter and file size upload contraint. got the file size working. CFIF VAL(CGI.CONTENT_LENGTH) GT 200 span class=textfont face=verdana, arial size=2 color=black Upload file size exceeds the 2MB limit.br a href=Javascript:history.go(-1)Try again/a?/span/font CFABORT /cfif However, I'm can't figure how to filter out *.zip files only. Nyon --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.509 / Virus Database: 306 - Release Date: 12/08/2003 ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: Okay, what's the first part of those alphabetical navigation strips?
Okay, I've got almost ALL the parts in place. But there's ONE LAST part that I'm having trouble with. It's the expression to check for the existance of an entry. I posted some pseudo-code the other day of how you'd accomplish this, but don't know if it came through. Repost... !--- get linked letters from DB --- query name=letters SELECT DISTINCT(Left(your_column_name,1)) AS alpha FROM your_table_name WHERE your_clause /query !--- get letters that need links in to a list --- set linked = valuelist(letters.alpha) !--- loop through a to z --- loop from=a to=z index=letter !--- check current letter is in list of linked ones --- if listfind(linked, letter) !--- letter that needs linking --- a href=...#letter#/a else !--- no link --- #letter# /if /loop Tim. --- RAWNET LTD - Internet, New Media and ebusiness Gurus. Visit our new website at http://www.rawnet.com for more information about our company, or call us free anytime on 0800 294 24 24. --- Tim Blair Web Application Engineer, Rawnet Limited Direct Phone : +44 (0) 1344 393 441 Switchboard : +44 (0) 1344 393 040 --- This message may contain information which is legally privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any unauthorised disclosure, copying, distribution or use of this information is strictly prohibited. Such notification notwithstanding, any comments, opinions, information or conclusions expressed in this message are those of the originator, not of rawnet limited, unless otherwise explicitly and independently indicated by an authorised representative of rawnet limited. --- ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: DWMX 2004 - Whats new for us?
On Thursday 28 Aug 2003 21:00 pm, Matt Blatchley wrote: Blue Dragonquite impressed. How do they get away with that? The same way the Mono folks 'get away' with writing their own .net compiler. -- Tom Chiverton (sorry 'bout sig.) Advanced ColdFusion Programmer Tel: +44(0)1749 834997 email: [EMAIL PROTECTED] BlueFinger Limited Underwood Business Park Wookey Hole Road, WELLS. BA5 1AF Tel: +44 (0)1749 834900 Fax: +44 (0)1749 834901 web: www.bluefinger.com Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple Quay, BRISTOL. BS1 6EG. *** This E-mail contains confidential information for the addressee only. If you are not the intended recipient, please notify us immediately. You should not use, disclose, distribute or copy this communication if received in error. No binding contract will result from this e-mail until such time as a written document is signed on behalf of the company. BlueFinger Limited cannot accept responsibility for the completeness or accuracy of this message as it has been transmitted over public networks.*** ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Session vars not being retained. Any ideas why?
My site is forgetting the session variables between pages, and I'm not sure why. It retains the login info when I use the CFID/CFTOKEN in the URL, but if not, the new page comes up and I'm logged out again. (sigh!) So far, I've explored the possibility that I've got the cfapplication tag wrong (I've pasted it below for you to see) or that my browser has cookies turned off (it doesn't). I've checked that the logout routine isn't getting cfincluded accidentally. I'm definitely getting logged in from the login routine, because on the action page following the login form, I've put a cfdump that displays the session scope, and the login info is shown there. But when I go to any other page on the site, the session scope doesn't include the login info. Is there anywhere else I ought to look? Here's my cfapplication tag, which is in the topmost Application.cfm on the site: Cfapplication name=infomanagement sessionmanagement=yes sessiontimeout=#createTimeSpan(0,0,20,0)# setclientcookies=yes setdomaincookies=yes (We're using CFMX6.0 on a Win2000 SP3 system.) Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
RE: Session vars not being retained. Any ideas why?
Try adding clientmanagement=Yes And possibly the following deleteing as applicable clientstorage=cookie/dsn/registry -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: 01 September 2003 15:21 To: CF-Talk Subject: Session vars not being retained. Any ideas why? My site is forgetting the session variables between pages, and I'm not sure why. It retains the login info when I use the CFID/CFTOKEN in the URL, but if not, the new page comes up and I'm logged out again. (sigh!) So far, I've explored the possibility that I've got the cfapplication tag wrong (I've pasted it below for you to see) or that my browser has cookies turned off (it doesn't). I've checked that the logout routine isn't getting cfincluded accidentally. I'm definitely getting logged in from the login routine, because on the action page following the login form, I've put a cfdump that displays the session scope, and the login info is shown there. But when I go to any other page on the site, the session scope doesn't include the login info. Is there anywhere else I ought to look? Here's my cfapplication tag, which is in the topmost Application.cfm on the site: Cfapplication name=infomanagement sessionmanagement=yes sessiontimeout=#createTimeSpan(0,0,20,0)# setclientcookies=yes setdomaincookies=yes (We're using CFMX6.0 on a Win2000 SP3 system.) Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
RE: DWMX 2004 - Whats new for us?
Well, since I can't afford anything MM produces legally, I'm going to have to get BlueDragon next time I get paid. MM just lost another sale, no big loss, but I'm sure the small guys add up too. -Matt -Original Message- From: Thomas Chiverton [mailto:[EMAIL PROTECTED] Sent: Monday, September 01, 2003 8:49 AM To: CF-Talk Subject: Re: DWMX 2004 - Whats new for us? On Thursday 28 Aug 2003 21:00 pm, Matt Blatchley wrote: Blue Dragonquite impressed. How do they get away with that? The same way the Mono folks 'get away' with writing their own .net compiler. -- Tom Chiverton (sorry 'bout sig.) Advanced ColdFusion Programmer Tel: +44(0)1749 834997 email: [EMAIL PROTECTED] BlueFinger Limited Underwood Business Park Wookey Hole Road, WELLS. BA5 1AF Tel: +44 (0)1749 834900 Fax: +44 (0)1749 834901 web: www.bluefinger.com Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple Quay, BRISTOL. BS1 6EG. *** This E-mail contains confidential information for the addressee only. If you are not the intended recipient, please notify us immediately. You should not use, disclose, distribute or copy this communication if received in error. No binding contract will result from this e-mail until such time as a written document is signed on behalf of the company. BlueFinger Limited cannot accept responsibility for the completeness or accuracy of this message as it has been transmitted over public networks.*** ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
RE: Session vars not being retained. Any ideas why?
Craig, you think enabling client variables would make it remember session variables??? Heck I'll try anything - this is driving me up the wall - but I'm not sure why that would help. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED] Sent: Tuesday, 2 September 2003 12:24 AM To: CF-Talk Subject: RE: Session vars not being retained. Any ideas why? Try adding clientmanagement=Yes And possibly the following deleteing as applicable clientstorage=cookie/dsn/registry -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: 01 September 2003 15:21 To: CF-Talk Subject: Session vars not being retained. Any ideas why? My site is forgetting the session variables between pages, and I'm not sure why. It retains the login info when I use the CFID/CFTOKEN in the URL, but if not, the new page comes up and I'm logged out again. (sigh!) So far, I've explored the possibility that I've got the cfapplication tag wrong (I've pasted it below for you to see) or that my browser has cookies turned off (it doesn't). I've checked that the logout routine isn't getting cfincluded accidentally. I'm definitely getting logged in from the login routine, because on the action page following the login form, I've put a cfdump that displays the session scope, and the login info is shown there. But when I go to any other page on the site, the session scope doesn't include the login info. Is there anywhere else I ought to look? Here's my cfapplication tag, which is in the topmost Application.cfm on the site: Cfapplication name=infomanagement sessionmanagement=yes sessiontimeout=#createTimeSpan(0,0,20,0)# setclientcookies=yes setdomaincookies=yes (We're using CFMX6.0 on a Win2000 SP3 system.) Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
RE: Session vars not being retained. Any ideas why?
For session vars to work you need to link the id and token to your browser, client vars will do this. -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: 01 September 2003 15:33 To: CF-Talk Subject: RE: Session vars not being retained. Any ideas why? Craig, you think enabling client variables would make it remember session variables??? Heck I'll try anything - this is driving me up the wall - but I'm not sure why that would help. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED] Sent: Tuesday, 2 September 2003 12:24 AM To: CF-Talk Subject: RE: Session vars not being retained. Any ideas why? Try adding clientmanagement=Yes And possibly the following deleteing as applicable clientstorage=cookie/dsn/registry -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: 01 September 2003 15:21 To: CF-Talk Subject: Session vars not being retained. Any ideas why? My site is forgetting the session variables between pages, and I'm not sure why. It retains the login info when I use the CFID/CFTOKEN in the URL, but if not, the new page comes up and I'm logged out again. (sigh!) So far, I've explored the possibility that I've got the cfapplication tag wrong (I've pasted it below for you to see) or that my browser has cookies turned off (it doesn't). I've checked that the logout routine isn't getting cfincluded accidentally. I'm definitely getting logged in from the login routine, because on the action page following the login form, I've put a cfdump that displays the session scope, and the login info is shown there. But when I go to any other page on the site, the session scope doesn't include the login info. Is there anywhere else I ought to look? Here's my cfapplication tag, which is in the topmost Application.cfm on the site: Cfapplication name=infomanagement sessionmanagement=yes sessiontimeout=#createTimeSpan(0,0,20,0)# setclientcookies=yes setdomaincookies=yes (We're using CFMX6.0 on a Win2000 SP3 system.) Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
RE: Session vars not being retained. Any ideas why?
I'm sorry Adrian, thanks for your help, but I don't understand. What does link the id and token to your browser mean exactly? It doesn't mention this at all in Ben and Nate's CFWACK book. As I read their discussion of session vars, the placing of any cookies and retaining of session identity is handled automatically by CFMX, and only fails if the user is so paranoid she's denied all cookies from the site. Is that not the correct interpretation? And when you say client vars will do this, what do you mean - that they'll keep track of user sessions without cookies or id and token? Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: Tuesday, 2 September 2003 12:37 AM To: CF-Talk Subject: RE: Session vars not being retained. Any ideas why? For session vars to work you need to link the id and token to your browser, client vars will do this. -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: 01 September 2003 15:33 To: CF-Talk Subject: RE: Session vars not being retained. Any ideas why? Craig, you think enabling client variables would make it remember session variables??? Heck I'll try anything - this is driving me up the wall - but I'm not sure why that would help. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED] Sent: Tuesday, 2 September 2003 12:24 AM To: CF-Talk Subject: RE: Session vars not being retained. Any ideas why? Try adding clientmanagement=Yes And possibly the following deleteing as applicable clientstorage=cookie/dsn/registry -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: 01 September 2003 15:21 To: CF-Talk Subject: Session vars not being retained. Any ideas why? My site is forgetting the session variables between pages, and I'm not sure why. It retains the login info when I use the CFID/CFTOKEN in the URL, but if not, the new page comes up and I'm logged out again. (sigh!) So far, I've explored the possibility that I've got the cfapplication tag wrong (I've pasted it below for you to see) or that my browser has cookies turned off (it doesn't). I've checked that the logout routine isn't getting cfincluded accidentally. I'm definitely getting logged in from the login routine, because on the action page following the login form, I've put a cfdump that displays the session scope, and the login info is shown there. But when I go to any other page on the site, the session scope doesn't include the login info. Is there anywhere else I ought to look? Here's my cfapplication tag, which is in the topmost Application.cfm on the site: Cfapplication name=infomanagement sessionmanagement=yes sessiontimeout=#createTimeSpan(0,0,20,0)# setclientcookies=yes setdomaincookies=yes (We're using CFMX6.0 on a Win2000 SP3 system.) Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
RE: Session vars not being retained. Any ideas why?
Is your site available to me? Could it be made available to me? Perhaps it is something with your browser. Andy -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Monday, September 01, 2003 9:46 AM To: CF-Talk Subject: RE: Session vars not being retained. Any ideas why? I'm sorry Adrian, thanks for your help, but I don't understand. What does link the id and token to your browser mean exactly? It doesn't mention this at all in Ben and Nate's CFWACK book. As I read their discussion of session vars, the placing of any cookies and retaining of session identity is handled automatically by CFMX, and only fails if the user is so paranoid she's denied all cookies from the site. Is that not the correct interpretation? And when you say client vars will do this, what do you mean - that they'll keep track of user sessions without cookies or id and token? Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: Tuesday, 2 September 2003 12:37 AM To: CF-Talk Subject: RE: Session vars not being retained. Any ideas why? For session vars to work you need to link the id and token to your browser, client vars will do this. -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: 01 September 2003 15:33 To: CF-Talk Subject: RE: Session vars not being retained. Any ideas why? Craig, you think enabling client variables would make it remember session variables??? Heck I'll try anything - this is driving me up the wall - but I'm not sure why that would help. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED] Sent: Tuesday, 2 September 2003 12:24 AM To: CF-Talk Subject: RE: Session vars not being retained. Any ideas why? Try adding clientmanagement=Yes And possibly the following deleteing as applicable clientstorage=cookie/dsn/registry -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: 01 September 2003 15:21 To: CF-Talk Subject: Session vars not being retained. Any ideas why? My site is forgetting the session variables between pages, and I'm not sure why. It retains the login info when I use the CFID/CFTOKEN in the URL, but if not, the new page comes up and I'm logged out again. (sigh!) So far, I've explored the possibility that I've got the cfapplication tag wrong (I've pasted it below for you to see) or that my browser has cookies turned off (it doesn't). I've checked that the logout routine isn't getting cfincluded accidentally. I'm definitely getting logged in from the login routine, because on the action page following the login form, I've put a cfdump that displays the session scope, and the login info is shown there. But when I go to any other page on the site, the session scope doesn't include the login info. Is there anywhere else I ought to look? Here's my cfapplication tag, which is in the topmost Application.cfm on the site: Cfapplication name=infomanagement sessionmanagement=yes sessiontimeout=#createTimeSpan(0,0,20,0)# setclientcookies=yes setdomaincookies=yes (We're using CFMX6.0 on a Win2000 SP3 system.) Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
cfmx 6.1 cfchart
oi CF-Talk,!! I am dropping a cfchart tag on a pagebut absolutely Nothing is showing up. not even a red X or anything any suggestions as to why this is? Crit -- --- [This E-mail scanned for viruses by Declude Virus] ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: Session vars not being retained. Any ideas why?
AH! I think we've found the problem. I checked with the sysadmin and he had session vars turned off in the CFMX administration console. That would kind of put the kybosh on any session-based authentication wouldn't it. Now I'll have another go at it and see where we go from here. Thanks for your offer Andy, but I'll work on the site again now and if it's still not working I might take you up on it. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. (sheesh! Never occurred to me that we might have session vars turned off in the administrator!!) -Original Message- From: Andy Ousterhout [mailto:[EMAIL PROTECTED] Sent: Tuesday, 2 September 2003 12:49 AM To: CF-Talk Subject: RE: Session vars not being retained. Any ideas why? Is your site available to me? Could it be made available to me? Perhaps it is something with your browser. Andy ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
RE: Session vars not being retained. Any ideas why?
np -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Monday, September 01, 2003 9:55 AM To: CF-Talk Subject: RE: Session vars not being retained. Any ideas why? AH! I think we've found the problem. I checked with the sysadmin and he had session vars turned off in the CFMX administration console. That would kind of put the kybosh on any session-based authentication wouldn't it. Now I'll have another go at it and see where we go from here. Thanks for your offer Andy, but I'll work on the site again now and if it's still not working I might take you up on it. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. (sheesh! Never occurred to me that we might have session vars turned off in the administrator!!) -Original Message- From: Andy Ousterhout [mailto:[EMAIL PROTECTED] Sent: Tuesday, 2 September 2003 12:49 AM To: CF-Talk Subject: RE: Session vars not being retained. Any ideas why? Is your site available to me? Could it be made available to me? Perhaps it is something with your browser. Andy ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
Re: cfmx 6.1 cfchart
The JVM that ships with RedSky does not work with CFCHART. You have to download and install an older JVM from SUN. See this forum post which explains it all: http://webforums.macromedia.com/coldfusion/messageview.cfm?catid=143threadid=671390 Brook Davies At 10:53 AM 9/1/2003 -0400, you wrote: oi CF-Talk,!! I am dropping a cfchart tag on a pagebut absolutely Nothing is showing up. not even a red X or anything any suggestions as to why this is? Crit -- --- [This E-mail scanned for viruses by Declude Virus] ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: cfmx 6.1 cfchart
oi Brook!! cheers mate. I'll have a gander. Crit -- Monday, September 1, 2003, 12:05:23 PM, you wrote: BD The JVM that ships with RedSky does not work with CFCHART. You have to BD download and install an older JVM from SUN. See this forum post which BD explains it all: BD http://webforums.macromedia.com/coldfusion/messageview.cfm?catid=143threadid=671390 BD Brook Davies BD At 10:53 AM 9/1/2003 -0400, you wrote: oi CF-Talk,!! I am dropping a cfchart tag on a pagebut absolutely Nothing is showing up. not even a red X or anything any suggestions as to why this is? Crit -- --- [This E-mail scanned for viruses by Declude Virus] BD ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: Okay, what's the first part of those alphabetical navigation strips?
Here it is not in pseudo-code: cfquery datasource=#request.dsn# name=qGetAlphaIndex SELECT DISTINCT(UPPER(Left(column_name,1))) AS First_Letter FROM table_name ORDER BY First_Letter ASC /cfquery This version shows only active letters:br cfoutput query=qGetAlphaIndex cfif ReFindNoCase([a-zA-Z],First_Letter) a href=mypage.cfm?L=#First_Letter##First_Letter#/a cfif qGetAlphaIndex.CurrentRow NEQ qGetAlphaIndex.RecordCount | /cfif /cfif /cfoutput brbr This version shows the entire alphabet with the active letters hyperlinked:br cfset i=65 cfoutput cfloop condition=i LTE 90 cfif ListFind(valuelist(qGetAlphaIndex.First_Letter),chr(i)) a href=mypage.cfm?L=#chr(i)##chr(i)#/a cfelse #chr(i)# /cfif cfif i NEQ 90 | /cfif cfset i=i+1 /cfloop /cfoutput Joshua Miller Head Programmer / IT Manager Garrison Enterprises Inc. www.garrisonenterprises.net [EMAIL PROTECTED] (704) 569-0801 ext. 254 * Any views expressed in this message are those of the individual sender, except where the sender states them to be the views of Garrison Enterprises Inc. This e-mail is intended only for the individual or entity to which it is addressed and contains information that is private and confidential. If you are not the intended recipient you are hereby notified that any dissemination, distribution or copying is strictly prohibited. If you have received this e-mail in error please delete it immediately and advise us by return e-mail to [EMAIL PROTECTED] * -Original Message- From: Tim Blair [mailto:[EMAIL PROTECTED] Sent: Monday, September 01, 2003 8:02 AM To: CF-Talk Subject: RE: Okay, what's the first part of those alphabetical navigation strips? Okay, I've got almost ALL the parts in place. But there's ONE LAST part that I'm having trouble with. It's the expression to check for the existance of an entry. I posted some pseudo-code the other day of how you'd accomplish this, but don't know if it came through. Repost... !--- get linked letters from DB --- query name=letters SELECT DISTINCT(Left(your_column_name,1)) AS alpha FROM your_table_name WHERE your_clause /query !--- get letters that need links in to a list --- set linked = valuelist(letters.alpha) !--- loop through a to z --- loop from=a to=z index=letter !--- check current letter is in list of linked ones --- if listfind(linked, letter) !--- letter that needs linking --- a href=...#letter#/a else !--- no link --- #letter# /if /loop Tim. --- RAWNET LTD - Internet, New Media and ebusiness Gurus. Visit our new website at http://www.rawnet.com for more information about our company, or call us free anytime on 0800 294 24 24. --- Tim Blair Web Application Engineer, Rawnet Limited Direct Phone : +44 (0) 1344 393 441 Switchboard : +44 (0) 1344 393 040 --- This message may contain information which is legally privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any unauthorised disclosure, copying, distribution or use of this information is strictly prohibited. Such notification notwithstanding, any comments, opinions, information or conclusions expressed in this message are those of the originator, not of rawnet limited, unless otherwise explicitly and independently indicated by an authorised representative of rawnet limited. --- ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: Session vars not being retained. Any ideas why?
Well I still have the problem with session vars not being carried across from one page to another. I verified that the server has session vars turned on and the timeouts are still the installation defaults. I have set up 3 pages, containing nothing but links to each other, and a cfdump of the session struct. The pages are: http://bluegrass.org.au/1.cfm and 2.cfm and 3.cfm. On the first page, 1.cfm I have also put the following code to simulate setting the session vars when someone logs in: cfset session.auth = StructNew() cfset session.auth.UserLastName = 'Kear' cfset session.auth.UserEmail = '[EMAIL PROTECTED]' When you look at 1.cfm, you can see the auth struct in the session CFDUMP right underneath it. Yet when you go to 2.cfm right after it, the auth struct is gone. Can someone else have a look at these pages for me too please make sure it's nothing to do with my browser settings? Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Monday, September 01, 2003 9:55 AM To: CF-Talk Subject: RE: Session vars not being retained. Any ideas why? AH! I think we've found the problem. I checked with the sysadmin and he had session vars turned off in the CFMX administration console. That would kind of put the kybosh on any session-based authentication wouldn't it. Now I'll have another go at it and see where we go from here. Thanks for your offer Andy, but I'll work on the site again now and if it's still not working I might take you up on it. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. (sheesh! Never occurred to me that we might have session vars turned off in the administrator!!) -Original Message- From: Andy Ousterhout [mailto:[EMAIL PROTECTED] Sent: Tuesday, 2 September 2003 12:49 AM To: CF-Talk Subject: RE: Session vars not being retained. Any ideas why? Is your site available to me? Could it be made available to me? Perhaps it is something with your browser. Andy ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
Filter file type upload
Have you tried restricting the MIME type in the CFFILE upload tag itself? This would be caught via cftry/cfcatch? If so... What are the error types thrown? - mga ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
RE: Session vars not being retained. Any ideas why?
Here's another thought. ... when I first talked to my sysadmin he said he didn't have session vars enabled in the CF administrator. Then when I asked again a short while later to confirm, he said they were definitely enabled. (I got him to tell me the settings he had and they were the installation defaults). If he's actually turned them on between times, should he restart the CF Server too or does the administrator enable them immediately when you click update changes? Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Tuesday, 2 September 2003 4:06 AM To: CF-Talk Subject: RE: Session vars not being retained. Any ideas why? Well I still have the problem with session vars not being carried across from one page to another. I verified that the server has session vars turned on and the timeouts are still the installation defaults. I have set up 3 pages, containing nothing but links to each other, and a cfdump of the session struct. The pages are: http://bluegrass.org.au/1.cfm and 2.cfm and 3.cfm. On the first page, 1.cfm I have also put the following code to simulate setting the session vars when someone logs in: cfset session.auth = StructNew() cfset session.auth.UserLastName = 'Kear' cfset session.auth.UserEmail = '[EMAIL PROTECTED]' When you look at 1.cfm, you can see the auth struct in the session CFDUMP right underneath it. Yet when you go to 2.cfm right after it, the auth struct is gone. Can someone else have a look at these pages for me too please make sure it's nothing to do with my browser settings? Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Monday, September 01, 2003 9:55 AM To: CF-Talk Subject: RE: Session vars not being retained. Any ideas why? AH! I think we've found the problem. I checked with the sysadmin and he had session vars turned off in the CFMX administration console. That would kind of put the kybosh on any session-based authentication wouldn't it. Now I'll have another go at it and see where we go from here. Thanks for your offer Andy, but I'll work on the site again now and if it's still not working I might take you up on it. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. (sheesh! Never occurred to me that we might have session vars turned off in the administrator!!) ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
RE: Session vars not being retained. Any ideas why?
Mike, Sessions are defintly not sticking. If you simply reload page 1, you get a new CFID each time. However, if you pass the token that is shown, like this: http://bluegrass.org.au/1.cfm?CFID=275755CFTOKEN=84747459, and then reload the page, the session does stick. So the problem is apparently that the session is not planting the cookie that track the session between requests. So, you could just append the #urlToken# to all of your anchors and it should work. This would also negate the need to have cookies enabled in the browser. Why it is not planing the cookies I do not know... Brook At 04:31 AM 9/2/2003 +1000, you wrote: Here's another thought. ... when I first talked to my sysadmin he said he didn't have session vars enabled in the CF administrator. Then when I asked again a short while later to confirm, he said they were definitely enabled. (I got him to tell me the settings he had and they were the installation defaults). If he's actually turned them on between times, should he restart the CF Server too or does the administrator enable them immediately when you click update changes? Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Tuesday, 2 September 2003 4:06 AM To: CF-Talk Subject: RE: Session vars not being retained. Any ideas why? Well I still have the problem with session vars not being carried across from one page to another. I verified that the server has session vars turned on and the timeouts are still the installation defaults. I have set up 3 pages, containing nothing but links to each other, and a cfdump of the session struct. The pages are: http://bluegrass.org.au/1.cfm and 2.cfm and 3.cfm. On the first page, 1.cfm I have also put the following code to simulate setting the session vars when someone logs in: cfset session.auth = StructNew() cfset session.auth.UserLastName = 'Kear' cfset session.auth.UserEmail = '[EMAIL PROTECTED]' When you look at 1.cfm, you can see the auth struct in the session CFDUMP right underneath it. Yet when you go to 2.cfm right after it, the auth struct is gone. Can someone else have a look at these pages for me too please make sure it's nothing to do with my browser settings? Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Monday, September 01, 2003 9:55 AM To: CF-Talk Subject: RE: Session vars not being retained. Any ideas why? AH! I think we've found the problem. I checked with the sysadmin and he had session vars turned off in the CFMX administration console. That would kind of put the kybosh on any session-based authentication wouldn't it. Now I'll have another go at it and see where we go from here. Thanks for your offer Andy, but I'll work on the site again now and if it's still not working I might take you up on it. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. (sheesh! Never occurred to me that we might have session vars turned off in the administrator!!) ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
Re: Session vars not being retained. Any ideas why?
This is a bug in 6.0 that was fixed it 6.1. If you set domain cookies, CF set's a new cfif and cftoken cookie every request. -- mailto:[EMAIL PROTECTED] Monday, September 1, 2003, 10:21:02 AM, you wrote: MK My site is forgetting the session variables between pages, and I'm not sure MK why. It retains the login info when I use the CFID/CFTOKEN in the URL, but MK if not, the new page comes up and I'm logged out again. (sigh!) MK So far, I've explored the possibility that I've got the cfapplication tag MK wrong (I've pasted it below for you to see) or that my browser has cookies MK turned off (it doesn't). I've checked that the logout routine isn't getting MK cfincluded accidentally. MK I'm definitely getting logged in from the login routine, because on the MK action page following the login form, I've put a cfdump that displays the MK session scope, and the login info is shown there. But when I go to any MK other page on the site, the session scope doesn't include the login info. MK Is there anywhere else I ought to look? MK Here's my cfapplication tag, which is in the topmost Application.cfm on the MK site: MK Cfapplication name=infomanagement MK sessionmanagement=yes MK sessiontimeout=#createTimeSpan(0,0,20,0)# MK setclientcookies=yes MK setdomaincookies=yes MK (We're using CFMX6.0 on a Win2000 SP3 system.) MK Cheers, MK Michael Kear MK Windsor, NSW, Australia MK AFP Webworks. MK ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
RE: Filter file type upload
Mauricio said, This would be caught via cftry/cfcatch? If so... What are the error types thrown? I laid out the whole process several days ago on the MM forums. This should fix you up: http://webforums.macromedia.com/coldfusion/messageview.cfm?catid=7threa did=677792#2441397 Cheers, Matt Robertson [EMAIL PROTECTED] MSB Designs, Inc. http://mysecretbase.com ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
cfmx 6.1 cfchart
Also note that if you use the NAME attribute in CFCHART, the display is suppressed. The NAME attribute is primarily intended for use with CFFILE to write the chart to a file. So if you want your chart to be drawn on the fly and render in the browser, just be sure not to use the NAME attribute. ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Re: cfmx 6.1 cfchart
oi Stephen!! aye. that was it crit -- Monday, September 1, 2003, 4:29:22 PM, you wrote: SL Also note that if you use the NAME attribute in CFCHART, the display is suppressed. The SL NAME attribute is primarily intended for use with CFFILE to write the chart to a file. So if you SL want your chart to be drawn on the fly and render in the browser, just be sure not to use the SL NAME attribute. SL ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: cfmx 6.1 cfchart
The NAME attribute is also very useful to stream back the chart within the same request. After calling CFCHART with a NAME specified you can use CFCONTENT to send back the chart itself, as opposed to HTML that links to the chart. This is very useful for charting within Flash applications using loadMovie(). Sam -- Blog: http://www.rewindlife.com Chart: http://www.blinex.com/products/charting -- -Original Message- From: Stephen Lapointe [mailto:[EMAIL PROTECTED] Sent: Monday, September 01, 2003 4:29 PM To: CF-Talk Subject: cfmx 6.1 cfchart Also note that if you use the NAME attribute in CFCHART, the display is suppressed. The NAME attribute is primarily intended for use with CFFILE to write the chart to a file. So if you want your chart to be drawn on the fly and render in the browser, just be sure not to use the NAME attribute. ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm