RE: Coldfusion and XML
Thanks for the tips so far Can this be done using CF5 as opposed to MX? Thanks, Dave -Original Message- From: Thomas Chiverton [mailto:[EMAIL PROTECTED] Sent: 07 May 2004 15:55 To: CF-Talk Subject: Re: Coldfusion and XML On Friday 07 May 2004 14:37 pm, Tony Weeg wrote: > look @ to create the xml. Why not use the proper XML types and functions CF gives you ? -- Tom Chiverton Advanced ColdFusion Programmer Tel: +44(0)1749 834997 email: [EMAIL PROTECTED] BlueFinger Limited Underwood Business Park Wookey Hole Road, WELLS. BA5 1AF Tel: +44 (0)1749 834900 Fax: +44 (0)1749 834901 web: www.bluefinger.com Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple Quay, BRISTOL. BS1 6EG. *** This E-mail contains confidential information for the addressee only. If you are not the intended recipient, please notify us immediately. You should not use, disclose, distribute or copy this communication if received in error. No binding contract will result from this e-mail until such time as a written document is signed on behalf of the company. BlueFinger Limited cannot accept responsibility for the completeness or accuracy of this message as it has been transmitted over public networks.*** _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Coldfusion and XML
Forgive me if this is a very stupid question or in some way wrong, However, I think I need to send an XML feed back to a client from the server, the client machine is a touch screen that will remotely make a call to, I think, a file on our webserver that will run a query on the database and return the results - which I believe have to be in the form of an XML Feed. Is this possible, can someone give me some pointers? Thanks, Dave [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
CFMAIL PARAM
Afternoon I am coding an email to send data that the destination will read as an ini file, the original code done using JMail and ASP placed the code in the body of the email - and it is required that the following is used: MMail.ContentType = "application/x-gm-impdata" which in ColdFusion I believe is however, this then sets the text as a dat file and attaches it to the email (twice) whereas I want the text in the body, as below: from="[EMAIL PROTECTED]" to="[EMAIL PROTECTED]" subject="Web Site Import Details" type=""> #mailtext# so is it possible to get the text in the body of the email when using ?? thanks, Dave -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: 22 April 2004 14:50 To: CF-Talk Subject: RE: Max 2003 Conference Photo Yea, I agree. I would walk away from that place. That mediator is a little uptight. Talk about censorship! Wasn't even close to being humiliating. I even thought about posting in your defense, but I figured it wouldn't do any good whatsoever Ray At 09:47 AM 4/22/2004, you wrote: >wow, they are giving you a hard time in there huh > > >-Original Message- >From: Cathy Taylor [mailto:[EMAIL PROTECTED] >Sent: Thursday, April 22, 2004 9:34 AM >To: CF-Talk >Subject: Max 2003 Conference Photo > > >This is OT, but I just got accused of trying to "humiliate" someone who won >a photo contest and the photo is the picture (at least I'm fairly certain) >that was all over the Max 2003 conference. > >http://www.theparentperspective.com/boards/thread-view.asp?threadid=200 412&p >osts=15#0 > >Can someone clarify if it is? > >Thanks, >Cathy > _ > > > > _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Popularity of Cold Fusion
not sure how reliable the survey is given the statement: "Other large enterprises utilising ASP.NET include British Telecom " but a visit to bt.com defaults to: http://www.bt.com/index.jsp tesco too appears to use java servlets too or have I missed something here? -Original Message- From: Paul Vernon [mailto:[EMAIL PROTECTED] Sent: 02 April 2004 03:21 To: CF-Talk Subject: Popularity of Cold Fusion I just came across an article that was published last week on netcraft regarding the popularity of ASP.net.. Interesting to see where Cold Fusion comes on the graph and it doesn't even get a mention! ava_ servlets.html> http://news.netcraft.com/archives/2004/03/23/aspnet_overtakes_jsp_and_ja va_s ervlets.html Paul _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Fieldnames in Form scope gone...
try using attributes.fieldname not sure you use form.fieldname do you? -Original Message- From: Steini [mailto:[EMAIL PROTECTED] Sent: 22 March 2004 14:40 To: CF-Talk Subject: Fieldnames in Form scope gone... Hi all, This one has been bothering me for a while. How can it be that after a post of a form that "form.fieldnames" doesn't exist on the action page? Any ideas? Cheers Steini _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: db error
ahem that fixed it pass the dunces cap -Original Message- From: Neculai Macarie [mailto:[EMAIL PROTECTED] Sent: 22 March 2004 13:11 To: CF-Talk Subject: Re: db error Replace { with (: insert into fundprevious ( thisday, fundid, fundvalue, timeofchange ) values ( #thisfundday#, #get_funds.fundid#, '#previousValue#', #Now()# ) > Morning, > > I keep getting the following error when trying to update a database, > haven't had any problems when doing this before but this error is > peristent and I can't work out what the problem is: > > It appears to be a problem with the query as opposed to the data, the > query is as follows: > > > > insert into fundprevious > { > thisday, > fundid, > fundvalue, > timeofchange > } > values > { > #thisfundday#, > #get_funds.fundid#, > '#previousValue#', > #Now()# > } > _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: db error
I tried that and got the following - it doesnt appear to be a problem with the date going in, more like the database itself Error Diagnostic Information ODBC Error Code = 37000 (Syntax error or access violation) [Microsoft][ODBC SQL Server Driver]Syntax error or access violation SQL = "insert into fundpreviousds { thisday, fundid, fundvalue, timeofchange } values { ?, ?, ?, ? }" Query Parameter Value(s) - Parameter #1 = 1 Parameter #2 = 3 Parameter #3 = 5 Parameter #4 = {ts '2004-03-22 11:55:33'} Data Source = "FUNDMANAGER" The error occurred while processing an element with a general identifier of (CFQUERY), occupying document position (27:2) to (27:57) in the template file D:\INETPUB\WWWROOT\FUNDMANAGER\ADMIN\FUND\ACT_UPDATESTOCK.CFM. -Original Message- From: Pascal Peters [mailto:[EMAIL PROTECTED] Sent: 22 March 2004 11:43 To: CF-Talk Subject: RE: db error He uses SQL Server over ODBC (it's in the error message). Doing what you suggest will not work here, because he needs the time (maybe date & time) and not the date. Now() returns date & time in ODBC format! I have no idea what is going wrong, but try using eliminate any data problem. I'm not saying this will solve your problem, but you should use it anyway Pascal > -Original Message- > From: Declan Maher [mailto:[EMAIL PROTECTED] > Sent: maandag 22 maart 2004 12:32 > To: CF-Talk > Subject: RE: db error > > Could be a number of reasons. What database are you using? > > Try > > > insert into fundprevious > { > thisday, > fundid, > fundvalue, > timeofchange > } > values > { > #thisfundday#, > #get_funds.fundid#, > '#previousValue#', > #CreateODBCDate( Now())# > } > > > > -Original Message- > From: David Ashworth [mailto:[EMAIL PROTECTED] > Sent: 22 March 2004 11:29 > To: CF-Talk > Subject: db error > > > Morning, > > > I keep getting the following error when trying to update a > database, haven't had any problems when doing this before but > this error is peristent and I can't work out what the problem is: > > > It appears to be a problem with the query as opposed to the > data, the query is as follows: > > > name="update_funds" datasource="#request.dsn#"> > insert into fundprevious > { > thisday, > fundid, > fundvalue, > timeofchange > } > values > { > #thisfundday#, > #get_funds.fundid#, > '#previousValue#', > #Now()# > } > > > which gives this error: > > > ODBC Error Code = 37000 (Syntax error or access violation) > > [Microsoft][ODBC SQL Server Driver]Syntax error or access violation > > SQL = "insert into fundprevious { thisday, fundid, fundvalue, > timeofchange } values { 1, 3, '5', {ts '2004-03-22 11:28:38'} }" > > Data Source = "FUNDMANAGER" > > The error occurred while processing an element with a general > identifier of (CFQUERY), occupying document position (27:2) > to (27:57) in the template file > D:\INETPUB\WWWROOT\FUNDMANAGER\ADMIN\FUND\ACT_UPDATESTOCK.CFM. > > any thoughts? > _ > > > > _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: db error
am using SQL server 2000 that didn't work, doesn't appear to be a problem with any of the values more a db error the table name is spelt correctly and the datasource is fine as i use that same datasource for other querys on the same page -Original Message- From: Declan Maher [mailto:[EMAIL PROTECTED] Sent: 22 March 2004 11:32 To: CF-Talk Subject: RE: db error Could be a number of reasons. What database are you using? Try insert into fundprevious { thisday, fundid, fundvalue, timeofchange } values { #thisfundday#, #get_funds.fundid#, '#previousValue#', #CreateODBCDate( Now())# } -Original Message- From: David Ashworth [mailto:[EMAIL PROTECTED] Sent: 22 March 2004 11:29 To: CF-Talk Subject: db error Morning, I keep getting the following error when trying to update a database, haven't had any problems when doing this before but this error is peristent and I can't work out what the problem is: It appears to be a problem with the query as opposed to the data, the query is as follows: insert into fundprevious { thisday, fundid, fundvalue, timeofchange } values { #thisfundday#, #get_funds.fundid#, '#previousValue#', #Now()# } which gives this error: ODBC Error Code = 37000 (Syntax error or access violation) [Microsoft][ODBC SQL Server Driver]Syntax error or access violation SQL = "insert into fundprevious { thisday, fundid, fundvalue, timeofchange } values { 1, 3, '5', {ts '2004-03-22 11:28:38'} }" Data Source = "FUNDMANAGER" The error occurred while processing an element with a general identifier of (CFQUERY), occupying document position (27:2) to (27:57) in the template file D:\INETPUB\WWWROOT\FUNDMANAGER\ADMIN\FUND\ACT_UPDATESTOCK.CFM. any thoughts? _ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
db error
Morning, I keep getting the following error when trying to update a database, haven't had any problems when doing this before but this error is peristent and I can't work out what the problem is: It appears to be a problem with the query as opposed to the data, the query is as follows: insert into fundprevious { thisday, fundid, fundvalue, timeofchange } values { #thisfundday#, #get_funds.fundid#, '#previousValue#', #Now()# } which gives this error: ODBC Error Code = 37000 (Syntax error or access violation) [Microsoft][ODBC SQL Server Driver]Syntax error or access violation SQL = "insert into fundprevious { thisday, fundid, fundvalue, timeofchange } values { 1, 3, '5', {ts '2004-03-22 11:28:38'} }" Data Source = "FUNDMANAGER" The error occurred while processing an element with a general identifier of (CFQUERY), occupying document position (27:2) to (27:57) in the template file D:\INETPUB\WWWROOT\FUNDMANAGER\ADMIN\FUND\ACT_UPDATESTOCK.CFM. any thoughts? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: server session settings - UPDATE
Right, I have noticed what the main part of the problem I am having is. On my dev server, I go to the admin login screen, and a CFID and CFTOKEN are generated in the url, which is fine I open another window, go to admin on the dev server and as expected another CFID and CFTOKEN are generated, the values of which differ to those on the first window Now, on my application server, if you do this, the CFID and CFTOKEN values generated in both windows are exactly the same Any idea why this is? As there is more than one level of admin which a user can access, it maybe that they want two browsers open with different logins, so I need different ids to be generated! Thanks in advance Dave -Original Message- From: David Ashworth [mailto:[EMAIL PROTECTED] Sent: 18 March 2004 10:50 To: CF-Talk Subject: RE: server session settings Thanks for the help so far now, I implemented this code in my fbx_settings file - however, cutting and pasting the the URL still allows a user to bypass the login, is there something I have missed? sessionmanagement="Yes" setclientcookies="no"> -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: 17 March 2004 18:39 To: CF-Talk Subject: RE: server session settings > Basically, sessions are not being killed when the browser is > closed and even so, they should not be transerable to a new > browser, which would appear to be what they are doing. By default, sessions are not closed when you close the browser. The cookies that tie the session to the browser are persistent cookies. In addition, if you use URL parameters to tie the session to the browser, and you copy those URL parameters from one browser to another, the second browser will be associated with the session data as well. If you want to make cookie-based sessions close when the browser is closed, you'll need to write non-persistent cookies to the browser: You can dispense with the lock if you're using CFMX. If you omit the TIMEOUT attribute of CFCOOKIE, the cookies will be destroyed when the browser is closed. Or, if you're using CFMX, you can enable J2EE sessions, which will use a single non-persistent cookie called "JSESSIONID" instead of CFID and CFTOKEN. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 _ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: server session settings
Thanks for the help so far now, I implemented this code in my fbx_settings file - however, cutting and pasting the the URL still allows a user to bypass the login, is there something I have missed? sessionmanagement="Yes" setclientcookies="no"> -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: 17 March 2004 18:39 To: CF-Talk Subject: RE: server session settings > Basically, sessions are not being killed when the browser is > closed and even so, they should not be transerable to a new > browser, which would appear to be what they are doing. By default, sessions are not closed when you close the browser. The cookies that tie the session to the browser are persistent cookies. In addition, if you use URL parameters to tie the session to the browser, and you copy those URL parameters from one browser to another, the second browser will be associated with the session data as well. If you want to make cookie-based sessions close when the browser is closed, you'll need to write non-persistent cookies to the browser: You can dispense with the lock if you're using CFMX. If you omit the TIMEOUT attribute of CFCOOKIE, the cookies will be destroyed when the browser is closed. Or, if you're using CFMX, you can enable J2EE sessions, which will use a single non-persistent cookie called "JSESSIONID" instead of CFID and CFTOKEN. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
server session settings
Good afternoon. On both my development server and live server I have an application running which requires login. I have two scenarios that are occuring despite both servers having the same session settings and using the same code: On the live server, if you log in on one browser, you can then cut and paste the url into a new browser and you will be automatically logged in, alternatively, you can shut down all browsers, launch a new one, paste the url in and again be logged in automatically. What should happen, and which does happen on the dev server is that you should always be required to log in in a new browser as obviously this is a new session. As I said, both servers have the same settings (though now I'm wondering), use the same code and both run off fusebox 3. Basically, sessions are not being killed when the browser is closed and even so, they should not be transerable to a new browser, which would appear to be what they are doing. Has anyone come across something like this before? Any ideas what this could be? Thanks in advance, Dave [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
user friendly error pages in Fusebox
Right I need to develop some "friendly error" pages to appear in my applications instead of the ones you get for SQL and Fusebox errors within Fusebox applications - these are the "Error occured whilst processing reports" pages. IS there anyway of making them more user friendly and incorporate them into the look and feel of your website? Thanks in advance Dave [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
get the CFAPPLICATION name
might be a really easy one this, but how do I output the CFAPPLICATION name? was thinking request.applicationname or something along those links but haven't figured it out or been able to find the answer thanks in advance [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Customised Alert Boxes
cheers for the links I found this one in the end and it seems to be working pretty well http://developer.netscape.com/viewsource/goodman_modal/goodman_modal.htm l works in netscape also -Original Message- From: Burns, John [mailto:[EMAIL PROTECTED] Sent: 11 March 2004 14:09 To: CF-Talk Subject: RE: Customised Alert Boxes Modal dialogues are probably your best bet, though some browsers don't respond well with them. In Longhorn, that sounds like more of what they're going for. John Burns -Original Message----- From: David Ashworth [mailto:[EMAIL PROTECTED] Sent: Thursday, March 11, 2004 5:07 AM To: CF-Talk Subject: Customised Alert Boxes Is there anyway of customising alert boxes to make them look "nicer" and more user friendly. Alternatively, has anyone ever used a pop up window to act in the same way as an alert box - where you submit a form, the pop up comes up and you can either continue or cancel and close the box - presume there are issues with passing form variables are modal forms the answer? all comments appreciated _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Customised Alert Boxes
Is there anyway of customising alert boxes to make them look "nicer" and more user friendly. Alternatively, has anyone ever used a pop up window to act in the same way as an alert box - where you submit a form, the pop up comes up and you can either continue or cancel and close the box - presume there are issues with passing form variables are modal forms the answer? all comments appreciated [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
catching session timeouts
Within a web app, using fusebox, how is the best way to check that the session hasn't timed out before going to a page that requires session variables - would it be in the fbx_switch file? all ideas appreciated thanks Dave [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
upgrading to Coldfusion MX
Hello, I am upgrading from Coldfusion 5 to Coldfusion MX 6.1 are there any known issues in doing so? what happens to 5 once 6.1 is installed, is it going to overwrite it? If so, are there any rollback issues if we do experience problems? Thanks in advance, Dave [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
testing procedures
Can someone point me the direction of documentation that can be used for testing web apps developed using coldfusion? Any thing to do with usuability etc would also be useful. Thanks in advance, Dave [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Which is quicker
doh still in the transitional phase from ASP to ColdFusion but you catch my drift -Original Message- From: Philip Arnold [mailto:[EMAIL PROTECTED] Sent: 12 February 2004 14:26 To: CF-Talk Subject: RE: Which is quicker > or outside the tag: > > cfif x=y > isChecked = "checked" > else > isChecked = "checked" > /cfif > > Only if you want it to always be checked Oh, and to break since you can't do "cfif x=y" it'd have to be "cfif x eq y" _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Which is quicker
you wouldn't have to code it twice using CFIF just have the CFIF around the checked parameter checked> -Original Message- From: Bill Grover [mailto:[EMAIL PROTECTED] Sent: 12 February 2004 12:47 To: CF-Talk Subject: RE: Which is quicker The one place I've found that I really like the IIF is to use it in areas like the following code sample: name="#REQUEST.cReorderFormArtPrefix##ReorderJob.ljob#" value="Yes" #IIF(laReorderJobs[lnLoop][REQUEST.cReorderFormArtPrefix] NEQ "", DE("CHECKED"), DE(""))#> I found using it this way is much more readable in my code then using and having to code the almost identical tag twice with only the "CHECKED" option in or out. __ Bill Grover Manager, Information Systems Phone:301.424.3300 x3324 EU Services, Inc. FAX:301.424.3696 649 North Horners Lane E-Mail:[EMAIL PROTECTED] Rockville, MD 20850-1299 WWW:http://www.euservices.com __ -Original Message- From: Matthew Walker [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 11, 2004 6:27 PM To: CF-Talk Subject: RE: Which is quicker Really? I'm getting about 50 and 150ms respectively. So for me while iif() is slower it's only one hundredth of a millisecond difference i.e. way below anything I'd worry about. So it's a style thing then. -Original Message- From: Tom Kitta [mailto:[EMAIL PROTECTED] Sent: Thursday, 12 February 2004 11:11 a.m. To: CF-Talk Subject: RE: Which is quicker You may get these results due to use of de(), run this code, which I think is more fair: 12 #temp-getTickCount()# #iif(i mod 2, 1, 2)# #temp-getTickCount()# I got 15 - 16 as results for both of them with some variations both ways which I discard as noise. TK -Original Message- From: Matthew Walker [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 11, 2004 5:57 PM To: CF-Talk Subject: RE: Which is quicker My test indicates iif() is about 400% slower. But the real issue is code readability. If you think it's more readable in any or all circumstances, I say go for it. Personally, I think this example demonstrates it is less readable. There are probably other example that show it in a better light. Here's my sample: !? #iif(i mod 2, de("!"), de("?"))# -Original Message- From: Tom Kitta [mailto:[EMAIL PROTECTED] Sent: Thursday, 12 February 2004 10:47 a.m. To: CF-Talk Subject: RE: Which is quicker I don't know why people don't like iif (immediate if), it is as quick as cfif and takes only one line. For simple things, like "if x < y print true else print false", I think using iif makes code shorter without sacrificing clarity and speed. If you don't believe iif is fast then I encourage you to write a small test and see for yourself. TK -Original Message- From: Matthew Walker [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 11, 2004 5:34 PM To: CF-Talk Subject: RE: Which is quicker cfswitch is both quicker and more elegant. The only downside is that it doesn't handle dynamic values. Iii() is one of those functions, like evaluate(), usage of which is generally discouraged. -Original Message- From: Parker, Kevin [mailto:[EMAIL PROTECTED] Sent: Thursday, 12 February 2004 10:30 a.m. To: CF-Talk Subject: Which is quicker Can I get a little advice on which is quicker or which is the preferred way of programming - there are 8 items to select from: CFIF, CFCASE or IIF TIA! +++ Kevin Parker Web Services Manager WorkCover Corporation p: 08 8233 2548 e: [EMAIL PROTECTED] w: www.workcover.com +++ This e-mail is intended for the use of the addressee only. It may contain information that is protected by legislated confidentiality and/or is legally privileged. If you are not the intended recipient you are prohibited from disseminating, distributing or copying this e-mail. Any opinion expressed in this e-mail may not necessarily be that of the WorkCover Corporation of South Australia. Although precautions have been taken, the sender cannot warrant that this e-mail or any files transmitted with it are free of viruses or any other defect. If you have received this e-mail in error, please notify the sender immediately by return e-mail and destroy the original e-mail and any copies. _ _ _ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE:
this article shows you how to do that http://www.houseoffusion.com/cf_lists/index.cfm/method=messages d=126&forumid=20> &threadid=126&forumid=20 -Original Message- From: Tangorre, Michael [mailto:[EMAIL PROTECTED] Sent: 11 February 2004 16:12 To: CF-Talk Subject: RE: Isn't there a way to determine whether or not the client gets an HTML or text version? I seem to recall that a newsletter I used to get got sent to my school address (when I was in college) as plain text, yet the one that came to my Comcast email was HTML How did they do that? _ From: Ubqtous [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 11, 2004 11:11 AM To: CF-Talk Subject: Re: Stuart, On 2/11/2004 at 10:44, you wrote: SK> I am sending out an email message to users when they register on SK> my site. However, some people have said that bits are missing, SK> graphic etc. These are all stored on my website and in my CFMAIL SK> tag they are the usual http links to images and a stylesheet CSS can be tricky. I tend to use Element-level styles (BODY, TD, P, etc) instead of classes (e.g., ".header") as MS Outlook doesn't seem to preserve the period in the class notation. If formatting is an absolute must, I resort to , , and the like. SK> Does anyone know of any irregularities with the CFMAIL tag? I've had to add CFMAILPARAMs to HTML emails as some email clients don't seem to recognize CFMAIL messages as HTML by default: SK> Is there anyway to make sure my message can be seen by all that SK> read it, not dependent on which email client they use? You'll have to code to the least common denominator to ensure that the message looks the same for everyone; which could mean using plain text instead of--or in addition to--HTML. SK> Also, i noticed that some people don't get the mail, instead it SK> goes straight to their JUNK MAIL box (Yahoo! especially). Is SK> there a way to avoid this? I have made sure the user's name is in SK> the TO field. Maybe it's doing this because it sees a link in the SK> page which doesn't link to the exact site, for instance say it SK> says www.mysite.com the link is actually to SK> www.mysite.com/test.cfm. If you're not on the recipient's 'white list', there's not much you can do. Addressing the message directly to the person will help, but in the end you can't force your message into their inbox--which is a good thing! Also, it seems that sender address verification (SAV) is becoming more common, so make sure that the 'from' address is a legitimate email account. ~ Ubqtous ~ _ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Coldfusion and ASP
is it possible to have Coldfusion and ASP execute on the same page? if so, how? thanks in advance [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: accessing COM objects using Coldfusion
Both Unzip and Unzip() produce the same error as an aside I tried the code with just one of the methods at a time to see if one of them in particular was causing the error eg: cfmzipper.Debug = true; but still get same error I thought maybe the methods/properties weren't being recognised due to maybe not initiaiting the object correctly, but when I tried: cfmzipper.Desdssbug = true; it said Failed attempting to find "DESDSSBUG" property/method on the object so now I'm confused!!! is there is something I've missed maybe on cfobject or cfscript?? -Original Message- From: Rob Rohan [mailto:[EMAIL PROTECTED] Sent: 10 February 2004 17:01 To: CF-Talk Subject: Re: accessing COM objects using Coldfusion Is Unzip a method? cfmzipper.UnZip; or cfmzipper.UnZip(); On Tue, 2004-02-10 at 08:56, David Ashworth wrote: > Hello, > > I have installed the component "aspZip.EasyZIP" that is used to unzip > files, here is the code in ASP: > > const AddDirNames = 1 > const AddZipTime = 2 > const AddRecurseDirs = 4 > const AddHiddenFiles = 8 > const AddEncrypt = 16 > const AddSeparateDirs = 32 > > dim ZIP, zipItem1 > > set ZIP = server.createobject("aspZip.EasyZIP") > > Zip.Debug = true > Zip.ZipFileName = Server.MapPath("Tcg_divi.zip") > Zip.ArgsAdd("*.*") > Zip.ExtrbaseDir = "D:\INETPUB\WWWROOT\ZIP\" > Zip.ExtrOptions = 1 > Zip.UnZip > response.Write "Files UnZipped=" & Zip.SuccessCNT & " with Error="& > Zip.Error & " message=" & Zip.LastMessage > > However, I want to recreate this in Coldfusion, but keep running into > errors, the code I have developed is as follows: > > > > type="com"> > > > > type="com"> > > > > > > > > > > > > > cfmzipper.Debug = true; > cfmzipper.ZipFileName = "D:\INETPUB\WWWROOT\ZIP\Tcg_divi.zip"; > cfmzipper.ArgsAdd("*.*"); > cfmzipper.ExtrbaseDir = "D:\INETPUB\WWWROOT\ZIP\"; > cfmzipper.ExtrOptions = 1; > cfmzipper.UnZip; > > > > Now I know that the debug property etc are being recognised as if I > change the name slightly, I am told that is not a recognised method. > > The error message I am getting is: > > Error Diagnostic Information > > The error occurred while processing an element with a general identifier > of (CFSCRIPT), occupying document position (26:1) to (26:10) in the > template file D:\INETPUB\WWWROOT\ZIP\test.cfm. > > Anyone know where I am going wrong? > > Thanks in advance > > Dave > > _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
accessing COM objects using Coldfusion
Hello, I have installed the component "aspZip.EasyZIP" that is used to unzip files, here is the code in ASP: const AddDirNames = 1 const AddZipTime = 2 const AddRecurseDirs = 4 const AddHiddenFiles = 8 const AddEncrypt = 16 const AddSeparateDirs = 32 dim ZIP, zipItem1 set ZIP = server.createobject("aspZip.EasyZIP") Zip.Debug = true Zip.ZipFileName = Server.MapPath("Tcg_divi.zip") Zip.ArgsAdd("*.*") Zip.ExtrbaseDir = "D:\INETPUB\WWWROOT\ZIP\" Zip.ExtrOptions = 1 Zip.UnZip response.Write "Files UnZipped=" & Zip.SuccessCNT & " with Error="& Zip.Error & " message=" & Zip.LastMessage However, I want to recreate this in Coldfusion, but keep running into errors, the code I have developed is as follows: type="com"> type="com"> cfmzipper.Debug = true; cfmzipper.ZipFileName = "D:\INETPUB\WWWROOT\ZIP\Tcg_divi.zip"; cfmzipper.ArgsAdd("*.*"); cfmzipper.ExtrbaseDir = "D:\INETPUB\WWWROOT\ZIP\"; cfmzipper.ExtrOptions = 1; cfmzipper.UnZip; Now I know that the debug property etc are being recognised as if I change the name slightly, I am told that is not a recognised method. The error message I am getting is: Error Diagnostic Information The error occurred while processing an element with a general identifier of (CFSCRIPT), occupying document position (26:1) to (26:10) in the template file D:\INETPUB\WWWROOT\ZIP\test.cfm. Anyone know where I am going wrong? Thanks in advance Dave [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]