cfmail: attachment + multipart?

2002-10-02 Thread Samuel Farmer
All, I am trying to send out a cfmail in multipart format and (sometimes) send an attachment as well. Got the first part to work, but if I add a file to the mimeAttach attribute I get the file but the email formating is lost. Any ideas/solutions? Heres the code: variables.boundary=Replace(Cre

Re: setting variable with a period

2002-10-03 Thread Samuel Farmer
You can still set variables in MX with periods. Its just if the word before the period is not a variable type (variables, form, url, request, etc.) it will make a structure. So, the rule is really that you can not have a period as part of a variable name. So, your example will work fine. HTH,

Data out of cfloginuser

2002-07-18 Thread Samuel Farmer
All, Anyone know if it is possible to read data out of cfloginuser? I have a situation where I would like to add a role for a user 5 to 10 pages after they have logged in. It is possible to run the cfloginuser tag again, but I need to know what the password and roles are so that I can set them

CFMX Error: Index: 163, Size: 156

2002-07-23 Thread Samuel Farmer
Running: CFMX with Macromedia Web Server On a series of pages I keep getting the following error: Index: 163, Size: 156 The solution seems to be to just reload as the error never comes up twice in a row. The page has a few includes and about 10 templates in all including cfc's and custom tags a

Unexplained Error Message

2002-08-13 Thread Samuel Farmer
We are getting the following error on a unix machine after verifying that the datasource exist. A google groups search reveals that others have got this error but no solution. Any help? Error: Error Occurred While Processing Request Error Diagnostic Information Oracle Error Code = 0 The drive

Re: A place for queries?

2002-08-15 Thread Samuel Farmer
If you are on MX then I would say the best place is in a component. We are working on a new project and wanted to follow a MVC model and have put all queries in components. Bit of a pain at first but the deeper you get into it the more code resuse you will find. Before we moved to that style we

cf_html2pdf3 timeout issues

2002-08-21 Thread Samuel Farmer
I am getting a timeout error, listed below, when I run this tag in either CF MX or 5. Any pointers on installation? Code: This is a test. Error MX: Timeout period expired without completion of d:\cfusionMX\bin\pdf\htmldoc-1.8.8-windows.exe The Error Occurred in D:\CFusionMX\CustomTags\pdf\htm

Re: SQL case insensitive search ???

2002-03-15 Thread Samuel Farmer
What database are you using? Other responses seem to have covered SQLServer. If you are using ORACLE then all searches are case sensitive and you would need to make both the column and the search criteria the same case in order to be "case-insensitive". ORACLE has two functions UPPER and LOWER

Re: alternating rows

2002-03-18 Thread Samuel Farmer
Also perfect time for a UDF: function bgcolor_switch(ROW) { color = "CDCDCD"; if (ROW mod 2 is 1) { color="ff"; } return color; } Code: Thanks, Sam Sam Farmer - Senior Developer Certified Advanced ColdFusion 5 Developer INTELIX - Intelligent Solutions ** A Washington Post Techway

Sometimes clearing query cache

2002-03-28 Thread Samuel Farmer
Accidently deleted the original email about this but recently encountered a similar problem so thought I would pass on how we solved it: -Paramed a variable called session.clearcache to 1 in the application.cfm file (with locking of course) -On the page that runs the query to be cached if cle

SOT: 2d barcodes

2002-07-08 Thread Samuel Farmer
All-- Has anyone any experience/advice with printing 2d barcodes? Our process would be to retrieve info from database, put in 2d format and then print. Would be using CFMX (and some 3rd party software) if that helps. Thanks, Sam __

SQLServer Stored Proc Permissions

2002-01-23 Thread Samuel Farmer
Hi, I am trying to use a system stored procedure in SQLServer7 that is in the master database called sp_fkeys. My datasource accesses a database called 'mydb' that does not have the sp_fkeys stored procedure in the database. In Query Analyzer the stored procedure works with the sams database is

Re: Login forms

2002-01-28 Thread Samuel Farmer
An easier way, and one we use in all our applications, is to test if a user has logged in or is logging in on the application.cfm file and if they have not include a login file and then abort. This way the page requested never changes and there is no need to use cflocation (my least popular tag..

Why no error.type in CF5

2002-02-05 Thread Samuel Farmer
Does anyone know why Macromedia decided to drop the key "type" from the error structure created by ?? Was a pretty useful feature. Off to rewrite some code, Sam __ Why Share? Dedicated Win 2000 Server ยท PIII 800 / 256 MB RA

Re: Custom Tag

2002-02-06 Thread Samuel Farmer
Speaking of which, are variables stored in a structure of any sort? Be really useful if they where when it came to cferror. We have cferror calling a custom tag that emails all url, form, session, cgi variables and it would be really useful to send all the variables that had been set and their v

Re: GET Size

2002-02-22 Thread Samuel Farmer
2K. Sam - Original Message - From: <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, February 22, 2002 10:56 AM Subject: GET Size > what is the max length of a GET request? > __ Why Share? Dedicat