Re: imap.cfc

2010-01-29 Thread Adrocknaphobia
Or you could upgrade to CF9 for the new CFIMAP tag. ;-) -Adam On Fri, Jan 29, 2010 at 2:36 AM, Richard Meredith-Hardy r...@flymicro.comwrote: OK, thanks, I'll take a look. -Original Message- From: denstar [mailto:valliants...@gmail.com] Sent: 27 January 2010 19:56 To:

Re: cfmail with gmail - second question

2010-01-29 Thread rex
According to http://mail.google.com/support/bin/answer.py?hl=enanswer=13287 http://mail.google.com/support/bin/answer.py?hl=enanswer=13287 gmail requires either SSL or TLS to send email from a client I tried your code, but added the following and it worked: port=465 useSSL=true I

RE: CF9 cfquery not giving same insert results as CF7

2010-01-29 Thread DURETTE, STEVEN J (ATTASIAIT)
Use SCOPE_IDENTITY(). @@Identity returns the id for the last record inserted. If an another insert into that table occurs between your insert and the select @@identity (2 different people making inserts into the db for example) you will get the id for the other record that was inserted. Scope

Re: CF9 cfquery not giving same insert results as CF7

2010-01-29 Thread Michael Dinowitz
Thanks. This gives me a bit of extra information on top of the research I've done on the topic. Now comes a few extended questions. :) 1. When a cfquery has a result attribute defined, it will return data about the query and in the case of an insert, the id of the inserted item. The assumption

RE: CF9 cfquery not giving same insert results as CF7

2010-01-29 Thread DURETTE, STEVEN J (ATTASIAIT)
I don't know what CF9 is doing under the hood. What I do is put all the queries in stored procedures. At the beginning of the procedure I always put SET NOCOUNT ON and I always end with SET NOCOUNT OFF. If you have a procedure that is doing a lot of stuff it can reduce a lot of back and forth

cfscript's cfabort

2010-01-29 Thread Chad Gray
I have some CFScript running and each time I set a variable I run a function to check if there is an error. If there is an error I would like to “CFAbort” the scripting so it does not continue. Can you abort the rest of the script if the error function is called? I tried break; in the

Re: cfscript's cfabort

2010-01-29 Thread Raymond Camden
CF9? If so, use abort; On Fri, Jan 29, 2010 at 9:07 AM, Chad Gray cg...@careyweb.com wrote: I have some CFScript running and each time I set a variable I run a function to check if there is an error. If there is an error I would like to “CFAbort” the scripting so it does not continue.  

RE: CF9 cfquery not giving same insert results as CF7

2010-01-29 Thread Leigh
As for the SET NOCOUNT ON and SET NOCOUNT OFF, they have no effect on these.  The only thing that does is prevent extra network traffic by stopping the extra reporting of how many rows were affected for each piece of the query. In CF8 it did have an effect on cfquery's in some situations.

RE: cfscript's cfabort

2010-01-29 Thread Chad Gray
Nope CF8. I will put this on the list of reasons to upgrade though. -Original Message- From: Raymond Camden [mailto:rcam...@gmail.com] Sent: Friday, January 29, 2010 10:30 AM To: cf-talk Subject: Re: cfscript's cfabort CF9? If so, use abort;

RE: cfscript's cfabort

2010-01-29 Thread Leigh
Nope CF8.  I will put this on the list of reasons to upgrade though. You could wrap the the cfabort in a cffunction. Then call it from cfscript. I believe there is a udf at cflib.org that does that.. ~| Want to reach

RE: cfscript's cfabort

2010-01-29 Thread Chad Gray
Interesting idea... I could just take my function and put the entire thing in it. Then call it. I will try it out. Thanks Chad -Original Message- From: Leigh [mailto:cfsearch...@yahoo.com] Sent: Friday, January 29, 2010 10:44 AM To: cf-talk Subject: RE: cfscript's cfabort Nope

Running CF as a specific user

2010-01-29 Thread Tom McNeer
I haven't seen this discussed in years, and the Adobe Knowledge Base article is more than three years old. So I'd like to see if someone has recent experience with setting a specific user account for CF, rather than running it as System. The server in question is Win Server 2008 running CF

createObject COM and ReleaseComObject

2010-01-29 Thread Chad Gray
If anyone has been following my posts I am working with a COM object to create PDFs. I place images, text etc on the PDF at exact places (x/y coordinates) using ActivePDF. Now I am reading up on using COM objects and there is the releaseComObject function that I can call to dump the

Re: Running CF as a specific user

2010-01-29 Thread Dave Watts
I haven't seen this discussed in years, and the Adobe Knowledge Base article is more than three years old. So I'd like to see if someone has recent experience with setting a specific user account for CF, rather than running it as System. The server in question is Win Server 2008 running CF

Re: createObject COM and ReleaseComObject

2010-01-29 Thread Dave Watts
Now I am reading up on using COM objects and there is the releaseComObject function that I can call to dump the resources of the object.  The documentation says I don’t have to use it that the garbage collection will eventually clean things up. You probably will have to use that function,

Re: Running CF as a specific user

2010-01-29 Thread Tom McNeer
Hi Dave, I was hoping you'd jump in, since you always know more about server configuration than the rest of us combined. So just to make sure I'm clear: On Fri, Jan 29, 2010 at 11:42 AM, Dave Watts dwa...@figleaf.com wrote: Full control of those directories is NOT required. In fact, you can

Chase Paymentech Orbital Gateway

2010-01-29 Thread Dawn Sekel
Has anyone added a shopping cart application on their site that interfaces with Paymentech? We host our own CF site and want to start accepting on-line payments. If so, do you have any recommendations for an easy to use SDK? Or what would be the steps needed to start from scratch? I

Re: Running CF as a specific user

2010-01-29 Thread Dave Watts
So as long as I have the correct permissions on the CF install directory and on the directories containing my content (in and out of the actual web root), I'm good, right? No need to set any permissions on the Windows directories at all? If you create a new user account as a member of the

Re: Running CF as a specific user

2010-01-29 Thread Tom McNeer
Hi Dave, On Fri, Jan 29, 2010 at 12:17 PM, Dave Watts dwa...@figleaf.com wrote: If you were (or presumably are) storing Client variables in the Registry, CF needs to be able to write to a subkey within there. My answer to that is, don't store Client variables in the Registry - it's just a

CF9 Solr Security Vulnerability

2010-01-29 Thread Pete Freitag
Hi Folks, Incase you missed it, Adobe just released a security bulletin for CF9: http://www.adobe.com/support/security/bulletins/apsb10-04.html Essentially the CF9 solr service runs on port 8983 on your servers public IP's, instead of just 127.0.0.1, which leaves your solr collections open.

CF Equivalent of JAVA code.

2010-01-29 Thread DURETTE, STEVEN J (ATTASIAIT)
Hi All, I'm trying to do some work and I have some java examples. For the most part I can easily convert to CF, but I'm not sure how to convert this: If(wb instanceof XSSFWorkbook) file += x; I don't know how to check if wb is an instance of XSSFWorkbook. Wb could be XSSFWorkbook or

Need to create an ecrypted zip file

2010-01-29 Thread Matthew Friedman
Running CF 7 we are using the zip.cfc to create a dynamic zip file and this works great. We need to then add a password to this. we tried to use the tag cfx_zippassword to add a password and I am getting a wierd error. if you only have one file it works, but if you add more then only the first

Clients Can't Login - IE8 Caching?

2010-01-29 Thread Randy Zeitman
Sometimes people fail when they login to my site, even with the correct info. As I made my own log of success/fails I saw the attempts weren't even being logged. I had one user delete the temp file cache, in IE8, and it magically worked (and was properly logged...so now the login page

RE: CF Equivalent of JAVA code.

2010-01-29 Thread brad
At the risk of making several assumptions if(getmetadata(wb).name == 'XSSFWorkbook') file += x; ~Brad Original Message Subject: CF Equivalent of JAVA code. From: DURETTE, STEVEN J (ATTASIAIT) sd1...@att.com Date: Fri, January 29, 2010 12:50 pm To: cf-talk

RE: CF Equivalent of JAVA code.

2010-01-29 Thread DURETTE, STEVEN J (ATTASIAIT)
Dohh, it wasn't that, but when you did that I decided to cfdump the object. After a little investigation, I found that cfif findNoCase(XSSFWorkbook, Variables.wb1.class.getCanonicalName()) Is the equivalent of what I needed. Thanks for the push in the right direction! -Original

Re: CF Equivalent of JAVA code.

2010-01-29 Thread Pete Freitag
You can use the IsInstanceOf() function in CF8+ to do this, but you would need the full package classname of XSSFWorkbook, for example: cfif IsInstanceOf(wb, com.example.XSSFWorkbook) ... /cfif Pete Freitag http://foundeo.com/ - ColdFusion Consulting Products http://petefreitag.com/ - My

RE: CF Equivalent of JAVA code.

2010-01-29 Thread DURETTE, STEVEN J (ATTASIAIT)
Definitely good to know. I'm hoping that when I'm done with the changes to a cfc I'm working on it will be backward compatible all the way to CFMX. We have a lot of different versions throughout the company and it would be nice if we had one cfc for all/most of them. Maybe in the future I'll

Re: Clients Can't Login - IE8 Caching?

2010-01-29 Thread Bas Powell
I have had a similar problem with my site recently, could i ask whether you use session variables as the structure for your login process and also whether you have J2EE session variables enabled or just using regular session variables (cookie based) in your CF admin settings. Not sure if your

RE: Clients Can't Login - IE8 Caching?

2010-01-29 Thread Chad Gray
I have seen some problems with jQuery and IE8 caching. IE8 sees the same URL variables and decides to use the cached page rather than loading the page again. I added a time stamp variable (foo=hhmmss) to my URLs and IE sees the different URL variables and loads the page rather than using the

Re: Clients Can't Login - IE8 Caching?

2010-01-29 Thread Mike Chabot
A form post shouldn't be cached, and https URLs shouldn't be cached either. Does your login page perform a form post? Does it use SSL? For the login attempts you say aren't logged in your custom logging solution, do the Web server logs have any record of the form posts? If your Web server is

Re: Clients Can't Login - IE8 Caching?

2010-01-29 Thread Dave l
In the past I had issues staying logged in if the url didn’t have the www. in it, you could log in but every page would ask you for a login and this was just with setting a reg session, so I forced the www. on the name and it was fine after. I have seen some problems with jQuery and IE8