Re: Compensating for Server Time
cf-talk wrote: Does that work in SQL 2000? I don't know. It works in Oracle and PostgreSQL. If there was a way to do this all in one single shot via SQL as it seems you have a solution for below I'd love to try it out.Unfortunately I can't seem to make the example you gave below work in SQL 2000. File an enhancement request :-) Jochem -- Who needs virtual reality if you can just dream? - Loesje [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Compensating for Server Time
Tim wrote: If you want to it directly from SQL you can create a function and call that from your sql query create function localtime (@gmtdate datetime, @timezoneoffset int) returns datetime As begin declare @localtime datetime select @localtime = dateadd(hh, -1 * @timezoneoffset, @gmtdate) return @localtime end Then it can be called like this select localtime(getdate(), 3) But that requires you to know the time offset instead of the timezone. And the offset changes with DST. Jochem -- Who needs virtual reality if you can just dream? - Loesje [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: SQL Server and CONTAINS
I think you can search with the noise-words as well, if you quote the whole search string (wrap it in double-quotes). /H. - Hugo AhleniusE-Mail: [EMAIL PROTECTED] Project Officer Phone:+46 8 230460 UNEP GRID-ArendalFax:+46 8 230441 Stockholm OfficeMobile:+46 733 467111 WWW: http://www.grida.no - | -Original Message- | From: Bryan Stevenson [mailto:[EMAIL PROTECTED] | Sent: Saturday, November 15, 2003 00:19 | To: CF-Talk | Subject: Re: SQL Server and CONTAINS | | | Dave, | | because I want to search on the valid entered keywords and | ignore the noise words ;-) | | I found the solution: | 1) found the SQL Server noise words file | 2) made a list out of them | 3) strip any of those words out of the entered keywords | 4) make sure there are still keywords | 5) run query | 6) crack beer...it's Friday ;-) | | Thanks | | Bryan Stevenson B.Comm. | VP Director of E-Commerce Development | Electric Edge Systems Group Inc. | t. 250.920.8830 | e. [EMAIL PROTECTED] ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Inserting rows into a 2d array
You'll want to use ArrayInsertAt for this: http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/functia7.htm - Calvin - Original Message - From: DougF To: CF-Talk Sent: Sunday, November 16, 2003 11:06 PM Subject: Inserting rows into a 2d array Hi all, Need some help with inserting rows into a 2d array. As an example I populate an array with values cityName and LocationID from a query. I then need to insert a new ROW between row 4 and row 5. In essence shifting rows 5 and below down one row. I'd thought of appending to the array, then using ArraySwap to move all elements down one row (need to keep elements in order), then using ArrayInsertAt to populate the new row at row 5. This seems like such an inefficient way. Any suggestions? Thanks, Doug [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Oracle CLOBS SQL
Chhers for the pointers all... running 8i so looks like I am out of luck but thanks anyway :-) -Original Message- From: I-Lin Kuo [mailto:[EMAIL PROTECTED] Sent: Fri 14/11/2003 19:07 To: CF-Talk Cc: Subject: Re: Oracle CLOBS SQL Thanks for alerting me to this. According to documentation, it's a new feature in 10g. Two words of warning on searching CLOBs: - CLOBs aren't made to be searched or manipulated or concatenated, but Oracle usually converts a CLOB to a string to allow this. - the CLOB-string conversion usually only takes the first 4000 bytes. --- Deanna Schneider [EMAIL PROTECTED] wrote: Here's a quick tutorial on regular expressions in Oracle, but I'm not sure when they became supported (I don't think they're available in 8i): http://otn.oracle.com/books/pdfs/gennick_ch01.pdf - Original Message - From: Jochem van Dieten [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, November 14, 2003 11:44 AM Subject: Re: Oracle CLOBS SQL [EMAIL PROTECTED] wrote: The clobs contain be free text with no HTML allowed.The links that may be in the clob will just be plain text and may not actually contain http://. It might just be www.domain.com or even domain.com, that's why I was thinking that I would need regexp, but was wondering aloud whether SQL could do something like that SQL doesn't do normal regex. But there is a functionality in SQL that combines parts from LIKE and regex, named SIMILAR TO. You might want to check the Oracle docs to see if it is supported. The pattern would look something like: SELECT * FROM table WHERE whatever SIMILAR TO '%[abcdefghijklmnopqrstuvwxyz]+.(com|org|net)%' Jochem -- Who needs virtual reality if you can just dream? - Loesje _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: HELP - Logout (sessionDelete, StructClear)?
I'm not sure why you have this behaviour. I have two remarks on your code: 1. The sessiontimeout/applicationtimeout in cfapplication take a timeout as a value, NOT yes/no. 2. What I do to easily clear session info, is creating the variables in a structure. Then you can use structDelete on the session and delete the entire structure. You can add session info later and you don't have to change the logout code. in your application.cfm, you would change the code to cfapplication name=Inside clientmanagement=Yes sessionmanagement=Yes sessiontimeout=#CreateTimeOut(0,2,0,0)# applicationtimeout=#CreateTimeOut(2,0,0,0)# cflock scope=session timeout=20 CFPARAM name=session.info DEFAULT=#structNew()# CFPARAM name=session.info.LoggedIn DEFAULT=FALSE /cflock In your login, replace session by session.info And logout becomes cflock scope=session timeout=20 CFSET StructDelete(Session, info) /cflock cflocation url="" addtoken=no A good way to track what's happening in your session is to simply dump it cfdump var=#session#. You can see if some vars don't get deleted. Pascal -Original Message- From: Michael Grove [mailto:[EMAIL PROTECTED] Sent: zondag 16 november 2003 16:42 To: CF-Talk Subject: HELP - Logout (sessionDelete, StructClear)? I have written an application that allows a user to log in. When the user logs in I run the following code... I first check to see if the user exisits. If so... CFIF CheckUser.RecordCount GREATER THAN 0 CFSET Session.LoggedIn = True CFELSE CFSET Session.LoggedIn = False /cfif Then I set some session variables CFIF Session.LoggedIn EQ True CFSET Session.AuthUserID = Trim(CheckUser.UserID) CFSET Session.AuthMemberID = Trim(CheckUser.member_id) CFSET Session.AuthAccountTypeSeller = Trim(CheckUser.accounttypeseller) CFSET Session.AuthAccountTypeBidder = Trim(CheckUser.accounttypeBidder) SCRIPT LANGUAGE=_javascript_ self.location ='https://foo'; /SCRIPT CFELSE return them to the home page /cfif This works fine. The problem I am having is that when they press logout. It does not really logo them out. Here is my logout code... CFSET StructDelete(Session, LoggedIn) CFSET StructDelete(Session, AuthUserID) CFSET StructDelete(Session, MemberID) CFSET StructDelete(Session, AuthAccountTypeBidder) CFSET StructDelete(Session, AuthAccountTypeSeller) CFIF isDefined(session.AuthUserID) Log Off Failed CFELSE Logging Off. cflocation url="" addtoken=no /cfif It does send them back to the home page, but if I log in with a different ID, I am still accessing the site with the account I just logged out with. HELP...I have tried everything I could think of and it is still not logging them out. I have an application file running with this... cfset hrsBeforeTimeout = 2 cfapplication name=Inside clientmanagement=Yes sessionmanagement=Yes sessiontimeout=Yes applicationtimeout=Yes CFPARAM name=session.LoggedIn DEFAULT=FALSE cfparam name=BidPlaced default=0 Not sure if that will make a difference. Thanks _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Very vague error message
Yeah the whole page is basically a cfscript tag :) Ill have another look at it later, I do have some switch + case statements, ill ensure the syntax is correct and get back to you all. Thanks for all the replies :) On 17/11/03 3:17 am, Michael S. Hodgdon [EMAIL PROTECTED] wrote: I have never come across this in a ColdFusion.One way you can try to pinpoint the error is to place cfabort statement at say, line 50. Run your code and if you don't get an error, place the cfabort on line 100 and run the code.Keep doing this until you get closer to the error. Do you have any idea where it could be?It sounds as though ColdFusion is saying do not place a dynamic variable in this evaluating statement.I can't think of a place where this would be so.Are you using cfscript in this page anywhere?If so, if you are using a case statement that reads case constant, this may be the culprit. Hope that helps. -Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED] Sent: Sunday, November 16, 2003 10:41 AM To: CF-Talk Subject: Very vague error message Hello I have a rather large page of code which ive been working on, and I get the following error: This _expression_ must have a constant value. It doesn¹t give me a line number, or a code snippet, just that text. As I said I have a lot of code (1000+ lines) and I cant quite tie down the problem... Has anyone come across this before? Thanks, Ryan [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Complex Data Types in CF Websevice
Hi All, I'm having problems trying to consume a CFMX 6.1 Struct with a .NET SOAP Client. Here is my very simple cfc: cfcomponent cffunction name=getMessage access=remote returntype=string output=no cfargument name=name type=string required=yes cfreturn This is a simple CF Web service you passed arguments.name as a paramter. /cffunction cffunction name=getStruct access=remote returntype=struct output=no cfset var pubvisit = structNew() cfset pubvisit.beer = lots cfset pubvisit.blart = true cfreturn pubvisit /cffunction /cfcomponent Both of the methods work fine and I'm getting data back to my .NET SOAP Client its just that I cannot convert the returned structure content to anything useful. The problem is that in the WSDL generated by CFMX it defines a custom type Map. I have tried casting this as a hashtable,Idictionary and a host of other things in C# but it doesn't work. Does anybody know what this Map object is and how I can decode it? Adam [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CF Webservice Flash MX
An alternative would be to have all the clients poll the server. Not exactly what you asked for but it may work for you. Ade -Original Message- From: Taco Fleur [mailto:[EMAIL PROTECTED] Sent: 15 November 2003 21:23 To: CF-Talk Subject: CF Webservice Flash MX Is it possible to for example have a Flash client talk to a CF Webservice (yes) and have the CF Webservice talk back to multiple Flash MX clients (?) Example; [Flash client 1] (send data) - [Web Service] [Web Service] (sends data) - [Flash client 2] and [Flash client 3] and [Flash client 4] and [Flash client etc.] If it's possible can anyone provide any links to tutorials, code samples etc.? (I can think of some things that would be problematic i.e. proxies) TIA Taco Fleur 0421 851 786 Tell me and I will forget Show me and I will remember Teach me and I will learn _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CF Webservice Flash MX
Is it possible to for example have a Flash client talk to a CF Webservice (yes) and have the CF Webservice talk back to multiple Flash MX clients (?) Basically, no.You'd have to use a socket server or similar, or check out Flash Communication Server : http://short.badpen.com/?6XWW9J69 or http://short.badpen.com/?WOEX37UC 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. --- [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: SESConverter
The SESdummyExtension mentioned in the fusedoc of SESconverter is an optional file extension you can use on your URLs. eg if you use xyz as the SESdummyextension then you can publish: http://www.com/index.cfm/fuseaction/something.xyz The xyz will get removed during the conversion, and the equivalent normal URL would be: http://www.com/index.cfm?fuseaction=something Some people use a dummy file on the end, rather than just an extension: http://www.com/index.cfm/fuseaction/something/dummyfile.abc In this case SES converter treats this as: http://www.com/index.cfm?fuseaction=somethingdummyfile.abc And since there is no value asigned to the url variable dummyfile.abc then it will not get set in the URL scope. In this case SESconverter is merely duplicating what would happen with a normal URL. In neither case do you need to create any files. HTH Bert PS if better reporting is one of your goals then make sure it will actually get logged in your weblogs - CF5 with IIS won't log the SES urls, but CFMX will... I'm not sure about other webservers. PPS I would recommend using a UDF to format any URLs since this will allow easy switching if you need to change between SES and normal... - Original Message - From: CF Lists To: CF-Talk Sent: Friday, November 14, 2003 1:12 PM Subject: SESConverter I've been reading about the sesConverter at Fusium.com snip I didn't understand the reason/value of having the dummy filename on the url. What is this dummy file? Do you actually create a file with searchable content or is it just so the stats app will have something to display? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Very vague error message
1000+ lines of code in a single CF template seems a bit excessive for starters. That depends on several things For all we know it could be 500 lines of code and 500 lines of remarks and spacing I've seen some templates which have about 300 lines of code, but the whole template is over 1,200 lines total... I tend to be space heavy on my code for readability, does that mean it's excessive? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Very vague error message
Ok, tracked it down to the switch statement: switch(type) { case request.AUTH_ACL: result = u_access[j][key]; case request.AUTH_MOD: result = result OR u_access[j]['auth_mod']; case request.AUTH_ADMIN: result = result OR is_admin; break; } On reading the cf reference I see that in a switch statement: ³Each constant value must be a constant (that is, not a variable, a function, or other _expression_).² As you can see each of my case¹s is a variable which is the problem... Is there any way of using the variable but not getting the error? On 17/11/03 3:17 am, Michael S. Hodgdon [EMAIL PROTECTED] wrote: I have never come across this in a ColdFusion.One way you can try to pinpoint the error is to place cfabort statement at say, line 50. Run your code and if you don't get an error, place the cfabort on line 100 and run the code.Keep doing this until you get closer to the error. Do you have any idea where it could be?It sounds as though ColdFusion is saying do not place a dynamic variable in this evaluating statement.I can't think of a place where this would be so.Are you using cfscript in this page anywhere?If so, if you are using a case statement that reads case constant, this may be the culprit. Hope that helps. -Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED] Sent: Sunday, November 16, 2003 10:41 AM To: CF-Talk Subject: Very vague error message Hello I have a rather large page of code which ive been working on, and I get the following error: This _expression_ must have a constant value. It doesn¹t give me a line number, or a code snippet, just that text. As I said I have a lot of code (1000+ lines) and I cant quite tie down the problem... Has anyone come across this before? Thanks, Ryan [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Very vague error message
if(type IS request.AUTH_ACL){ result = u_access[j][key] OR u_access[j]['auth_mod'] OR is_admin; } else if(type IS request.AUTH_MOD){ result = result OR u_access[j]['auth_mod'] OR is_admin; } else if(type IS request.AUTH_ADMIN){ result = result OR is_admin; } -Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED] Sent: maandag 17 november 2003 13:07 To: CF-Talk Subject: Re: Very vague error message Ok, tracked it down to the switch statement: switch(type) { case request.AUTH_ACL: result = u_access[j][key]; case request.AUTH_MOD: result = result OR u_access[j]['auth_mod']; case request.AUTH_ADMIN: result = result OR is_admin; break; } On reading the cf reference I see that in a switch statement: ³Each constant value must be a constant (that is, not a variable, a function, or other _expression_).² As you can see each of my case¹s is a variable which is the problem... Is there any way of using the variable but not getting the error? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Very vague error message
if() Oh, and you forgot the break; in the first 2 case statements -Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 7:07 AM To: CF-Talk Subject: Re: Very vague error message Ok, tracked it down to the switch statement: switch(type) { case request.AUTH_ACL: result = u_access[j][key]; case request.AUTH_MOD: result = result OR u_access[j]['auth_mod']; case request.AUTH_ADMIN: result = result OR is_admin; break; } On reading the cf reference I see that in a switch statement: ³Each constant value must be a constant (that is, not a variable, a function, or other _expression_).² As you can see each of my case¹s is a variable which is the problem... Is there any way of using the variable but not getting the error? On 17/11/03 3:17 am, Michael S. Hodgdon [EMAIL PROTECTED] wrote: I have never come across this in a ColdFusion.One way you can try to pinpoint the error is to place cfabort statement at say, line 50. Run your code and if you don't get an error, place the cfabort on line 100 and run the code.Keep doing this until you get closer to the error. Do you have any idea where it could be?It sounds as though ColdFusion is saying do not place a dynamic variable in this evaluating statement. I can't think of a place where this would be so.Are you using cfscript in this page anywhere?If so, if you are using a case statement that reads case constant, this may be the culprit. Hope that helps. -Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED] Sent: Sunday, November 16, 2003 10:41 AM To: CF-Talk Subject: Very vague error message Hello I have a rather large page of code which ive been working on, and I get the following error: This _expression_ must have a constant value. It doesn¹t give me a line number, or a code snippet, just that text. As I said I have a lot of code (1000+ lines) and I cant quite tie down the problem... Has anyone come across this before? Thanks, Ryan _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Very vague error message
Looking at his code, I think it was intentional -Original Message- From: Philip Arnold [mailto:[EMAIL PROTECTED] Sent: maandag 17 november 2003 13:21 To: CF-Talk Subject: RE: Very vague error message if() Oh, and you forgot the break; in the first 2 case statements [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Very vague error message
Lol, should have thought of that, I was just thinking there was a clever solution :) On 17/11/03 12:20 pm, Pascal Peters [EMAIL PROTECTED] wrote: if(type IS request.AUTH_ACL){ result = u_access[j][key] OR u_access[j]['auth_mod'] OR is_admin; } else if(type IS request.AUTH_MOD){ result = result OR u_access[j]['auth_mod'] OR is_admin; } else if(type IS request.AUTH_ADMIN){ result = result OR is_admin; } -Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED] Sent: maandag 17 november 2003 13:07 To: CF-Talk Subject: Re: Very vague error message Ok, tracked it down to the switch statement: switch(type) { case request.AUTH_ACL: result = u_access[j][key]; case request.AUTH_MOD: result = result OR u_access[j]['auth_mod']; case request.AUTH_ADMIN: result = result OR is_admin; break; } On reading the cf reference I see that in a switch statement: ³Each constant value must be a constant (that is, not a variable, a function, or other _expression_).² As you can see each of my case¹s is a variable which is the problem... Is there any way of using the variable but not getting the error? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
re: Using cfftp for treeview structure
Hi, I've used cfdirectory and cffile to create a treeview for my app and it works great. Now I require the use of cfftp to display directories/files on a server but would also like the similar functionality of cfdirectory and cffile. I'm not sure how to go about this? When I click on a directory link how do I drilldown into that directory? Do I need to alsways reconnect via cfftp action=""> I'm not understanding something here. This is all I have so far. CFFTP ACTION=""> USERNAME=username CONNECTION=ftpconnect PASSWORD=password SERVER=server_ip STOPONERROR=Yes CFFTP ACTION=""> STOPONERROR=Yes NAME=ListFiles DIRECTORY=/temp CONNECTION=ftpconnect table cellpadding=4 cellspacing=0 border=0 width=360 tr td valign=top CFOUTPUT QUERY=ListFiles cfif attributes IS Normal cfset icon_image = file.gif /cfif cfif attributes IS Directory cfset icon_image = folder.gif /cfif img valign=middle src="" border=0#name#br /CFOUTPUT /td /tr /table CFFTP ACTION=""> CONNECTION=ftpconnect STOPONERROR=Yes [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Amazon.com debugging
Greetings, I find myself trying to debug Amazon.com web service calls frequently, so I wrote a little function to dump the SOAP package that Amazon.com sends me. I thought I'd post it here so others could use it and/or give me feedback on it.It's pretty basic, but has been a huge help while developing apps based on Amazon's web services.I'm certainly open to criticism.I based this code on Chris Benson's DumpVar function at CFLIB.ORG. cfscript function dumpAmazonDetails( myObj ) { var counter = 1; var currItem = ; var currObj = myObj; var StartString = ; var EndString = /table#chr(10)#; if ( isArray( currObj ) ) { if ( isSimpleValue(currObj[1]) ) { return ArrayToList(currObj); } else { StartString = #chr(10)#table bordercolor='##008000' border='1' cellspacing='0' cellpadding='1'#chr(10)#; for ( counter = 1; counter LTE ArrayLen(currObj); counter = counter + 1 ) { StartString = StartString tr#chr(10)#td bgcolor='##cceecc' valign='top'#counter#/tdtd#dumpAmazonDetails(currObj[counter])#/td#ch r(10)#/tr#chr(10)#; } return StartString EndString; } } else if ( isObject( currObj ) ) { StartString = #chr(10)#table bordercolor='blue' border='1' cellspacing='0' cellpadding='1'#chr(10)#; for ( currItem in currObj ) { if ( currItem NEQ TypeDesc ) { if ( structKeyExists( currObj, #currItem# ) And Len(Trim(Evaluate(currObj.get#currItem#( NEQ 0 ) { StartString = StartString tr#chr(10)#td bgcolor='##ee' valign='top'#currItem#/td#chr(10)#td#dumpAmazonDetails(Evaluate(currOb j.get#currItem#()))#/td#chr(10)#/tr#chr(10)#; } } } return StartString EndString; } else if ( isSimpleValue( currObj ) ) { return currObj; } else { return ; } } /cfscript Ryan Hagan ph: 540-731-3588 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Very vague error message
But, without the break; in the case, this doesn't do the same thing If you want to do EXACTLY what the switch did, then you don't want the else if, but just if -Original Message- From: Pascal Peters [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 7:20 AM To: CF-Talk Subject: RE: Very vague error message if(type IS request.AUTH_ACL){ result = u_access[j][key] OR u_access[j]['auth_mod'] OR is_admin; } else if(type IS request.AUTH_MOD){ result = result OR u_access[j]['auth_mod'] OR is_admin; } else if(type IS request.AUTH_ADMIN){ result = result OR is_admin; } -Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED] Sent: maandag 17 november 2003 13:07 To: CF-Talk Subject: Re: Very vague error message Ok, tracked it down to the switch statement: switch(type) { case request.AUTH_ACL: result = u_access[j][key]; case request.AUTH_MOD: result = result OR u_access[j]['auth_mod']; case request.AUTH_ADMIN: result = result OR is_admin; break; } On reading the cf reference I see that in a switch statement: ³Each constant value must be a constant (that is, not a variable, a function, or other _expression_).² As you can see each of my case¹s is a variable which is the problem... Is there any way of using the variable but not getting the error? _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Very vague error message
If you examine my code, you see I changed the code to set result. In any case, it can't do EXACTLY what the switch did, because the switch did nothing. I suppose you can do it with if's too (if that is what he wants to do) and probably the code will even be better then. -Original Message- From: Philip Arnold [mailto:[EMAIL PROTECTED] Sent: maandag 17 november 2003 14:40 To: CF-Talk Subject: RE: Very vague error message But, without the break; in the case, this doesn't do the same thing If you want to do EXACTLY what the switch did, then you don't want the else if, but just if -Original Message- From: Pascal Peters [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 7:20 AM To: CF-Talk Subject: RE: Very vague error message if(type IS request.AUTH_ACL){ result = u_access[j][key] OR u_access[j]['auth_mod'] OR is_admin; } else if(type IS request.AUTH_MOD){ result = result OR u_access[j]['auth_mod'] OR is_admin; } else if(type IS request.AUTH_ADMIN){ result = result OR is_admin; } -Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED] Sent: maandag 17 november 2003 13:07 To: CF-Talk Subject: Re: Very vague error message Ok, tracked it down to the switch statement: switch(type) { case request.AUTH_ACL: result = u_access[j][key]; case request.AUTH_MOD: result = result OR u_access[j]['auth_mod']; case request.AUTH_ADMIN: result = result OR is_admin; break; } On reading the cf reference I see that in a switch statement: ³Each constant value must be a constant (that is, not a variable, a function, or other _expression_).² As you can see each of my case¹s is a variable which is the problem... Is there any way of using the variable but not getting the error? _ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Blowfish Encryption in ColdFusion
Hi All, I hope someone has a potential solution.I'm working with a client.We need to pass an encrypted string to one of their vendors.The vendor specified the encryption method (Blowfish) along with the key (aka passphrase) and an initialization vector (an 8 character string). After some research I came upon 3 options for Blowfish encryption in ColdFusion: CFX_Enigma http://www.cftagstore.com/index.cfm/page/viewtag/tagId/57 .This was our first choice, and they went ahead and bought it.It only accepts Java Long Integer for the initialization vector.The tag spits up on our string.I e-mailed the developer, but haven't heard anything back. cfX_crypt from the developer exchange: http://www.macromedia.com/cfusion/exchange/index.cfm?view=sn131extID=1000552#view=sn106viewName=Exchange%20Search%20Detailsloc=en_usauthorid=35342581page=0scrollPos=0subcatid=0snid=sn106itemnumber=0extid=1003421catid=0extID=1000552. I couldn't get CF to find the tag at all.Not sure why, I've never had a problem installing custom tags before. cf_encrypt from the developer exchange: http://www.macromedia.com/cfusion/exchange/index.cfm?view=sn131extID=1000552#loc=en_usview=sn131extID=1000552viewName=ColdFusion%20Extensionavm=1 .This one we decided against because there is no way to get support.(The web-site link on the page is dead). So, my first question would be:Are there any other CF-based options? The second question would be, where do I look next?Are there any good resources out there for this type of thing? -- Jeffry Houser, Web Developer mailto:[EMAIL PROTECTED] Aaron Skye, Guitarist / Songwriter mailto:[EMAIL PROTECTED] -- AIM: Reboog711| Phone: 1-203-379-0773 -- My Books: http://www.instantcoldfusion.com Recording Music: http://www.fcfstudios.com Original Energetic Acoustic Rock: http://www.farcryfly.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Blowfish Encryption in ColdFusion
I wrote a java class that uses Blowfish encryption and use the class in my cold fusion pages via cfobject or cfscript tags. -Original Message- From: Jeffry Houser [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 9:58 AM To: CF-Talk Subject: Blowfish Encryption in ColdFusion Hi All, I hope someone has a potential solution.I'm working with a client.We need to pass an encrypted string to one of their vendors.The vendor specified the encryption method (Blowfish) along with the key (aka passphrase) and an initialization vector (an 8 character string). After some research I came upon 3 options for Blowfish encryption in ColdFusion: CFX_Enigma http://www.cftagstore.com/index.cfm/page/viewtag/tagId/57 .This was our first choice, and they went ahead and bought it.It only accepts Java Long Integer for the initialization vector.The tag spits up on our string.I e-mailed the developer, but haven't heard anything back. cfX_crypt from the developer exchange: http://www.macromedia.com/cfusion/exchange/index.cfm?view=sn131extID=10005 52#view=sn106viewName=Exchange%20Search%20Detailsloc=en_usauthorid=353425 81page=0scrollPos=0subcatid=0snid=sn106itemnumber=0extid=1003421catid =0extID=1000552. I couldn't get CF to find the tag at all.Not sure why, I've never had a problem installing custom tags before. cf_encrypt from the developer exchange: http://www.macromedia.com/cfusion/exchange/index.cfm?view=sn131extID=10005 52#loc=en_usview=sn131extID=1000552viewName=ColdFusion%20Extensionavm=1 .This one we decided against because there is no way to get support.(The web-site link on the page is dead). So, my first question would be:Are there any other CF-based options? The second question would be, where do I look next?Are there any good resources out there for this type of thing? -- Jeffry Houser, Web Developer mailto:[EMAIL PROTECTED] Aaron Skye, Guitarist / Songwriter mailto:[EMAIL PROTECTED] -- AIM: Reboog711| Phone: 1-203-379-0773 -- My Books: http://www.instantcoldfusion.com Recording Music: http://www.fcfstudios.com Original Energetic Acoustic Rock: http://www.farcryfly.com _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Blowfish Encryption in ColdFusion
So, my first question would be:Are there any other CF-based options? The second question would be, where do I look next?Are there any good resources out there for this type of thing? I've written a Rijndael CFX (C++/Delphi) tag in the past for my own use. I could probably use an adapted version of that to write a blowfish tag in a few hours if you're interested. I do have a Blowfish component installed in my development environment so it should be pretty straight forward. Write to me off list if you want to take it further. Yours Paul Vernon http://www.web-architect.co.uk http://www.web-architect.co.uk/ t: +44 (0)844 779 9797 m: +44 (0)7887 952591 f: +44 (0)844 779 9797 e: mailto:[EMAIL PROTECTED] The information contained in this e-mail and any attachment is intended only for the named addressee(s). If you are not the named addressee(s), please notify the sender immediately and do not disclose, copy or distribute the contents to any other person other than the intended addressee(s). [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Blowfish Encryption in ColdFusion
CFX_Enigma http://www.cftagstore.com/index.cfm/page/viewtag/tagId/57 .This was our first choice, and they went ahead and bought it.It only accepts Java Long Integer for the initialization vector.The tag spits up on our string.I e-mailed the developer, but haven't heard anything back. Since a Java Long Integer is (IIRC) an 8-byte int, you might try converting your initialization string to binary and handing it off that way. Just a thought. --Ben Doom [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Macromedia launches Flex (Was Royale)
Ben Forta just blogged the launch of Macromedia Flex (previously Royale). Verbatim Flex is designed to leverage existing and standards based back-ends, and ColdFusion developers will find that they can use Flex to build sophisticated n-tier applications (with ColdFusion providing the back-end processing, and Flex generating the client-side code). Theres a Breeze preso here http://www.macromedia.com/software/flex/productinfo/brz_overview/ Kind Regards - Mike Brunt Webapper Services LLC Web Site http://www.webapper.com Blog http://www.webapper.net Webapper Web Application Specialists [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Blowfish Encryption in ColdFusion
How about just writing your own Blowfish algorithm implementation? I know there are quite a few sites out there explaining in detail the ins and outs of this particular encryption method (its popular). TK -Original Message- From: Jeffry Houser [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 9:58 AM To: CF-Talk Subject: Blowfish Encryption in ColdFusion Hi All, I hope someone has a potential solution.I'm working with a client.We need to pass an encrypted string to one of their vendors.The vendor specified the encryption method (Blowfish) along with the key (aka passphrase) and an initialization vector (an 8 character string). After some research I came upon 3 options for Blowfish encryption in ColdFusion: CFX_Enigma http://www.cftagstore.com/index.cfm/page/viewtag/tagId/57 ..This was our first choice, and they went ahead and bought it.It only accepts Java Long Integer for the initialization vector.The tag spits up on our string.I e-mailed the developer, but haven't heard anything back. cfX_crypt from the developer exchange: http://www.macromedia.com/cfusion/exchange/index.cfm?view=sn131extID=10005 52#view=sn106viewName=Exchange%20Search%20Detailsloc=en_usauthorid=353425 81page=0scrollPos=0subcatid=0snid=sn106itemnumber=0extid=1003421catid =0extID=1000552. I couldn't get CF to find the tag at all.Not sure why, I've never had a problem installing custom tags before. cf_encrypt from the developer exchange: http://www.macromedia.com/cfusion/exchange/index.cfm?view=sn131extID=10005 52#loc=en_usview=sn131extID=1000552viewName=ColdFusion%20Extensionavm=1 ..This one we decided against because there is no way to get support.(The web-site link on the page is dead). So, my first question would be:Are there any other CF-based options? The second question would be, where do I look next?Are there any good resources out there for this type of thing? -- Jeffry Houser, Web Developer mailto:[EMAIL PROTECTED] Aaron Skye, Guitarist / Songwriter mailto:[EMAIL PROTECTED] -- AIM: Reboog711| Phone: 1-203-379-0773 -- My Books: http://www.instantcoldfusion.com Recording Music: http://www.fcfstudios.com Original Energetic Acoustic Rock: http://www.farcryfly.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Repost: Directory, download and cfmail attachment issues
Reposted because I just discovered on another list that posts made from the archives didn't show the contents of the post, and that might explain why my questions rarely get answered here! Hi all, We have just moved from Windows to Linux, and CF5 to MX.This move brought a whole host of unpleasant issues with it, mostly having to do with our download process. 1.Does anyone know of a really good zip tag that works with Linux?I loved Ben Forta's cfx_zip on Windows, but can't find one that robust for Linux.Specific problem:I can't find one that will unzip a specific file in an archive that has a zipped folder in it. 2.We store our design files in a non-browser-accessible directory, and then create a zip file in another temp non-accessible directory after purchase.I'm using cfdirectory to create this directory.Most of the time it works, but sometimes for no reason that is apparent to me, it doesn't.(Yeah, as I wrote this I realized that I needed to do a different thing with error handling here, so maybe next time it happens I will get a clue.)Meanwhile, does anyone know why this would happen?It can work sometimes for a particular user and not others. 3.When everything else has worked so far, and the customer's zip file has been created, they can choose download or email.I'm using CFHEADER NAME=Content-Disposition VALUE=attachment; StitcheryMall.zip CFCONTENT TYPE=application/x-zip-compressed FILE=#zipname# deletefile=yes for the download.In our testing, this worked acceptably.It does indeed download the proper file, and for all of our tests (except with Opera), the file ended with .zip.We have customers saying that they are getting .cfm or no extension.Any ideas? 4.When they select email, we use cfmail to=#user.email# from=#me# subject=Stitchery Mall Files spoolenable=no cfmailparam file=#zipname# type=application/x-zip-compressed blah blah blah /cfmail Spoolenable is no because the next thing that happens is that the file gets deleted, and if it is yes, half the time it gets deleted before the message gets sent.The problem here is also the file name.People are getting all sorts of things - and they have forwarded them to me.Generally it is a good file, but often with a .dat or no extension.Any clues here? 5.Some customers are reporting corrupted files.Could this be an issue with the zip tag, or is it more likely part of the download/email process?I suppose it could also simply be their way of reporting a bad file extension. I appreciate any help you can give me.I'm almost too busy sending out files to customers to actually fix anything! Carol Chandler [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Blowfish Encryption in ColdFusion
Unless you've got experience writing encryption code, I'd probably avoid rolling your own.This is one of those re-inventing the wheel scenarios where if your wheel isn't perfect, it won't roll properly. --Ben Doom Tom Kitta wrote: How about just writing your own Blowfish algorithm implementation? I know there are quite a few sites out there explaining in detail the ins and outs of this particular encryption method (its popular). TK -Original Message- From: Jeffry Houser [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 9:58 AM To: CF-Talk Subject: Blowfish Encryption in ColdFusion Hi All, I hope someone has a potential solution.I'm working with a client.We need to pass an encrypted string to one of their vendors.The vendor specified the encryption method (Blowfish) along with the key (aka passphrase) and an initialization vector (an 8 character string). After some research I came upon 3 options for Blowfish encryption in ColdFusion: CFX_Enigma http://www.cftagstore.com/index.cfm/page/viewtag/tagId/57 ..This was our first choice, and they went ahead and bought it.It only accepts Java Long Integer for the initialization vector.The tag spits up on our string.I e-mailed the developer, but haven't heard anything back. cfX_crypt from the developer exchange: http://www.macromedia.com/cfusion/exchange/index.cfm?view=sn131extID=10005 52#view=sn106viewName=Exchange%20Search%20Detailsloc=en_usauthorid=353425 81page=0scrollPos=0subcatid=0snid=sn106itemnumber=0extid=1003421catid =0extID=1000552. I couldn't get CF to find the tag at all.Not sure why, I've never had a problem installing custom tags before. cf_encrypt from the developer exchange: http://www.macromedia.com/cfusion/exchange/index.cfm?view=sn131extID=10005 52#loc=en_usview=sn131extID=1000552viewName=ColdFusion%20Extensionavm=1 ..This one we decided against because there is no way to get support.(The web-site link on the page is dead). So, my first question would be:Are there any other CF-based options? The second question would be, where do I look next?Are there any good resources out there for this type of thing? -- Jeffry Houser, Web Developer mailto:[EMAIL PROTECTED] Aaron Skye, Guitarist / Songwriter mailto:[EMAIL PROTECTED] -- AIM: Reboog711| Phone: 1-203-379-0773 -- My Books: http://www.instantcoldfusion.com Recording Music: http://www.fcfstudios.com Original Energetic Acoustic Rock: http://www.farcryfly.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Repost: Directory, download and cfmail attachment issues
Try cfx_zipman, it is in Java and should work on Linux. http://www.emerle.net/programming/cfx_zipman.cfm Matt -Original Message- From: Carol Chandler [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 10:41 AM To: CF-Talk Subject: Repost: Directory, download and cfmail attachment issues Reposted because I just discovered on another list that posts made from the archives didn't show the contents of the post, and that might explain why my questions rarely get answered here! Hi all, We have just moved from Windows to Linux, and CF5 to MX.This move brought a whole host of unpleasant issues with it, mostly having to do with our download process. 1.Does anyone know of a really good zip tag that works with Linux?I loved Ben Forta's cfx_zip on Windows, but can't find one that robust for Linux.Specific problem:I can't find one that will unzip a specific file in an archive that has a zipped folder in it. 2.We store our design files in a non-browser-accessible directory, and then create a zip file in another temp non-accessible directory after purchase.I'm using cfdirectory to create this directory.Most of the time it works, but sometimes for no reason that is apparent to me, it doesn't.(Yeah, as I wrote this I realized that I needed to do a different thing with error handling here, so maybe next time it happens I will get a clue.)Meanwhile, does anyone know why this would happen?It can work sometimes for a particular user and not others. 3.When everything else has worked so far, and the customer's zip file has been created, they can choose download or email.I'm using CFHEADER NAME=Content-Disposition VALUE=attachment; StitcheryMall.zip CFCONTENT TYPE=application/x-zip-compressed FILE=#zipname# deletefile=yes for the download.In our testing, this worked acceptably.It does indeed download the proper file, and for all of our tests (except with Opera), the file ended with .zip.We have customers saying that they are getting .cfm or no extension.Any ideas? 4.When they select email, we use cfmail to=#user.email# from=#me# subject=Stitchery Mall Files spoolenable=no cfmailparam file=#zipname# type=application/x-zip-compressed blah blah blah /cfmail Spoolenable is no because the next thing that happens is that the file gets deleted, and if it is yes, half the time it gets deleted before the message gets sent.The problem here is also the file name.People are getting all sorts of things - and they have forwarded them to me.Generally it is a good file, but often with a .dat or no extension.Any clues here? 5.Some customers are reporting corrupted files.Could this be an issue with the zip tag, or is it more likely part of the download/email process?I suppose it could also simply be their way of reporting a bad file extension. I appreciate any help you can give me.I'm almost too busy sending out files to customers to actually fix anything! Carol Chandler _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
cftag for Zipping
Hi, Does anyone have a cftag for zipping files witch works on a SUN? many thanks Chris __ Christian BOUDOT Intrasoft International 89-91 route de Thionville L-2611 Luxembourg Tel: +352 44 10 12 21 05 Fax: +352 44 10 12 23 59 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Blowfish Encryption in ColdFusion
You are right, someone without experience will most likely make a mistake that will effect security of implementation. However, by the same token no outside tag purchased or obtained from outside source can be marked secure unless it went through rigorous code reading and testing. For this you need even more experience in cryptography than for writing your own implementation of blowfish. The bottom line is, you need to be an expert to make a claim that something appears to be secure. Also, if by some chance NP=P you better have a disclaimer ready :) In most cases you have to settle for imaginary security, mainly because proving that you have some security is just to darn expensive. TK -Original Message- From: Ben Doom [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 10:47 AM To: CF-Talk Subject: Re: Blowfish Encryption in ColdFusion Unless you've got experience writing encryption code, I'd probably avoid rolling your own.This is one of those re-inventing the wheel scenarios where if your wheel isn't perfect, it won't roll properly. --Ben Doom Tom Kitta wrote: How about just writing your own Blowfish algorithm implementation? I know there are quite a few sites out there explaining in detail the ins and outs of this particular encryption method (its popular). TK -Original Message- From: Jeffry Houser [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 9:58 AM To: CF-Talk Subject: Blowfish Encryption in ColdFusion Hi All, I hope someone has a potential solution.I'm working with a client. We need to pass an encrypted string to one of their vendors.The vendor specified the encryption method (Blowfish) along with the key (aka passphrase) and an initialization vector (an 8 character string). After some research I came upon 3 options for Blowfish encryption in ColdFusion: CFX_Enigma http://www.cftagstore.com/index.cfm/page/viewtag/tagId/57 ..This was our first choice, and they went ahead and bought it.It only accepts Java Long Integer for the initialization vector.The tag spits up on our string.I e-mailed the developer, but haven't heard anything back. cfX_crypt from the developer exchange: http://www.macromedia.com/cfusion/exchange/index.cfm?view=sn131extID=10005 52#view=sn106viewName=Exchange%20Search%20Detailsloc=en_usauthorid=353425 81page=0scrollPos=0subcatid=0snid=sn106itemnumber=0extid=1003421catid =0extID=1000552. I couldn't get CF to find the tag at all.Not sure why, I've never had a problem installing custom tags before. cf_encrypt from the developer exchange: http://www.macromedia.com/cfusion/exchange/index.cfm?view=sn131extID=10005 52#loc=en_usview=sn131extID=1000552viewName=ColdFusion%20Extensionavm=1 ..This one we decided against because there is no way to get support.(The web-site link on the page is dead). So, my first question would be:Are there any other CF-based options? The second question would be, where do I look next?Are there any good resources out there for this type of thing? -- Jeffry Houser, Web Developer mailto:[EMAIL PROTECTED] Aaron Skye, Guitarist / Songwriter mailto:[EMAIL PROTECTED] -- AIM: Reboog711| Phone: 1-203-379-0773 -- My Books: http://www.instantcoldfusion.com Recording Music: http://www.fcfstudios.com Original Energetic Acoustic Rock: http://www.farcryfly.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Blowfish Encryption in ColdFusion
I agree mostly. However, I would argue that a reasonably well known implentation of an algorythm is less likely to be screwed up than, say, one I wrote from scratch.Having implemented Blowfish in C/C++, I know how easy it is to screw up.:-) In any case, if someone is looking for help with encryption libraries, the chances are that this is one of their first excursions into encryption, and they're probably not up to hammering out their own custom solution. --Ben Tom Kitta wrote: You are right, someone without experience will most likely make a mistake that will effect security of implementation. However, by the same token no outside tag purchased or obtained from outside source can be marked secure unless it went through rigorous code reading and testing. For this you need even more experience in cryptography than for writing your own implementation of blowfish. The bottom line is, you need to be an expert to make a claim that something appears to be secure. Also, if by some chance NP=P you better have a disclaimer ready :) In most cases you have to settle for imaginary security, mainly because proving that you have some security is just to darn expensive. TK -Original Message- From: Ben Doom [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 10:47 AM To: CF-Talk Subject: Re: Blowfish Encryption in ColdFusion Unless you've got experience writing encryption code, I'd probably avoid rolling your own.This is one of those re-inventing the wheel scenarios where if your wheel isn't perfect, it won't roll properly. --Ben Doom Tom Kitta wrote: How about just writing your own Blowfish algorithm implementation? I know there are quite a few sites out there explaining in detail the ins and outs of this particular encryption method (its popular). TK -Original Message- From: Jeffry Houser [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 9:58 AM To: CF-Talk Subject: Blowfish Encryption in ColdFusion Hi All, I hope someone has a potential solution.I'm working with a client. We need to pass an encrypted string to one of their vendors.The vendor specified the encryption method (Blowfish) along with the key (aka passphrase) and an initialization vector (an 8 character string). After some research I came upon 3 options for Blowfish encryption in ColdFusion: CFX_Enigma http://www.cftagstore.com/index.cfm/page/viewtag/tagId/57 ..This was our first choice, and they went ahead and bought it.It only accepts Java Long Integer for the initialization vector.The tag spits up on our string.I e-mailed the developer, but haven't heard anything back. cfX_crypt from the developer exchange: http://www.macromedia.com/cfusion/exchange/index.cfm?view=sn131extID=10005 52#view=sn106viewName=Exchange%20Search%20Detailsloc=en_usauthorid=353425 81page=0scrollPos=0subcatid=0snid=sn106itemnumber=0extid=1003421catid =0extID=1000552. I couldn't get CF to find the tag at all.Not sure why, I've never had a problem installing custom tags before. cf_encrypt from the developer exchange: http://www.macromedia.com/cfusion/exchange/index.cfm?view=sn131extID=10005 52#loc=en_usview=sn131extID=1000552viewName=ColdFusion%20Extensionavm=1 ..This one we decided against because there is no way to get support.(The web-site link on the page is dead). So, my first question would be:Are there any other CF-based options? The second question would be, where do I look next?Are there any good resources out there for this type of thing? -- Jeffry Houser, Web Developer mailto:[EMAIL PROTECTED] Aaron Skye, Guitarist / Songwriter mailto:[EMAIL PROTECTED] -- AIM: Reboog711| Phone: 1-203-379-0773 -- My Books: http://www.instantcoldfusion.com Recording Music: http://www.fcfstudios.com Original Energetic Acoustic Rock: http://www.farcryfly.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Blowfish Encryption in ColdFusion
The original poster didn't (I think) mention the version, but BlowFish is a standard part of the JCE (Java Cryptology extensions): if you're on MX is only makes sense to use it directly from there I would think. Jim Davis -Original Message- From: Ben Doom [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 10:47 AM To: CF-Talk Subject: Re: Blowfish Encryption in ColdFusion Unless you've got experience writing encryption code, I'd probably avoid rolling your own.This is one of those re-inventing the wheel scenarios where if your wheel isn't perfect, it won't roll properly. --Ben Doom Tom Kitta wrote: How about just writing your own Blowfish algorithm implementation? I know there are quite a few sites out there explaining in detail the ins and outs of this particular encryption method (its popular). TK -Original Message- From: Jeffry Houser [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 9:58 AM To: CF-Talk Subject: Blowfish Encryption in ColdFusion Hi All, I hope someone has a potential solution.I'm working with a client.We need to pass an encrypted string to one of their vendors.The vendor specified the encryption method (Blowfish) along with the key (aka passphrase) and an initialization vector (an 8 character string). After some research I came upon 3 options for Blowfish encryption in ColdFusion: CFX_Enigma http://www.cftagstore.com/index.cfm/page/viewtag/tagId/57 ..This was our first choice, and they went ahead and bought it. It only accepts Java Long Integer for the initialization vector.The tag spits up on our string.I e-mailed the developer, but haven't heard anything back. cfX_crypt from the developer exchange: http://www.macromedia.com/cfusion/exchange/index.cfm?view=sn131extID=1 0005 52#view=sn106viewName=Exchange%20Search%20Detailsloc=en_usauthorid=35 3425 81page=0scrollPos=0subcatid=0snid=sn106itemnumber=0extid=1003421c atid =0extID=1000552. I couldn't get CF to find the tag at all.Not sure why, I've never had a problem installing custom tags before. cf_encrypt from the developer exchange: http://www.macromedia.com/cfusion/exchange/index.cfm?view=sn131extID=1 0005 52#loc=en_usview=sn131extID=1000552viewName=ColdFusion%20Extensionav m=1 ..This one we decided against because there is no way to get support.(The web-site link on the page is dead). So, my first question would be:Are there any other CF-based options? The second question would be, where do I look next?Are there any good resources out there for this type of thing? -- Jeffry Houser, Web Developer mailto:[EMAIL PROTECTED] Aaron Skye, Guitarist / Songwriter mailto:[EMAIL PROTECTED] -- AIM: Reboog711| Phone: 1-203-379-0773 -- My Books: http://www.instantcoldfusion.com Recording Music: http://www.fcfstudios.com Original Energetic Acoustic Rock: http://www.farcryfly.com _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Macromedia launches Flex (Was Royale)
Oh man, this looks like a godsend! I am way too excited about this. cf_jedi_mind_trick You will accept my beta application. /cf_jedi_mind_trick Mike Brunt wrote: Ben Forta just blogged the launch of Macromedia Flex (previously Royale). Verbatim Flex is designed to leverage existing and standards based back-ends, and ColdFusion developers will find that they can use Flex to build sophisticated n-tier applications (with ColdFusion providing the back-end processing, and Flex generating the client-side code). Theres a Breeze preso here http://www.macromedia.com/software/flex/productinfo/brz_overview/ Kind Regards - Mike Brunt Webapper Services LLC Web Site http://www.webapper.com Blog http://www.webapper.net Webapper Web Application Specialists [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Stored PROCEDURE syntax
THis i what i have CREATE PROCEDURE update_image_status_y ( @image_id INT ) UPDATE images SET image_document_head = 'y' WHERE id = @image_id But i get a Incorrect SYntax near the keyword UPDATEwhat's up?! [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Stored PROCEDURE syntax
THis i what i have CREATE PROCEDURE update_image_status_y ( @image_id INT ) UPDATE images SET image_document_head = 'y' WHERE id = @image_id But i get a Incorrect SYntax near the keyword UPDATEwhat's up?! You left out the word AS: CREATE PROCEDURE procedure_name (parameters) AS UPDATE ... Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
PayPal Integration
Hi All, I would like to know if anybody has good custom tag or URL for paypal integration to accept payments. How easy it is to integrate into the system. Ketan Patel [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Stored PROCEDURE syntax
Is images a reserved word in SQL? -Original Message- From: brob [mailto:[EMAIL PROTECTED] Sent: 17 November 2003 16:40 To: CF-Talk Subject: Stored PROCEDURE syntax THis i what i have CREATE PROCEDURE update_image_status_y ( @image_id INT ) UPDATE images SET image_document_head = 'y' WHERE id = @image_id But i get a Incorrect SYntax near the keyword UPDATEwhat's up?! _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Stored PROCEDURE syntax
you are missing an AS after the name of your new procedure if you are using SQL. -Original Message- From: brob [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 10:40 AM To: CF-Talk Subject: Stored PROCEDURE syntax THis i what i have CREATE PROCEDURE update_image_status_y ( @image_id INT ) UPDATE images SET image_document_head = 'y' WHERE id = @image_id But i get a Incorrect SYntax near the keyword UPDATEwhat's up?! _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: PayPal Integration
Pascal put out a handy tutorial on Easycfm.com -Original Message- From: Ketan Patel [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 10:47 AM To: CF-Talk Subject: PayPal Integration Hi All, I would like to know if anybody has good custom tag or URL for paypal integration to accept payments. How easy it is to integrate into the system. Ketan Patel _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Blowfish Encryption in ColdFusion
I agree mostly. However, I would argue that a reasonably well known implentation of an algorythm is less likely to be screwed up than, say, one I wrote from scratch.Having implemented Blowfish in C/C++, I know how easy it is to screw up.:-) [Tom Kitta] I guess odds are in favor of going with well known implementation, then again, one must keep in mind my previous post. In any case, if someone is looking for help with encryption libraries, the chances are that this is one of their first excursions into encryption, and they're probably not up to hammering out their own custom solution. [Tom Kitta] I agree. --Ben Tom Kitta wrote: You are right, someone without experience will most likely make a mistake that will effect security of implementation. However, by the same token no outside tag purchased or obtained from outside source can be marked secure unless it went through rigorous code reading and testing. For this you need even more experience in cryptography than for writing your own implementation of blowfish. The bottom line is, you need to be an expert to make a claim that something appears to be secure. Also, if by some chance NP=P you better have a disclaimer ready :) In most cases you have to settle for imaginary security, mainly because proving that you have some security is just to darn expensive. TK -Original Message- From: Ben Doom [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 10:47 AM To: CF-Talk Subject: Re: Blowfish Encryption in ColdFusion Unless you've got experience writing encryption code, I'd probably avoid rolling your own.This is one of those re-inventing the wheel scenarios where if your wheel isn't perfect, it won't roll properly. --Ben Doom Tom Kitta wrote: How about just writing your own Blowfish algorithm implementation? I know there are quite a few sites out there explaining in detail the ins and outs of this particular encryption method (its popular). TK -Original Message- From: Jeffry Houser [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 9:58 AM To: CF-Talk Subject: Blowfish Encryption in ColdFusion Hi All, I hope someone has a potential solution.I'm working with a client. We need to pass an encrypted string to one of their vendors.The vendor specified the encryption method (Blowfish) along with the key (aka passphrase) and an initialization vector (an 8 character string). After some research I came upon 3 options for Blowfish encryption in ColdFusion: CFX_Enigma http://www.cftagstore.com/index.cfm/page/viewtag/tagId/57 ..This was our first choice, and they went ahead and bought it. It only accepts Java Long Integer for the initialization vector.The tag spits up on our string.I e-mailed the developer, but haven't heard anything back. cfX_crypt from the developer exchange: http://www.macromedia.com/cfusion/exchange/index.cfm?view=sn131extID=10005 52#view=sn106viewName=Exchange%20Search%20Detailsloc=en_usauthorid=353425 81page=0scrollPos=0subcatid=0snid=sn106itemnumber=0extid=1003421catid =0extID=1000552. I couldn't get CF to find the tag at all.Not sure why, I've never had a problem installing custom tags before. cf_encrypt from the developer exchange: http://www.macromedia.com/cfusion/exchange/index.cfm?view=sn131extID=10005 52#loc=en_usview=sn131extID=1000552viewName=ColdFusion%20Extensionavm=1 ..This one we decided against because there is no way to get support.(The web-site link on the page is dead). So, my first question would be:Are there any other CF-based options? The second question would be, where do I look next?Are there any good resources out there for this type of thing? -- Jeffry Houser, Web Developer mailto:[EMAIL PROTECTED] Aaron Skye, Guitarist / Songwriter mailto:[EMAIL PROTECTED] -- AIM: Reboog711| Phone: 1-203-379-0773 -- My Books: http://www.instantcoldfusion.com Recording Music: http://www.fcfstudios.com Original Energetic Acoustic Rock: http://www.farcryfly.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: PayPal Integration
I am in the process of making a CFC to handle the IPN stuff PayPal offers. There is a custom tag out there.. check the MM exchange. Also, when the PayPal website is done being maintenanced go check out their developer section, and read about IPN. Mike -Original Message- From: Ketan Patel [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 11:47 AM To: CF-Talk Subject: PayPal Integration Hi All, I would like to know if anybody has good custom tag or URL for paypal integration to accept payments. How easy it is to integrate into the system. Ketan Patel _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Stored PROCEDURE syntax
Shouldn't it be CREATE PROCEDURE update_image_status_y @image_id INT AS UPDATE images SET image_document_head = 'y' WHERE id = @image_id -Original Message- From: brob [mailto:[EMAIL PROTECTED] Sent: maandag 17 november 2003 17:40 To: CF-Talk Subject: Stored PROCEDURE syntax THis i what i have CREATE PROCEDURE update_image_status_y ( @image_id INT ) UPDATE images SET image_document_head = 'y' WHERE id = @image_id But i get a Incorrect SYntax near the keyword UPDATEwhat's up?! _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Inserting rows into a 2d array
It was suggested (thanks Chris) that I could insert elements into an array by using the ArrayInsertAt() function: Example: For a 1d array: cfset ArrayInsertAt(myArray, 5, myValue) For a 2d arary: cfset ArrayInsertAt(myArray, 5, ArrayNew(1)) cfset myArray[5][1] = whatever cfset myArray[5][2] = something_else Problem is that 'ArrayInsertAt' will insert an element(s), but it will overwrite what is currently at that location. What I need to do is shift the rows of the Array down and insert a new row containing the new elements. This adds to the array content and retains the original content of the array. Any ideas? Doug - Original Message - From: DougF [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, November 16, 2003 8:06 PM Subject: Inserting rows into a 2d array Hi all, Need some help with inserting rows into a 2d array. As an example I populate an array with values cityName and LocationID from a query. I then need to insert a new ROW between row 4 and row 5. In essence shifting rows 5 and below down one row. I'd thought of appending to the array, then using ArraySwap to move all elements down one row (need to keep elements in order), then using ArrayInsertAt to populate the new row at row 5. This seems like such an inefficient way. Any suggestions? Thanks, Doug [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
re: Implementing cfftp along with cfdirectory????
Hi, The script below displays directories/files on the server using cfdirectory etc. How can I incorporate a cfftp with the below code which also allows the drilldown etc. --HTML-- HEAD titleDirectory Listing/title style .dlinks {font-family:arial, verdana, helvetica, sanserif;font-weight:normal;font-size:12px; } a:hover { color:#FF9900 } A { text-decoration: none } /style /HEAD BODY text=#00 leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 link=#66 vlink=#66 alink=#66 cfscript // Copy form and URL variables to attributes scope if (NOT IsDefined(attributes)) attributes = StructNew(); if (IsDefined(form)) StructAppend(attributes,form,yes); if (IsDefined(url)) StructAppend(attributes,url,yes); // Expected parameters variables.defaultdrive = d:; if (NOT IsDefined(attributes.directorypath)) attributes.directorypath=variables.defaultdrive\; attributes.directorypath = URLDecode(attributes.directorypath); if (NOT IsDefined(attributes.indent)) attributes.indent = 1; // use this to make sure the display tables have enough columns variables.leftoverindent = ListLen(attributes.directorypath,\)-attributes.indent+1; if (variables.leftoverindent LT 0) variables.leftoverindent = ListLen(attributes.directorypath,\)+1; // default variables variables.currentpath = ; variables.nextfolder = ; variables.ignorelist = .,..; // Set up the information required for the display of this level for (i=1; i lte attributes.indent; i=i+1) currentpath = ListAppend(currentpath,ListGetAt(attributes.directorypath,i,\),\); if (attributes.indent LT listlen(attributes.directorypath,\)) variables.nextfolder = ListGetAt(attributes.directorypath,attributes.indent+1,\); /cfscript cfdirectory action="" directory=#variables.currentpath# name=DirListing sort=type ASC, name ASC cfoutput query=DirListing cfsilent cfscript // Set up the next path nextpath = variables.currentpath\name\; nextindent = attributes.indent +1; updir = listdeleteat(variables.currentpath,listlen(variables.currentpath,\),\) \; /cfscript /cfsilent cfif attributes.indent EQ 1 cfif DirListing.type IS dir AND ListFindNoCase(variables.ignorelist,dirlisting.name) EQ 0 !--- Display restricted top level --- TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 cfifDirListing.name eq variables.nextfolder !--- Display Expanded Folder --- TR TD colspan=#attributes.indent#nbsp;/TD TD valign=middle width=16 height=13A href="" alt=BackIMG src="" width=16 border=0 alt=Back/A/TD TD colspan=#leftoverindent#nbsp;A href="" alt=BackFONT class=dlinks#dirlisting.name#/FONT /A/TD /TR cfmodule template=listing.cfm directorypath=#attributes.directorypath# indent=#nextindent# cfelse !--- Display collapsed folder --- TR TD colspan=#attributes.indent#nbsp;/TD TD width=16 height=13A href="" class=dlinks alt=#dirlisting.name#IMG src="" border=0/A/TD TD colspan=#leftoverindent# align=left !--- Display directory folders --- nbsp;A href="" class=dlinks alt=#dirlisting.name##dirlisting.name#/A /TD /TR /cfif /cfif cfelse !--- Display Directory 2nd level + --- cfif DirListing.type IS dir AND ListFindNoCase(variables.ignorelist,dirlisting.name) EQ 0 cfifDirListing.name eq variables.nextfolder !--- Display Expanded Folder --- TR TD colspan=#attributes.indent#nbsp;/TD TD valign=middle width=16 height=13A href="" alt=BackIMG src="" width=16 border=0 alt=Back/A/TD TD colspan=#leftoverindent#nbsp;A href="" alt=BackFONT class=dlinks#dirlisting.name#/FONT /A/TD /TR cfmodule template=listing.cfm directorypath=#attributes.directorypath# indent=#nextindent# cfelse !--- Display collapsed folder --- TR TD colspan=#attributes.indent#/TD TD valign=middle width=16 height=13A href="" class=dlinks alt=#dirlisting.name#IMG src="" border=0/A/TD TD colspan=#leftoverindent# align=left !--- Display directory folders --- nbsp;A href="" class=dlinks alt=#dirlisting.name##dirlisting.name#/A /TD /TR /cfif cfelseif ListFindNoCase(variables.ignorelist,dirlisting.name) EQ 0 !--- Display File --- TR height=20 TD colspan=#attributes.indent#nbsp;/TD TD width=18 height=20nbsp;/TD TD valign=middle height=20 class=dlinks colspan=#evaluate(leftoverindent+1)# !--- Display file names --- font class=dlinksa href=""> /TD /TR /TABLE /cfif /cfif /cfoutput /body --/html-- [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Inserting rows into a 2d array
It was suggested (thanks Chris) that I could insert elements into an array by using the ArrayInsertAt() function: Example: For a 1d array: cfset ArrayInsertAt(myArray, 5, myValue) For a 2d arary: cfset ArrayInsertAt(myArray, 5, ArrayNew(1)) cfset myArray[5][1] = whatever cfset myArray[5][2] = something_else Problem is that 'ArrayInsertAt' will insert an element(s), but it will overwrite what is currently at that location. What I need to do is shift the rows of the Array down and insert a new row containing the new elements. This adds to the array content and retains the original content of the array. According to the documentation, existing elements should automatically be shifted up one in position, so you shouldn't be having this problem. What version of CF are you using? Alternatively, why not just order the data the way you want it before building the array? Or, perhaps more importantly, why does the ordering matter at all? Ideally, in most (but not all) situations, it shouldn't. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
2 line charts
Folks, I'm trying to do a comparison chart using CFgraph in CF 5.I'd like to be able to simply draw 2 lines on a single graph.Does anyone know of a way to do this?I can't seem toget it done with cfgraphdata OR with a query. -Mark Mark A. Kruger, MCSE, CFG www.cfwebtools.com www.necfug.com http://mxc.blogspot.com ...what the web can be! [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Dynamic image resizing etc.
I've implemented a CFC that uses ImageJ Java classes to resize, rotate, add text, etc. to images.For the most part, I'm fairly happy, but the images seem to come out a little bit distorted and not quite as clean as I'd like. Does anyone know of a better set of classes (preferably with a CFC wrapper) that can accomplish these same functions with a better quality outcome?Any information would be extremely helpful! FYI: I'm working with CFMX on Linux with Apache. John Burns [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: 2 line charts
I'm trying to do a comparison chart using CFgraph in CF 5. I'd like to be able to simply draw 2 lines on a single graph.Does anyone know of a way to do this?I can't seem to get it done with cfgraphdata OR with a query. I don't think you can. This is one of the big functional additions to graphing in CFMX - the ability to chart multiple series. I suspect you'll have to use a third-party charting library to do this in CF 5. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Macromedia launches Flex (Was Royale)
It does look cool! I applied for the beta a little while back, but looking at it now and at my plate, it looks like I should wait for the retail product. So if MM is keeping tabs, I'll bow out in favor of Marlon. :-) -Kevin - Original Message - From: Marlon Moyer [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, November 17, 2003 10:31 AM Subject: Re: Macromedia launches Flex (Was Royale) Oh man, this looks like a godsend! I am way too excited about this. cf_jedi_mind_trick You will accept my beta application. /cf_jedi_mind_trick Mike Brunt wrote: Ben Forta just blogged the launch of Macromedia Flex (previously Royale). Verbatim - Flex is designed to leverage existing and standards based back-ends, and ColdFusion developers will find that they can use Flex to build sophisticated n-tier applications (with ColdFusion providing the back-end processing, and Flex generating the client-side code). There's a Breeze preso here http://www.macromedia.com/software/flex/productinfo/brz_overview/ Kind Regards - Mike Brunt Webapper Services LLC Web Site http://www.webapper.com Blog http://www.webapper.net Webapper Web Application Specialists [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Row Number variable
Hey guys, I dont want to have to use a counter inside a CFOUTPUT QUERY tag.Is there a variable like current_row or something that would give me the current row number?I using 4.5 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Row Number variable
Hey guys, I dont want to have to use a counter inside a CFOUTPUT QUERY tag.Is there a variable like current_row or something that would give me the current row number?I using 4.5 Yes, you can use CurrentRow: cfoutput query=qFoo Row #qFoo.CurrentRow# of #qFoo.RecordCount#br /cfoutput You might find it useful to read the documentation that comes with CF, as it covers most of these things in adequate detail. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Row Number variable
Yes, currentRow. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: PayPal Integration
There's a PayPal integration component already as part of Contribute. My guess is that it's probably also available at the Exchange for DW. -Kevin - Original Message - From: Ketan Patel [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, November 17, 2003 10:47 AM Subject: PayPal Integration Hi All, I would like to know if anybody has good custom tag or URL for paypal integration to accept payments. How easy it is to integrate into the system. Ketan Patel [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
File Upload: timing the time it takes to upload.
I have a simple form that allows me to upload a file.I need to write a test page that can calculate the time it takes to upload this file to the server.Is this possible? I thought that GetTickCount() could tell me this but it only calculates how long it takes to process a file once the CF Server has it no before. Much appreciated.Dave Adams [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Row Number variable
THanks!Unfortunately, I forgot what i was going to do with it! - Original Message - From: Dave Watts To: CF-Talk Sent: Monday, November 17, 2003 11:40 AM Subject: RE: Row Number variable Hey guys, I dont want to have to use a counter inside a CFOUTPUT QUERY tag.Is there a variable like current_row or something that would give me the current row number?I using 4.5 Yes, you can use CurrentRow: cfoutput query=qFoo Row #qFoo.CurrentRow# of #qFoo.RecordCount#br /cfoutput You might find it useful to read the documentation that comes with CF, as it covers most of these things in adequate detail. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re:HTML e-Newsletter
Dwayne, Let me point out a few gotchas that hopefully the tutorial will cover. 1) Outlook XP and the latesxt versions of Outlook Express block by default any _javascript_ or Active X Controls. That means if you send out any videos, Flash or a snippy _javascript_ most folks can't see it. 2) The latest beta of Outlook blocks HTML email having formating or images from an external source. HTML email requires external images for displaying the images properly as the email is forwared from one person to the next. Marketers use this feature to embed web bugs allowing one to track the number of people who have opened the email message. 3) You must use an opt-in list to send out the email. In some US States and contries, you can be legally liable for emails not sent to an opt in list. Even worse, you can also be placed on a Black Hole list if you're using an external server acting as a relay. 4) You need to configrue your mail server to ensure outsiders can not relay off of the server you're using to send CFMAIL. CFMAIL does require an open relay to send out email-- on the other hand if you use NAT to make sure only non-routeable IP addresses are relayed by CFMAIL and specifically specify the non-routeable IP address of the Cold Fusion in the mail server, then you can protect yourself from spammers and not get yourself on a black hole list for having an open relay. >From a business point of view this has the following reprocussions. A) Your subject line must clear, consise and meaningful to the opener B) You should use plain text without forwarding unless the email generated is from an Intranet (where one can control the user experiance while using the firewall and black hole lists to control spam) C) If your trying this for an external audiance, you need to purcahse or generate an opt in list, have a privacy policy in place and have a real secure set-up from a hosting point of view. On the other hand why send out a message people can not read because they are protecting themselves from spam, viruses-- and protect yourself from potential legal and network configuration issues. IMHO, HTML email should only be used in an Intranet setting where one can control the message and the client. I know that this is a hot button issue among the CF talkers out there -- this has been discussed at length on this forum. However, I have seen the reprocussions of a poor network configuration and HTML email. Jeremy P.S. I've included how to set up the HTML email below as an FYI [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re:Cold Fusion MX - Looping over application Structure
Jim, Thanks for the example.A couple comments: 1)You're correct, writing out and setting the query results could be cleaned up a little, but that's not really the area of my concern.My area of concern is looping over and reading a query results stored within the application scope. 2)I tried the two examples you provided. !--- You can either make a copy of this --- cflock scope=application type=ReadOnly timeout=10 cfset qGetItems = duplicate(application.structtest.qGetItems) /cflock cfloop query=qGetItems cfoutput#qGetItems.field# br/cfoutput /cfloop This option works.Kind of seems strange though.The entire point of saving something out to the application scope is to let everyone access it and read from it.If I'm just looping over and reading from the application scope, why would I need to duplicate it per request?Seems like it could lead to a memory issue if you're trying to store something in the application scope that is being referenced frequently. !--- Or access the variable directly --- cflock scope=application type=ReadOnly timeout=10 cfset qGetItems = application.structtest.qGetItems cfloop query=application.structtest.qGetItems cfoutput#qGetItems.field# br/cfoutput /cfloop /cflock I tried this one and it actually did not work putting a read only cflock around it.It still appears that the iterator or looping mechanism built within cfloop query is being shared accross requests. One work around suggested is to reference the structure like an Array and loop over the results using the array index (i.e. dont let cold fusion determine the next record set within your query results). Loop code would look something like: Note:261 being the max number of keys within the structure cfloopfrom=1 to=261 index=i cfoutput #qGetItems.Field[i]# /cfoutput /cfloop I still am perplexed.Again, my question is why would CF MX share the iterator when looping (specificaly using cfloop query=) over a query results stored in the applicaition structure? In general this really isn't a good way to go about this. First you're tying your application scope directly to db performance.I would definitely do the query outside of the lock. Also I'm really confused about why you're quoting on the left side of the cfsets - there's no dynamic processing going on so it's just really weird. It doesn't matter if you set the application query to the local variable later - since you're assigning a structure you're making a REFERENCE, not a copy.So when you loop over the local variable you're actually looping (unlocked) over the application variable. At least in 4.5 structs aren't automatically generated.So I StructTest is supposed to be a struct, it isn't here.You ARE setting qGetItems as a struct - but then OVERWRITING it with a query.What you have does not place your result set into a struct - it places it into a dotted variable in the application scope. I would rewrite this something liks this: cfset AppSet = False cflock scope=application type=ReadOnly timeout=10 cfif NOT IsDefined(application.structtest.qGetItems) cfset AppSet = True /cfif cflock cfif NOT AppSet cfquery name=qGetItems datasource= SELECT Field FROM Table ORDER BY Field /cfquery cfset StructTest = StructNew() cfset StructTest.qGetItems = qGetItems cflock scope=application type=EXCLUSIVE timeout=10 cfset application.StructTest = StructTest /cflock /cfif !--- You can either make a copy of this --- cflock scope=application type=ReadOnly timeout=10 cfset qGetItems = duplicate(application.structtest.qGetItems) /cflock cfloop query=qGetItems cfoutput#qGetItems.Field# br/cfoutput /cfloop !--- Or access the variable directly --- cflock scope=application type=ReadOnly timeout=10 cfset qGetItems = application.structtest.qGetItems cfloop query=application.structtest.qGetItems cfoutput#qGetItems.Field# br/cfoutput /cfloop /cflock Note that in MX you don't have to be so careful about the locking - in fact in this case you might not need it at all, depending on how this is used. Jim Davis -Original Message- From: Jason Reuter [mailto:[EMAIL PROTECTED] Sent: Friday, November 14, 2003 4:51 PM To: CF-Talk Subject: Re:Cold Fusion MX - Looping over application Structure Yes, I'm using cflock.Here's the code snippet: html body cflock scope=application type=EXCLUSIVE timeout=10 cfif NOT IsDefined(application.structtest.qGetItems) cfquery name=qGetItems datasource= SELECT Field FROM Table ORDER BY Field /cfquery cfset application.structtest.qGetItems = structNew() cfset application.structtest.qGetItems = qGetItems /cfif cfset qGetItems = application.structtest.qGetItems /cflock cfloop query=qGetItems cfoutput #qGetItems.Field# br /cfoutput /cfloop /body /html You do still need to lock shared scope variables that would have a risk of race conditions.Why you don't run into problems with that on CF 4.5 is beyond me, but a simple cflock should fix it right up. Timothy Heald Web Portfolio Manager
Access Bumeric datatype syntax
Hi All, I have a numeric datatype Called Account_ID I need to get all the accounts starting begins with Account_ID 9 or 6 or any numeric value. I tried Like % but doesnot work any idea how can get the results. Thanks in advance. Ketan Patel [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: How to count sessions
Here is what I have now. Everything is working fine except I can not get all the individual sessions to loop through the query. It only returns data for one record, even if I have 4 sessions opened by different users. cfset tracker = createObject(java, coldfusion.runtime.SessionTracker) cfset sessions = tracker.getSessionCollection(MyAppName) !--- Test to see how data is returned --- cfloop collection=#sessions# item=key cfoutput#sessions[#key#].user#/cfoutput /cfloop cfloop collection=#sessions# item=key cfquery name=getmem datasource =xxx SELECT fname,lname,class_year FROM alumni WHERE username in( '#sessions[#key#].user#') /cfquery /cfloop table cfoutput query=getmem trtd#fname#/tdtd#lname#/tdtd#class_year#/td/tr /cfoutput /table [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Access Bumeric datatype syntax
I have a numeric datatype Called Account_ID I need to get all the accounts starting begins with Account_ID 9 or 6 or any numeric value. I tried Like % but doesnot work any idea how can get the results. Well, first, if you're going to treat it as a string, it should probably be stored as a string. That said, if you want to treat a number as a string, you'll have to convert it. For example, in SQL Server, you can use CONVERT: SELECT ... FROM ... WHERE CONVERT(char(6), Account_ID) LIKE '9%' The above example assumes that Account_ID is a six-digit number; you may have to adjust your code accordingly. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: 2 line charts
Dave, That's what I figured.Ok - thanks. -Mark -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 11:27 AM To: CF-Talk Subject: RE: 2 line charts I'm trying to do a comparison chart using CFgraph in CF 5. I'd like to be able to simply draw 2 lines on a single graph.Does anyone know of a way to do this?I can't seem to get it done with cfgraphdata OR with a query. I don't think you can. This is one of the big functional additions to graphing in CFMX - the ability to chart multiple series. I suspect you'll have to use a third-party charting library to do this in CF 5. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re:Macromedia launches Flex (Was Royale)
Marlon.. ??? Please tell us Outsiders what that is. It does look cool! I applied for the beta a little while back, but looking at it now and at my plate, it looks like I should wait for the retail product. So if MM is keeping tabs, I'll bow out in favor of Marlon. :-) -Kevin - Original Message - From: Marlon Moyer [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, November 17, 2003 10:31 AM Subject: Re: Macromedia launches Flex (Was Royale) Oh man, this looks like a godsend! I am way too excited about this. cf_jedi_mind_trick You will accept my beta application. /cf_jedi_mind_trick Mike Brunt wrote: Ben Forta just blogged the launch of Macromedia Flex (previously Royale). Verbatim - Flex is designed to leverage existing and standards based back-ends, and ColdFusion developers will find that they can use Flex to build sophisticated n-tier applications (with ColdFusion providing the back-end processing, and Flex generating the client-side code). There's a Breeze preso here http://www.macromedia.com/software/flex/productinfo/brz_overview/ Kind Regards - Mike Brunt Webapper Services LLC Web Site http://www.webapper.com Blog http://www.webapper.net Webapper Web Application Specialists [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFMAIL acting funny on CF 4.5
Upgrade to CF 5, or don't use CFMAIL -- really.There are many flakey things about CFMAILon CF 4.5.The worst one I know of will make your server crash on restart until the offending email file is removed from the spool folder. Sometimes it will just stop sending out any email.I once found our server hadn't sent any email out for two weeks. We watch it more closely now. If you use CFMAIL under CF 4.5 you MUST babysit it.I know from experience, I babysit quite a few sites. Jann -Original Message- From: Ruslan Sivak [mailto:[EMAIL PROTECTED] Sent: Saturday, November 15, 2003 8:40 AM To: CF-Talk Subject: CFMAIL acting funny on CF 4.5 We're running CF4.5 (latest service pack as far as I can tell) and we keep having a weird problem.If one of our pages generates a CFMail that has a blank to address, for some reason ColdFusion generates many copies of that mail (50K+). Has anyone come across this and knows how to fix it? Russ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: File Upload: timing the time it takes to upload.
coldfusion doesnt know the file size until the upload is completed so as far as i know you'd need to put some java in there to do what u want. I have a simple form that allows me to upload a file.I need to write a test page that can calculate the time it takes to upload this file to the server.Is this possible? I thought that GetTickCount() could tell me this but it only calculates how long it takes to process a file once the CF Server has it no before. Much appreciated.Dave Adams [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Macromedia launches Flex (Was Royale)
The dudes name in the prior post perhaps ;-) Jb. -Original Message- From: David Keevil [mailto:[EMAIL PROTECTED] Sent: 17 November 2003 17:44 To: CF-Talk Subject: Re:Macromedia launches Flex (Was Royale) Marlon.. ??? Please tell us Outsiders what that is. It does look cool! I applied for the beta a little while back, but looking at it now and at my plate, it looks like I should wait for the retail product. So if MM is keeping tabs, I'll bow out in favor of Marlon. :-) -Kevin - Original Message - From: Marlon Moyer [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, November 17, 2003 10:31 AM Subject: Re: Macromedia launches Flex (Was Royale) Oh man, this looks like a godsend! I am way too excited about this. cf_jedi_mind_trick You will accept my beta application. /cf_jedi_mind_trick Mike Brunt wrote: Ben Forta just blogged the launch of Macromedia Flex (previously Royale). Verbatim - Flex is designed to leverage existing and standards based back-ends, and ColdFusion developers will find that they can use Flex to build sophisticated n-tier applications (with ColdFusion providing the back-end processing, and Flex generating the client-side code). There's a Breeze preso here http://www.macromedia.com/software/flex/productinfo/brz_overview/ Kind Regards - Mike Brunt Webapper Services LLC Web Site http://www.webapper.com Blog http://www.webapper.net Webapper Web Application Specialists [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
OT: OS X host file
Anybody know where its located? Thanks, Tim [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
re: Repost: Directory, download and cfmail attachment issues
cfx_zipman didn't work as documented when trying to unzip all contents of a zip file.I'm using CFX_JCompress to extract individual files (but it doesn't work if they are inside a folder within the zip file) and cfx_MultiZip to list the contents of a zip file, extract all of the contents of a zip file, and build a new one. I think that #4 is my biggest problem right now - email attachments getting renamed.Clues anyone? thanks, Carol Chandler From: Matthew Fusfield [EMAIL PROTECTED] Date: Mon, 17 Nov 2003 10:49:42 -0500 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messagesthreadid=28733forumid=4#144291 Try cfx_zipman, it is in Java and should work on Linux. http://www.emerle.net/programming/cfx_zipman.cfm Matt -Original Message- From: Carol Chandler [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 10:41 AM To: CF-Talk Subject: Repost: Directory, download and cfmail attachment issues Reposted because I just discovered on another list that posts made from the archives didn't show the contents of the post, and that might explain why my questions rarely get answered here! Hi all, We have just moved from Windows to Linux, and CF5 to MX.This move brought a whole host of unpleasant issues with it, mostly having to do with our download process. 1.Does anyone know of a really good zip tag that works with Linux?I loved Ben Forta's cfx_zip on Windows, but can't find one that robust for Linux.Specific problem:I can't find one that will unzip a specific file in an archive that has a zipped folder in it. 2.We store our design files in a non-browser-accessible directory, and then create a zip file in another temp non-accessible directory after purchase.I'm using cfdirectory to create this directory.Most of the time it works, but sometimes for no reason that is apparent to me, it doesn't.(Yeah, as I wrote this I realized that I needed to do a different thing with error handling here, so maybe next time it happens I will get a clue.)Meanwhile, does anyone know why this would happen?It can work sometimes for a particular user and not others. 3.When everything else has worked so far, and the customer's zip file has been created, they can choose download or email.I'm using CFHEADER NAME=Content-Disposition VALUE=attachment; StitcheryMall.zip CFCONTENT TYPE=application/x-zip-compressed FILE=#zipname# deletefile=yes for the download.In our testing, this worked acceptably.It does indeed download the proper file, and for all of our tests (except with Opera), the file ended with .zip.We have customers saying that they are getting .cfm or no extension.Any ideas? 4.When they select email, we use cfmail to=#user.email# from=#me# subject=Stitchery Mall Files spoolenable=no cfmailparam file=#zipname# type=application/x-zip-compressed blah blah blah /cfmail Spoolenable is no because the next thing that happens is that the file gets deleted, and if it is yes, half the time it gets deleted before the message gets sent.The problem here is also the file name.People are getting all sorts of things - and they have forwarded them to me.Generally it is a good file, but often with a .dat or no extension.Any clues here? 5.Some customers are reporting corrupted files.Could this be an issue with the zip tag, or is it more likely part of the download/email process?I suppose it could also simply be their way of reporting a bad file extension. I appreciate any help you can give me.I'm almost too busy sending out files to customers to actually fix anything! Carol Chandler [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Macromedia launches Flex (Was Royale)
That would be pretty neat though if they named something Macromedia Marlon Marlon John Beynon wrote: The dudes name in the prior post perhaps ;-) Jb. -Original Message- From: David Keevil [mailto:[EMAIL PROTECTED] Sent: 17 November 2003 17:44 To: CF-Talk Subject: Re:Macromedia launches Flex (Was Royale) Marlon.. ??? Please tell us Outsiders what that is. It does look cool! I applied for the beta a little while back, but looking at it now and at my plate, it looks like I should wait for the retail product. So if MM is keeping tabs, I'll bow out in favor of Marlon. :-) -Kevin - Original Message - From: Marlon Moyer [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, November 17, 2003 10:31 AM Subject: Re: Macromedia launches Flex (Was Royale) Oh man, this looks like a godsend! I am way too excited about this. cf_jedi_mind_trick You will accept my beta application. /cf_jedi_mind_trick Mike Brunt wrote: Ben Forta just blogged the launch of Macromedia Flex (previously Royale). Verbatim - Flex is designed to leverage existing and standards based back-ends, and ColdFusion developers will find that they can use Flex to build sophisticated n-tier applications (with ColdFusion providing the back-end processing, and Flex generating the client-side code). There's a Breeze preso here http://www.macromedia.com/software/flex/productinfo/brz_overview/ Kind Regards - Mike Brunt Webapper Services LLC Web Site http://www.webapper.com Blog http://www.webapper.net Webapper Web Application Specialists [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: How to count sessions
if i was u i'd do something like this. seems like u r doing a singles site or something. when they login write their info to a db and then in the application.cfm file have it update that db with the current time then after the update code do a delete code where it deletes every record thats over say 10 minutes old. by doing that you dont have to rely on the sessions to get the info. Cause u will have all there info there. u know what i am sayin? Here is what I have now. Everything is working fine except I can not get all the individual sessions to loop through the query. It only returns data for one record, even if I have 4 sessions opened by different users. cfset tracker = createObject(java, coldfusion.runtime.SessionTracker) cfset sessions = tracker.getSessionCollection(MyAppName) !--- Test to see how data is returned --- cfloop collection=#sessions# item=key cfoutput#sessions[#key#].user#/cfoutput /cfloop cfloop collection=#sessions# item=key cfquery name=getmem datasource =xxx SELECT fname,lname,class_year FROM alumni WHERE username in( '#sessions[#key#].user#') /cfquery /cfloop table cfoutput query=getmem trtd#fname#/tdtd#lname#/tdtd#class_year#/td/tr /cfoutput /table [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: OT: OS X host file
/etc/hosts :-)right where it should be! --Ben Doom Tim Do wrote: Anybody know where its located? Thanks, Tim [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: OT: OS X host file
/etc/hostconfig On 17/11/03 6:47 pm, Tim Do [EMAIL PROTECTED] wrote: Anybody know where its located? Thanks, Tim [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Inserting rows into a 2d array
Thanks Dave, here is what I've discovered. Further ideas appreciated. Doug - Original Message - From: Dave Watts [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, November 17, 2003 9:16 AM Subject: RE: Inserting rows into a 2d array Alternatively, why not just order the data the way you want it before building the array? Or, perhaps more importantly, why does the ordering matter at all? Ideally, in most (but not all) situations, it shouldn't. What I'm trying to do is take a query result with two associated elements named city_name and locationID. The two elements need to be displayed beside each other, ordered alphabetically on the city name, with a blank line between the end of one alpha group and the start of the next group (makes it much easier to visually scan through a long list). The results will be displayed in a four column, vertically ordered table. My idea is to insert blank spacers into the results before the table is dynamically constructed so that the table formatting is not messed up with the spacers running horizontally across all four columns of the table. AAA xxxCCC xxx AAA xxx DDD xxx BBBxxx BBBxxxEEExxx CCCxxxFFFxxx According to the documentation, existing elements should automatically be shifted up one in position, so you shouldn't be having this problem. What version of CF are you using? Using CF5. The way I understand the documentation is that the existing element is shifted one cell to the right, not up or down. In testing I found this to be true. The existing element is moved to the right and the new element is inserted as documentation states. This works whether the array is 1, 2 or 3 dimensional. Previously I thought the ArrayInsertAt was just overwriting the element but now know it was shifting the existing element to the right and not creating a new row as I was expecting. So the problem is that I want insert a new ROW into a 2 dimensional array not just add a new element (cell) to an existing row. This will create the spacer between existing elements. Ideas or alternatives appreciated. !---BEGIN test code for 1d array - CFSET testArray1 = ArrayNew(1) CFSET testArray1[1] = Agness CFSET testArray1[2] = Albany CFSET testArray1[3] = Arlington p'testArray1' has #ArrayLen(testArray1)# elements.br cfloop index=Num from=1 to=#ArrayLen(testArray1)# #Num##testArray1[Num]#,nbsp; /cfloop/p CFSET InsertSuccess1 = ArrayInsertAt(testArray1,3,InsertAt3) pAfter insert 'testArray1' has #ArrayLen(testArray1)# elements.br cfloop index=Num1 from=1 to=#ArrayLen(testArray1)# #Num1##testArray1[Num1]#,nbsp; /cfloop/p !---END test code--- !---BEGIN test code 2d array CFSET testArray2 = ArrayNew(2) !--- cfloop index=Num2 from=1 to=3 --- CFSET testArray2[1][1] = Agness CFSET testArray2[2][1] = Albany CFSET testArray2[3][1] = Arlington CFSET testArray2[1][2] = ID01 CFSET testArray2[2][2] = ID02 CFSET testArray2[3][2] = ID03 !--- /cfloop --- p'testArray2' has #ArrayLen(testArray2)# elements.br cfloop index=Num2 from=1 to=#ArrayLen(testArray2)# #Num2##testArray2[Num2][1]#, #testArray2[Num2][2]#,nbsp; /cfloop/p !--- insert new elements--- CFSET ArrayInsertAt(testArray2[3],1,InsertHere) pAfter insert 'testArray2' has #ArrayLen(testArray2)# elements.br cfloop index=Num3 from=1 to=#ArrayLen(testArray2)# #Num3##testArray2[Num3][1]#, #testArray2[Num3][2]#,nbsp; /cfloop/p prow 3 contents: #testArray2[3][1]#, #testArray2[3][2]#, #testArray2[3][3]#/p !---END test code--- test results 'testArray1' has 3 elements. 1 Agness,2 Albany,3 Arlington, After insert 'testArray1' has 4 elements. 1 Agness,2 Albany,3 InsertAt3,4 Arlington, 'testArray2' has 3 elements. 1 Agness, ID01,2 Albany, ID02,3 Arlington, ID03, After insert 'testArray2' has 3 elements. 1 Agness, ID01,2 Albany, ID02,3 InsertHere, Arlington, row 3 contents: InsertHere, Arlington, ID03 -- Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 - Original Message - It was suggested (thanks Chris) that I could insert elements into an array by using the ArrayInsertAt() function: Example: For a 1d array: cfset ArrayInsertAt(myArray, 5, myValue) For a 2d array: cfset ArrayInsertAt(myArray, 5, ArrayNew(1)) cfset myArray[5][1] = whatever cfset myArray[5][2] = something_else Problem is that 'ArrayInsertAt' will insert an element(s), but it will overwrite what is currently at that location. What I need to do is shift the rows of the Array down and insert a new row containing the new elements. This adds to the array content and retains the original content of the array. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Sessions Revisited....
Ok, here I go again... I have the following directory structure Main_Site_Folder (www.abc.com http://www.abc.com/ ) IP Address 10.10.1.1 Site_A (www.def.com http://www.def.com/ ) IP Address 10.10.1.1 Application.cfm Cart.cfm Site_B (www.ghi.com http://www.ghi.com/ ) IP Address 10.10.1.1 Application.cfm Cart.cfm Site_C (www.jui.com http://www.jui.com/ ) IP Address 10.10.1.1 Application.cfm Cart.cfm Redirect.cfm Ok, so when you go to www.abc.com http://www.abc.com/(10.10.1.1) you see a screen where you can pick from the 3 sites. If you type in www.def.com http://www.def.com/or any others directly it takes you to abc.com which then uses the redirect.cfm to push you to the correct folder. However, I want a global cart that can essentially see the other carts. That way if you go from Store_A to Store_B you still see Store_A's cart contents while at Store_B. Right now the cart stores it's data in a Client.cart variable located in the Cart.cfm. The only real difference is that eash of the Sites passes the Site ID to the cart when adding items. Now, I know I can make the cart.cfm a module and pass the Site ID to it and place it in the root but is there a way to make the sessions see each other? Steve [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
cfcontent question
Hey everyone, With CFCONTENT, my downloads are getting renamed? I've got a form submit (for a EULA) that goes to a page that uses CFCONTENT. 1. The user chooses the file from a list of links (filename is passed to the next page) 2. This page is the EULA form that has a hidden field for the filename. 3. Form submit button goes to a page that uses CFCONTENT to begin the download. Funny thing is, the process successfully carries the proper filename to the end, and the file dows download fine, but the name of the file gets changed to the name of the form action page. form action="" My files downloaded are all named coursematerials1.zip I'm using a zip file type: cfcontent type=application/x-zip-compressed file=c:\protected\#form.filename# Anyone have any ideas why my downloads are getting renamed? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: cfcontent question
Place the following line before your CFCONTENT tag and replace therealfilename with the name of your file... All will be well. cfheader name=Content-Disposition value=attachment;filename=therealfilename Yours Paul Vernon http://www.web-architect.co.uk http://www.web-architect.co.uk/ t: +44 (0)844 779 9797 m: +44 (0)7887 952591 f: +44 (0)844 779 9797 e: mailto:[EMAIL PROTECTED] The information contained in this e-mail and any attachment is intended only for the named addressee(s). If you are not the named addressee(s), please notify the sender immediately and do not disclose, copy or distribute the contents to any other person other than the intended addressee(s). [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Dynamic image resizing etc.
Perhaps if ImageJ had a bicubic resizing option, it would be fine. But since not, I have had luck doing a few different things. 1. Blur your image before resizing. The thumbnailed image comes out about 97% as good as a bicubic resizing option, good enough for most. Typically if the image is larger than 5x your thumbnail, you may need to blur it twice before resizing. 2. Use imagemagick. It's a good program and works really well. This is what I ended up doing. -nathan strutz -Original Message- From: John Burns [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 10:12 AM To: CF-Talk Subject: Dynamic image resizing etc. I've implemented a CFC that uses ImageJ Java classes to resize, rotate, add text, etc. to images.For the most part, I'm fairly happy, but the images seem to come out a little bit distorted and not quite as clean as I'd like. Does anyone know of a better set of classes (preferably with a CFC wrapper) that can accomplish these same functions with a better quality outcome? Any information would be extremely helpful! FYI: I'm working with CFMX on Linux with Apache. John Burns [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Dynamic image resizing etc.
I'll second the ImageMagick option.It's the solution I settled on quite some time ago and has worked very well for me for a long time. -Novak -Original Message- From: Nathan Strutz [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 11:45 AM To: CF-Talk Subject: RE: Dynamic image resizing etc. Perhaps if ImageJ had a bicubic resizing option, it would be fine. But since not, I have had luck doing a few different things. 1. Blur your image before resizing. The thumbnailed image comes out about 97% as good as a bicubic resizing option, good enough for most. Typically if the image is larger than 5x your thumbnail, you may need to blur it twice before resizing. 2. Use imagemagick. It's a good program and works really well. This is what I ended up doing. -nathan strutz -Original Message- From: John Burns [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 10:12 AM To: CF-Talk Subject: Dynamic image resizing etc. I've implemented a CFC that uses ImageJ Java classes to resize, rotate, add text, etc. to images.For the most part, I'm fairly happy, but the images seem to come out a little bit distorted and not quite as clean as I'd like. Does anyone know of a better set of classes (preferably with a CFC wrapper) that can accomplish these same functions with a better quality outcome? Any information would be extremely helpful! FYI: I'm working with CFMX on Linux with Apache. John Burns _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Dynamic image resizing etc.
Do you have any information on imagemagick?Are there any CFC wrappers for it? John Burns -Original Message- From: Nathan Strutz [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 2:45 PM To: CF-Talk Subject: RE: Dynamic image resizing etc. Perhaps if ImageJ had a bicubic resizing option, it would be fine. But since not, I have had luck doing a few different things. 1. Blur your image before resizing. The thumbnailed image comes out about 97% as good as a bicubic resizing option, good enough for most. Typically if the image is larger than 5x your thumbnail, you may need to blur it twice before resizing. 2. Use imagemagick. It's a good program and works really well. This is what I ended up doing. -nathan strutz -Original Message- From: John Burns [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 10:12 AM To: CF-Talk Subject: Dynamic image resizing etc. I've implemented a CFC that uses ImageJ Java classes to resize, rotate, add text, etc. to images.For the most part, I'm fairly happy, but the images seem to come out a little bit distorted and not quite as clean as I'd like. Does anyone know of a better set of classes (preferably with a CFC wrapper) that can accomplish these same functions with a better quality outcome? Any information would be extremely helpful! FYI: I'm working with CFMX on Linux with Apache. John Burns _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Dynamic image resizing etc.
There is a CFC or UDF or something on the Macromedia Exchange. Personally I've always just built my string in a variable and then run ImageMagick via CFEXECUTE. -Novak -Original Message- From: John Burns [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 11:48 AM To: CF-Talk Subject: RE: Dynamic image resizing etc. Do you have any information on imagemagick?Are there any CFC wrappers for it? John Burns -Original Message- From: Nathan Strutz [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 2:45 PM To: CF-Talk Subject: RE: Dynamic image resizing etc. Perhaps if ImageJ had a bicubic resizing option, it would be fine. But since not, I have had luck doing a few different things. 1. Blur your image before resizing. The thumbnailed image comes out about 97% as good as a bicubic resizing option, good enough for most. Typically if the image is larger than 5x your thumbnail, you may need to blur it twice before resizing. 2. Use imagemagick. It's a good program and works really well. This is what I ended up doing. -nathan strutz -Original Message- From: John Burns [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 10:12 AM To: CF-Talk Subject: Dynamic image resizing etc. I've implemented a CFC that uses ImageJ Java classes to resize, rotate, add text, etc. to images.For the most part, I'm fairly happy, but the images seem to come out a little bit distorted and not quite as clean as I'd like. Does anyone know of a better set of classes (preferably with a CFC wrapper) that can accomplish these same functions with a better quality outcome? Any information would be extremely helpful! FYI: I'm working with CFMX on Linux with Apache. John Burns _ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Application, Client , Session Vars again
How can I display all of the client/session variables currently stored by CF for a user. Specifically I am looking for the key that controls the client. Var so I can store it in a db and do my multi-hosted site stuff that way. The cfmodule way didn't work. Steve [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Dynamic image resizing etc.
Ditto on that. There's an imagemagick tagset out there, but it always caused more problems than it solved and created way more overhead that it seemed I would ever need. -nathan strutz -Original Message- From: cf-talk [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 1:06 PM To: CF-Talk Subject: RE: Dynamic image resizing etc. There is a CFC or UDF or something on the Macromedia Exchange. Personally I've always just built my string in a variable and then run ImageMagick via CFEXECUTE. -Novak -Original Message- From: John Burns [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 11:48 AM To: CF-Talk Subject: RE: Dynamic image resizing etc. Do you have any information on imagemagick?Are there any CFC wrappers for it? John Burns -Original Message- From: Nathan Strutz [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 2:45 PM To: CF-Talk Subject: RE: Dynamic image resizing etc. Perhaps if ImageJ had a bicubic resizing option, it would be fine. But since not, I have had luck doing a few different things. 1. Blur your image before resizing. The thumbnailed image comes out about 97% as good as a bicubic resizing option, good enough for most. Typically if the image is larger than 5x your thumbnail, you may need to blur it twice before resizing. 2. Use imagemagick. It's a good program and works really well. This is what I ended up doing. -nathan strutz -Original Message- From: John Burns [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 10:12 AM To: CF-Talk Subject: Dynamic image resizing etc. I've implemented a CFC that uses ImageJ Java classes to resize, rotate, add text, etc. to images.For the most part, I'm fairly happy, but the images seem to come out a little bit distorted and not quite as clean as I'd like. Does anyone know of a better set of classes (preferably with a CFC wrapper) that can accomplish these same functions with a better quality outcome? Any information would be extremely helpful! FYI: I'm working with CFMX on Linux with Apache. John Burns _ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
numberformat
How do I apply the numberformat mask to make a 7 view as .07? Thanks. Robert O. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE:test
# This message has been sent from mike with username a ([EMAIL PROTECTED]) [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Pushing Timeout Alert to Client.
This may not best be done with a CF solution, so I'm open to any suggestions, the simpler the better. BACKGROUND We have a web application working with sensitive HIPPA information.As one could imagine, we don't really want to keep this information available for very long, so the application session times out, if inactive for a set time. If the session has timed out while open in the browser, any new action by the user causes the application to go to the start.All this is good as far as it goes, but it would be much nicer to the user, if they receive a warning of the pending and/or past expiration of the application. The main reason for this request, is that the application has some fairly complex data collection forms.It could be annoying, if a user opens one of these form, gets interrupted by the phone, comes back after the session has expired, enters all the data in the open form in their browser, submits the form to be told by the server: sorry your session has timed out, then being sent back to the start losing all their work. REQUEST I'm looking for ways I might be able to push, or in someway deliver a warning to the user?My bank's online banking website does this, and while I hate the bank itself, this is a nice feature.I'm just not sure how they do it.How they have a popup window open when the session is about to expire/has expired?Would this just be done with _javascript_?How else might this be done?Some kind of dynamic scheduled task?Something built in java and/or jsp?Something one of you has already built and can just give me. *smile* Thanks -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA Confidentiality Notice:This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Users logged in using CFLOGIN
Is there some kind of an object that can be returned to show all users who are currently logged into a given application that uses CFLOGIN? John Burns [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: numberformat
divide by 100 ;-) I'm not sure you can make a 7 display as a decimal value using masks...but dividing by 100 will get ya there Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com - Original Message - From: Robert Orlini To: CF-Talk Sent: Monday, November 17, 2003 12:17 PM Subject: numberformat How do I apply the numberformat mask to make a 7 view as .07? Thanks. Robert O. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: numberformat
yeah, i was about to say, math. -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 3:35 PM To: CF-Talk Subject: Re: numberformat divide by 100 ;-) I'm not sure you can make a 7 display as a decimal value using masks...but dividing by 100 will get ya there Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com - Original Message - From: Robert Orlini To: CF-Talk Sent: Monday, November 17, 2003 12:17 PM Subject: numberformat How do I apply the numberformat mask to make a 7 view as .07? Thanks. Robert O. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
HTML a title help
Currently I'm using the title attribute to show a message that suggest what's behind a link. Some times the message contains as many as 100 words.The problem i'm having is that the text is only visible for about 5 seconds.I need for it to remain visible until the mouse roles away. Any suggestions? Dwayne Cole, MS in MIS, MBA Florida AM University Certified Advanced ColdFusion Developer 850-591-0212 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Application, Client , Session Vars again
Steven Schuster wrote: How can I display all of the client/session variables currently stored by CF cfdump var=#session# label=Session variables cfdump var=#client# label=Client variables -- --- Matt Robertson,[EMAIL PROTECTED] MSB Designs, Inc. http://mysecretbase.com --- -- [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Pushing Timeout Alert to Client.
While this doesn't quite answer your question as to an alert, it might help with your timeout issue. If you have a lot of big forms that the user has to fill out, and you're worried about timeouts while the user is filling out the form, you could have a hidden frame in the form, and an onFocus event on the fields that the user has to fill out.The function called each time the field gets focus could reload the hidden frame's page, which would then keep the session alive while the user fills out the form. For instance: Input Type=Text Name=txtMyTextField Value= > -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 3:26 PM To: CF-Talk Subject: Pushing Timeout Alert to Client. This may not best be done with a CF solution, so I'm open to any suggestions, the simpler the better. BACKGROUND We have a web application working with sensitive HIPPA information.As one could imagine, we don't really want to keep this information available for very long, so the application session times out, if inactive for a set time. If the session has timed out while open in the browser, any new action by the user causes the application to go to the start.All this is good as far as it goes, but it would be much nicer to the user, if they receive a warning of the pending and/or past expiration of the application. The main reason for this request, is that the application has some fairly complex data collection forms.It could be annoying, if a user opens one of these form, gets interrupted by the phone, comes back after the session has expired, enters all the data in the open form in their browser, submits the form to be told by the server: sorry your session has timed out, then being sent back to the start losing all their work. REQUEST I'm looking for ways I might be able to push, or in someway deliver a warning to the user?My bank's online banking website does this, and while I hate the bank itself, this is a nice feature.I'm just not sure how they do it.How they have a popup window open when the session is about to expire/has expired?Would this just be done with _javascript_?How else might this be done?Some kind of dynamic scheduled task?Something built in java and/or jsp?Something one of you has already built and can just give me. *smile* Thanks -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA Confidentiality Notice:This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: HTML a title help
Do some _javascript_ searches for things like Link Tips Link Descriptions.You're looking at a _javascript_/DHTML solution.You can make super nice looking link descriptionsbasically a mini web page to display whatever you want about a link. I've used this approach in many business reporting apps where screen real estate is at a premium and a little heads up on what's behind a link saves the user a tonne of time ;-) HTH Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com - Original Message - From: Dwayne Cole To: CF-Talk Sent: Monday, November 17, 2003 12:38 PM Subject: HTML a title help Currently I'm using the title attribute to show a message that suggest what's behind a link. Some times the message contains as many as 100 words.The problem i'm having is that the text is only visible for about 5 seconds.I need for it to remain visible until the mouse roles away. Any suggestions? Dwayne Cole, MS in MIS, MBA Florida AM University Certified Advanced ColdFusion Developer 850-591-0212 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: HTML a title help
Try applying an accesskey to your links: a href="" title=some title here accesskey=2 (or some key to skip past this)copy/a See if that helps you out. HTH, Russ -Original Message- From: Dwayne Cole [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 2:39 PM To: CF-Talk Subject: HTML a title help Currently I'm using the title attribute to show a message that suggest what's behind a link. Some times the message contains as many as 100 words.The problem i'm having is that the text is only visible for about 5 seconds.I need for it to remain visible until the mouse roles away. Any suggestions? Dwayne Cole, MS in MIS, MBA Florida AM University Certified Advanced ColdFusion Developer 850-591-0212 _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: HTML a title help
Nope, that behavior's built into the browser (or OS - that same behavior shows up when I mouseover a button on my taskbar in XP Pro).Have you tried using a small bit of DHTML/_javascript_ for those links?Something that pops into view relative to the cursor based on the element that you're currently mousing over. - Jim Dwayne Cole wrote: Currently I'm using the title attribute to show a message that suggest what's behind a link. Some times the message contains as many as 100 words.The problem i'm having is that the text is only visible for about 5 seconds.I need for it to remain visible until the mouse roles away. Any suggestions? Dwayne Cole, MS in MIS, MBA Florida AM University Certified Advanced ColdFusion Developer 850-591-0212 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: HTML a title help
Dwayne, On 11/17/2003 at 15:38, you wrote: DC Currently I'm using the title attribute to show a message that DC suggest what's behind a link. Some times the message contains as DC many as 100 words.The problem i'm having is that the text is DC only visible for about 5 seconds.I need for it to remain visible DC until the mouse roles away. Any suggestions? Use CSS. Check out the following site's menu and style sheets for an example: http://www.mako4css.com/ ~ Ubqtous ~ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: HTML a title help
No, you can't control the tooltip behavior. Do you know those titles will NOT be visible under Netscape? Netscape doesn't do tooltips There are DHTML scripts you can use that do this in a reliable, cross browser fashion.They will also allow you to control how long the text stays visible.Check DHTML _javascript_ resources. Jann -Original Message- From: Dwayne Cole [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 12:39 PM To: CF-Talk Subject: HTML a title help Currently I'm using the title attribute to show a message that suggest what's behind a link. Some times the message contains as many as 100 words. The problem i'm having is that the text is only visible for about 5 seconds. I need for it to remain visible until the mouse roles away. Any suggestions? Dwayne Cole, MS in MIS, MBA Florida AM University Certified Advanced ColdFusion Developer 850-591-0212 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: numberformat
Thanks. How do I incorporate the / 100 into the mask. I'm new to this and am getting errors. Robert O. -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 3:37 PM To: CF-Talk Subject: RE: numberformat yeah, i was about to say, math. -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 3:35 PM To: CF-Talk Subject: Re: numberformat divide by 100 ;-) I'm not sure you can make a 7 display as a decimal value using masks...but dividing by 100 will get ya there Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com - Original Message - From: Robert Orlini To: CF-Talk Sent: Monday, November 17, 2003 12:17 PM Subject: numberformat How do I apply the numberformat mask to make a 7 view as .07? Thanks. Robert O. _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: HTML a title help
http://www.bosrup.com/web/overlib/ this guy did some really slick stuff with JS / DHTML. it's basically a library of tools for displaying highly customizable 'tooltips'. you can change all of the colors, borders, fonts, as well as include images etc since the attribute that passes in the content for the layer takes HTML. check it out. -chris.alvarado [ application developer ] 4 Guys Interactive, Inc. http://www.4guys.com http://www.4guys.com/ phone: 281.807.4344 x1716 fax: 281.807.4384 -Original Message- From: Dwayne Cole [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 2:39 PM To: CF-Talk Subject: HTML a title help Currently I'm using the title attribute to show a message that suggest what's behind a link. Some times the message contains as many as 100 words.The problem i'm having is that the text is only visible for about 5 seconds.I need for it to remain visible until the mouse roles away. Any suggestions? Dwayne Cole, MS in MIS, MBA Florida AM University Certified Advanced ColdFusion Developer 850-591-0212 _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: numberformat
Just before you NumberFormat() it... cfset MyValue = MyValue/100 #NumberFormat(MyValue,mask)# Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com - Original Message - From: Robert Orlini To: CF-Talk Sent: Monday, November 17, 2003 12:42 PM Subject: RE: numberformat Thanks. How do I incorporate the / 100 into the mask. I'm new to this and am getting errors. Robert O. -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 3:37 PM To: CF-Talk Subject: RE: numberformat yeah, i was about to say, math. -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2003 3:35 PM To: CF-Talk Subject: Re: numberformat divide by 100 ;-) I'm not sure you can make a 7 display as a decimal value using masks...but dividing by 100 will get ya there Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com - Original Message - From: Robert Orlini To: CF-Talk Sent: Monday, November 17, 2003 12:17 PM Subject: numberformat How do I apply the numberformat mask to make a 7 view as .07? Thanks. Robert O. _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]