RE: CFFTP - putfile problem

2003-10-30 Thread Pedro Mendes
When I specify a single file, it works ok. The problem is when I want it to loop through the contents of a directory. I have tried what Shahzad sugested. I thought it would work too, but no. I think it may be the way remotefile is defined. Maybe it isn't getting the name of the file right. But,

Re: CF/Access/SQL query

2003-10-30 Thread Chris
Laura, Try this : cfquery name=PermitSearch datasource=CMISPersonnel SELECT Personnel.PersonnelKey , Personnel.FirstName, Personnel.MiddleInitial, Personnel.LastName, Personnel.Zip, Vehicles.PersonnelKey , Vehicles.SpaceNumber, Vehicles.TagNumber, Vehicles.DecalNumber,

coldfusion and clob

2003-10-30 Thread Steff
Hello I have a problem with clob datatype I get this error 0 [sans InfoGene] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

RE: SES urls on CFMX 6.1

2003-10-30 Thread Bert Dawson
I'd advise anyone starting from scratch to wrap the URL in a UDF and use that to determine whether it should be SES formatted or otherwise. Then next time a problem arises, or a change needs to be made, you'll be able to do it all via the UDF. Bert ps here's the different options for using this

RE: SES urls on CFMX 6.1

2003-10-30 Thread Craig Dudley
I dont understand why you all want these types of url's. Search engines do not have any trouble whatsoever following dynamic links, they might have done 5+ years ago, not now. So calling them 'Search Engine Safe' would seem to be a misnomer. Are you just trying to increase readability for your

RE: detect line break

2003-10-30 Thread Philip Arnold
Actually, it's normally Chr(13) then Chr(10) (carriage return, line feed) Although searching for either will normally do - unless the file has been created without one of the characters -Original Message- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29,

Re: SES urls on CFMX 6.1

2003-10-30 Thread Thomas Chiverton
On Thursday 30 Oct 2003 10:45 am, Craig Dudley wrote: I dont understand why you all want these types of url's. Search engines do not have any trouble whatsoever following dynamic links, True, but Google for instance will mark down pages on dynamic URLs, accessed via a dynamic URL. -- Tom

Proccess text string as variable after output

2003-10-30 Thread Britta Bennett
Hi Guys, I can't figure this one out, have wasted tons of time exerimenting.. guess it's time to ask for help.. Inside loop: cfset cont = form.Contactuse#loopcount# Then I want to output this parameter: SET ContactUse='#cont#', The problem is that all it does is output the param as TEXT, I

Re: Proccess text string as variable after output

2003-10-30 Thread Stephen Moretti
Britta, You can access all variables in all scopes as structures scope[variablename], so. cfset cont = form.Contactuse#loopcount# cfset cont = form[Contactuseloopcount] Regards Stephen [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re: Proccess text string as variable after output

2003-10-30 Thread Randell B Adkins
try this instead: CFSET CONT = EVALUATE('form.ContacUse' loopcount) [EMAIL PROTECTED] 10/30/03 06:26AM Hi Guys, I can't figure this one out, have wasted tons of time exerimenting.. guess it's time to ask for help.. Inside loop: cfset cont = form.Contactuse#loopcount# Then I want to output

RE: Proccess text string as variable after output

2003-10-30 Thread Pascal Peters
cfset cont = form[Contactuse loopcount] -Original Message- From: Britta Bennett [mailto:[EMAIL PROTECTED] Sent: donderdag 30 oktober 2003 12:27 To: CF-Talk Subject: Proccess text string as variable after output Hi Guys, I can't figure this one out, have wasted tons of time

RE: Proccess text string as variable after output

2003-10-30 Thread Philip Arnold
Use bracket notation cfset cont=form[ContactUse#loopcount#] The way you had it, you could use Evaluate(), but it's faster to use the bracket notation -Original Message- From: Britta Bennett [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2003 6:27 AM To: CF-Talk Subject:

Thanks so much..

2003-10-30 Thread Britta Bennett
It's back to Ben Forta's bible... been programming for three years, I don't know how I got by without learning this till now! Better go back and see what other goodies I missed the first time around.. Thanks again to everyone! Cheers, Britta [Todays Threads] [This Message] [Subscription]

RE: SES urls on CFMX 6.1

2003-10-30 Thread Greg Luce
Does using SES make web stats work better? I've had more complaints about not having thorough web stats than search engine placement. Greg -Original Message- From: Thomas Chiverton [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2003 7:34 AM To: CF-Talk Subject: Re: SES urls on

RE: SES urls on CFMX 6.1

2003-10-30 Thread Kelly Tetterton
For us, it absolutely makes the web stats easier to read. One example: http://www.fbm.com/index.cfm/fuseaction/attorney.attorney_detail/object_id/FDF064D3-FA39-464C-A8FC-C6ADC261CF64/Bass.cfm This is a url for an attorney biography, and with the dummy file name at the end (in this case, the

RE: SES urls on CFMX 6.1

2003-10-30 Thread Greg Luce
Bert, Have you used SESConverter with a fusebox site? Greg -Original Message- From: Bert Dawson [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2003 6:36 AM To: CF-Talk Subject: RE: SES urls on CFMX 6.1 I'd advise anyone starting from scratch to wrap the URL in a UDF and use

RE: SES urls on CFMX 6.1

2003-10-30 Thread Bert Dawson
It depends what version of CF and what webserver you use. AFAIK, there is no way to get IIS to log the SES stuff when using CF5 or earlier. But with CFMX6.1 and IIS it will log the whole lot as a page, eg /index.cfm/onething/anotherthing.htm This is useful in fusebox applications since its not

Re: ColdFusion MX Application Server (6.1) problem

2003-10-30 Thread chad
After we tried everything to fix the problem unsucessfully, we uninstalled and then reinstalled the CF MX. It finally works! Make sure you do the following: 1. Make a clean uninstallation and delete every file within the CFusionMX folder after you restart your server to complete the

RE: SES urls on CFMX 6.1

2003-10-30 Thread Raymond Camden
Question - how many people use foo.cfm in their SES URLs? I was under the impression one should try _not_ to use that, and instead should use SES URLs in the form of /foo/moo/thisisthecfmbutnoextension/id/5 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User

RE: SES urls on CFMX 6.1

2003-10-30 Thread Bert Dawson
I do, but only because i'm not clever enough to get CF to process the page unless i specify the page to... Presumably an isapi filter would take care of that, but are there any other ways to get CF top process index.cfm when give /index/foo/bar? Bert -Original Message- From: Raymond

OT: Any SQL DTS Gurus Out there?

2003-10-30 Thread Eric Creese
Any DTS gurus out there? Having some issues and could use a little help. Since this is not a true CF topic , please email me directly at [EMAIL PROTECTED] Problem Ihave some scheduled DTS package jobs that ran fine before but are now failing.I recently Upgraded the server for our membership

RE: ColdFusion MX Application Server (6.1) problem

2003-10-30 Thread Benoit Hediard
I think we have also solved our problem. In order to analyze the problem, we've used /bin/cfstart.bat. It was starting but gave an error about missing MSVCP60.dll library. MSVCP60.dll is part of Microsoft Visual C++ 6.0 runtime, which is mandatory for CFMX6.1 installation on Windows (system

RE: SES urls on CFMX 6.1

2003-10-30 Thread Raymond Camden
Under IIS, I think you need a third party extension - I use one from Helicon, which is free for one server. For Apache, it's super simple and part of the server. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

RE: Any SQL DTS Gurus Out there?

2003-10-30 Thread Robertson-Ravo, Neil (RX)
Is this DTS importing data from a Database to a Database? or from Text files etc?DTS is renound for silly error codes etc...if you are getting data from a Text file then the file could be empty, and DTS will not like this. If you are getting it from Database to Database then you could actually

RE: FTP; non-techies using

2003-10-30 Thread Dennis Powers
upload an entire directory at a time and have some sort of idea of how long it's going to take Is my only option here a java applet? When doing an HTTP upload I don’t believe that there is any way for the server to know how large the file is until it is uploaded so server side scripting will

re: Mapped drives on server not displaying...why?

2003-10-30 Thread Bushy
Hi, I'm trying to access two mapped drive letters but I can't get the directories to display. I ran a test and mapped a drive letter to a directory on the server and it worked. If I point to two different servers I get nothing. Why? I tried using the UNC path in my cfdirectory like so... cfset

RE: ColdFusion MX Application Server (6.1) problem

2003-10-30 Thread Dave Watts
If Microsoft Visual C++ 6.0 runtime is mandatory, why the installation procedure does not check if it is installed before starting the installation (as it does for MDAC 2.6 SP2)? In my experience, it does check for the existence of the runtime, but I imagine all sorts of things can go

RE: Mapped drives on server not displaying...why?

2003-10-30 Thread Dave Watts
I'm trying to access two mapped drive letters but I can't get the directories to display. I ran a test and mapped a drive letter to a directory on the server and it worked. If I point to two different servers I get nothing. Why? Is the CF service running as the same user as the one with

RE: Mapped drives on server not displaying...why?

2003-10-30 Thread Tom Kitta
The problem is that the CF server doesn't have access on the Win box to access mapped drives. You need to change the security setting for CF process to make it work. I saw a how to do list for this problem some time ago, and the above is what I remember from it. Maybe someone else on the list can

RE: Mapped drives on server not displaying...why?

2003-10-30 Thread Bushy
--Original Message Text--- From: Dave Watts Date: Thu, 30 Oct 2003 11:06:50 -0500 I'm trying to access two mapped drive letters but I can't get the directories to display. I ran a test and mapped a drive letter to a directory on the server and it worked. If I point to two different servers

RE: FTP; non-techies using

2003-10-30 Thread Adam Wayne Lehman
Thanks. I was hoping to avoid the applet route, but I guess I don't have a choice here. Adam Wayne Lehman Web Systems Developer Johns Hopkins Bloomberg School of Public Health Distance Education Division -Original Message- From: Dennis Powers [mailto:[EMAIL PROTECTED] Sent:

RE: Mapped drives on server not displaying...why?

2003-10-30 Thread Bushy
I see...does anyone have that article? --Original Message Text--- From: Tom Kitta Date: Thu, 30 Oct 2003 11:01:38 -0500 The problem is that the CF server doesn't have access on the Win box to access mapped drives. You need to change the security setting for CF process to make it work. I saw a

UniData ODBC connectivity

2003-10-30 Thread Don
Hi, I've posted a similar question some time ago about UniData ODBC connectivity.This time, it's more specific. I'm new to UniData.I'd like to set up an ODBC connection to the UniData database hosted on an NT box on the network.I read some documentation.Is the following understanding correct?Two

CF/Access/SQL query - solved

2003-10-30 Thread Laura Schlee
Hi all, Thanks to everyone who helped out with my issue. After incorporating practically all of the suggested changes (except for the person whose email I accidentally deleted before I had a chance to try your changes -- my apologies, since you were nice enough to test your solution for me) my

Re: SES urls on CFMX 6.1

2003-10-30 Thread Thomas Chiverton
On Thursday 30 Oct 2003 12:45 pm, Greg Luce wrote: Does using SES make web stats work better? No. -- 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

RE: Mapped drives on server not displaying...why?

2003-10-30 Thread Dave Watts
No...CF service is running with Administrator account. I used a different account for the mapped drive letters. I doubt I can mapped them using the administrator password on the other server since its a IT box. Should I get them to create a generic username to use for the drive letter

RE: SES urls on CFMX 6.1

2003-10-30 Thread Matt Robertson
Raymond wrote: Question - how many people use foo.cfm in their SES URLs? I was under the impression one should try _not_ to use that, and instead should use SES URLs in the form of /foo/moo/thisisthecfmbutnoextension/id/5 Just implemented something in my cms that lets an editor specify a

Re:Wierd CFC Path Problem - Question on CFC types

2003-10-30 Thread Mauricio Giraldo
Will it happen (truncation) in CFCs in other folders? i.e. test/me.cfc when using CreateObject(component,test.me) - mga [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Directory tag

2003-10-30 Thread brob
Hey guys is there a coldfusion tag that displays the Directory of the server, that looks like a CFTREE thingy. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

RE: SES urls on CFMX 6.1

2003-10-30 Thread Matt Robertson
Thomas wrote: Does using SES make web stats work better? No. Yes.Some stats programs just can't handle parameters.My admittedly older but still-in-use copy of LiveStats stops dead at the '?'.Same with Sawmill.It depends on the stats package. The 'friendly' SES urls I described in an earlier

Striping URL

2003-10-30 Thread Bailey, Neal
Hello folks... I am trying to strip part of a url and then take part of the url string and save it as a variable. Example: If I have a url like: http://www.mysite.com/bubbagump.htm http://www.mysite.com/bubbagump.htm I want to remove the .htm and save bubbagump as the variable.

RE: Striping URL

2003-10-30 Thread Tony Weeg
just do a find, after your list first, and then find the position of the period, and do a left() from that point, and it will erase the end, after the including the period... make sense? ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED]

Re: Striping URL

2003-10-30 Thread Critter
oi Neal!! do a listlast based on / then do a left(xxx,len(xxx-4) ? -- Thursday, October 30, 2003, 12:16:28 PM, you wrote: BN Hello folks... BN I am trying to strip part of a url and then take part of the url string and BN save it as a variable. BN

RE: Striping URL

2003-10-30 Thread Mike Townend
if its always going to be one file (i.e. not mysite.com/foo/bar.htm) then you could use ListFirst(CGI.SCRIPT_NAME, .) failing that, maybe ListLast(ListDeleteAt(CGI.SCRIPT_NAME, ListLen(CGI.SCRIPT_NAME, .), .), .) HTH -Original Message- From: Bailey, Neal [mailto:[EMAIL

RE: Striping URL

2003-10-30 Thread Jerry Johnson
Or get the listFirst of it using . as the delimiter. Jerry Johnson [EMAIL PROTECTED] 10/30/03 12:22PM just do a find, after your list first, and then find the position of the period, and do a left() from that point, and it will erase the end, after the including the period... make sense?

RE: Striping URL

2003-10-30 Thread Tony Weeg
that's what I said :) well, almost ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Critter [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2003 12:30 PM To: CF-Talk Subject: Re:

RE: Wierd CFC Path Problem - Question on CFC types

2003-10-30 Thread Jim Davis
If I call the CFC from a file within the same folder as the CFC then this works - however if I move the calling file outside the CFC's folder then this fails to find the CFC unless I use the fully qualified domain. I think it's a bug in CF honestly: if I use a fully qualified name to call a CFC

RE: CFFTP - putfile problem (Solved and Thank You)

2003-10-30 Thread Pedro Mendes
Just to let you know I solved the problem. I had a cfftp tag opening the connection and another one just doing the putfile. Once I included the connection (server, username and password) as attributes of the cfftp putfile tag, it worked immediately. Now I have a nice template that extracts BLOB

sql difficulty

2003-10-30 Thread Andre Turrettini
Hi, I'm wondering if there is a difffernet way to do this. Basically I have a table that has lots of records.I need to show in a list multiple agregates on this table.It pretty much has to be live to reflect the current data.One of the fields is a checkno.This is main group.So everything groups

RE: Striping URL

2003-10-30 Thread Matt Robertson
Way overcomplicated but it works and I've gotten lazy just plugging it in as an include.There's gotta be an easier way, and Critter's certainly looks like the ticket if you know the extension is 3 chars. Anyone know a better way if you don't know the file extension length (i.e. '.html')? cfset

Re: SES urls on CFMX 6.1

2003-10-30 Thread Thomas Chiverton
On Thursday 30 Oct 2003 17:10 pm, Matt Robertson wrote: Thomas wrote: Does using SES make web stats work better? No. Yes.Some stats programs just can't handle parameters. I wouldn't call a 'stats' package with such a bug a stats package :-) -- Tom Chiverton Advanced ColdFusion

Re:Wierd CFC Path Problem - Question on CFC types

2003-10-30 Thread Mauricio Giraldo
is the calling file in a folder above the CFC? i mean, which is the most similar dir struct for your files: 1) /root/caller.cfm /root/cfc/component.cfc 2) /root/html/caller.cfm /root/cfc/component.cfc - mga [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User

RE: Striping URL (SOLVED)

2003-10-30 Thread Bailey, Neal
Hey guys... Thanks... I think I figured it out. I was trying to make it way to complicated. Using the code below does what I need. cfset user = ListFirst(CGI.URL,/) cfset page = ListFirst(user,.) Not sure if this is the best way but it works... Thanks, - Neal -Original

Re: CF/Access/SQL query - solved

2003-10-30 Thread Patricia G. L. Hall
Might I suggest that instead of cfif form.SpaceNumber is not you try cfif len(trim(form.spacenumber)) or if you like to be clearer cfif len(trim(form.spacenumber)) GT 0? The former would not stop a user entering an empty space, , while the later would. -Patti Hi all, Thanks to everyone who

RE: sql difficulty

2003-10-30 Thread Gaulin, Mark
You can do this using aggregates and case statements (assuming your db can handle it... you didn't say what you were using) select checkno, total=count(*), -- I have no idea how you determine what is unprocessed, so this is an made-up example unprocessed=sum(case when is_processed'Y' then 1

Re: Mapped drives on server not displaying...why?

2003-10-30 Thread David Delbridge
Here's an Active Directory approach (and, actually, the non-AD approach is almost identical): Create a domain user, ColdFusion.Add 'Domain\ColdFusion' user to your CF server's 'Administrators' group.Assign this user to the 'ColdFusion Application Server Service' service a la Log On as: and This

Sorting Algorithm ala Netflix

2003-10-30 Thread Sandy Clark
Does anyone know offhand what sorting algorithm Netflix uses to sort their queue? Specifically, when I resort the queue in Netflix,I might change an item from number 25 to 15 , which means that the item which was originally 15 is renumbered to 16, etc. I've got to implement the same thing (not

Re: Directory tag

2003-10-30 Thread David Delbridge
Check out CF_DirectoryTree or CF_DirectoryExplorer, available in the Developer's Exchange. Dave -- David M. Delbridge Circa 3000 ColdFusion Hosting http://www.circa3k.com 775-832-2445 brob wrote: Hey guys is there a coldfusion tag that displays the Directory of the server, that looks like

RE: SES urls on CFMX 6.1

2003-10-30 Thread Greg Luce
OK, then let's get right to the point. What stats package can handle fusebox urls? -Original Message- From: Thomas Chiverton [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2003 1:50 PM To: CF-Talk Subject: Re: SES urls on CFMX 6.1 On Thursday 30 Oct 2003 17:10 pm, Matt Robertson

CFMX and variables available on error

2003-10-30 Thread Bryan Stevenson
Hey All, I'm adjusting an old site wide error handler tag (written for CF 5) and I'm seeing some differences in error messages in CFMX.So are there any new vars available on error in CFMX?My old tag just uses the cfcatch structure and some CGI vars.I noticed that in CFMX there is a new Exceptions

Re: Sorting Algorithm ala Netflix

2003-10-30 Thread Joshua Miller
I do this with menu items in our application, when you add a new item you can select its sort order and if it's inserted at 15, then a small SQL query simply sets everything greater than or equal to 15 to increment by one. UPDATE tblMenuItems SET sortorder=sortorder + 1 WHERE sortorder =

Non-Stick Session Variables?

2003-10-30 Thread Nick Baker
Is there a trick to keeping session variables alive when a Web page is called via and CFHTTP, i.e., from another Web site? The session variables stick when I called the Web page directly from a browser, but not via CFHTTP. Does this mean the session variables are relying on Cookies? Below is

Re: Sorting Algorithm ala Netflix

2003-10-30 Thread Randell B Adkins
problem would then be what is two items were listed with the #2 then the sortorder would be 3 for both items [EMAIL PROTECTED] 10/30/03 01:55PM I do this with menu items in our application, when you add a new item you can select its sort order and if it's inserted at 15, then a small SQL query

MX Admin-Runtime Log Errors

2003-10-30 Thread Venable, John
Hello, I upgraded our production server to CFMX from CF5 last friday. After some initial hiccups, things seemed to settle down and I was impressed by the speed. I have one concern though, in the CFusionMX\runtime\logs\ directory, my default-err log has a ton of errors--it's 16MB in just a week.

RE: Non-Stick Session Variables?

2003-10-30 Thread Mosh Teitelbaum
Nick: SESSION variables are client-specific.Clients are identified by specifying a unique identifier either via cookies or URL parameters. In order to maintain a session while using multiple CFHTTP requests, you'll have to trap any cookies set in one request and specify them in all later

html entities

2003-10-30 Thread Deanna Schneider
Okay, I'm trying to strip out html entity codes that don't play nicely with RTF for a download as word doc feature. I have it working for a bunch of them, but this one doesn't work: str = replace(str, '##61623;', 'chr(10)', 'All'); And this one only works sometimes: str = replace(str, '##8211;',

RE: Sorting Algorithm ala Netflix

2003-10-30 Thread Sandy Clark
The other issue is that a user can set more than one item at a time in the form. I thinkI have the basics of it, using two form variables for each row (newsort and origsort) (in really bad pseudo code) while reset == true reset = false for x = 1 to number of rows If newsort[x] != origsort[x]

RE: Book to learn MS SQL 2000

2003-10-30 Thread Michael Hodgdon
In my last position, I really needed a crash course in the basics of Transact SQL, SQL administration, and SQL Server's IDE.I found the following book very helpful http://www.amazon.com/exec/obidos/tg/detail/-/0782126278/qid=1067541349/sr=8 -3/ref=sr_8_3/103-3226193-8224602?v=glancen=507846 It

CFC from App to Request scope?

2003-10-30 Thread Jamie Jackson
The following doesn't seem to work: I'm trying to get my object to persist, but (I think) I would prefer to access the object via the request scope to reduce the number of locks needed. If I call a method on request.def, it's missing instance variables (and throwing an error, since they're

RE: Mapped drives on server not displaying...why?

2003-10-30 Thread Dave Watts
Create a domain user, ColdFusion.Add 'Domain\ColdFusion' user to your CF server's 'Administrators' group. Assign this user to the 'ColdFusion Application Server Service' service a la Log On as: and This Account: [EMAIL PROTECTED] There is no need to modify the other CF services (Executive

FW: Books on advanced CF Topics

2003-10-30 Thread Michael Hodgdon
Hey there CF Talk.Was wondering if anyone recommends books on CFC's and UDF's. Michael S. Hodgdon Harvard Graduate School of Education, PPE Web Developer P: 617-496-8341 AOL: michaelshodgdon Y!: michaelhodgdon [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User

accents

2003-10-30 Thread Gabriel Robichaud
Do you guys know of a function for converting accented characters into their ascii equivalents or from to eacute; Gabriel [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Import of Text File

2003-10-30 Thread Mickael
Hello All, I need to import a tab delimited text file in to an access database.I know that this is possible just don't know how to go about it.One more thing is that sometimes the file may be empty.Can someone point me in the right direction? Thanks Mike [Todays Threads] [This Message]

RE: CFC from App to Request scope?

2003-10-30 Thread Raymond Camden
Simply put - you can't duplicate a CFC. Why do you need the duplicate? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

RE: Books on advanced CF Topics

2003-10-30 Thread Sandy Clark
Techspedition.com Discovering CFC's Hal Helms and Ben Edwards (available from Amazon) _ From: Michael Hodgdon [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2003 2:28 PM To: CF-Talk Subject: FW: Books on advanced CF Topics Hey there CF Talk.Was wondering if anyone recommends books

Quick Jrun Mem Usage ?

2003-10-30 Thread Eric Hoffman
Installed 6.1 on a Win 2000/IIS 5 machine that was running 5 for a year. Worked well. I do see, though, with just this instance running...that Jrun takes up 99 MB of resources alone.Is this common, or should I be more suspect of this number and worry about tweaking.We have plenty of memory

Re: Mapped drives on server not displaying...why?

2003-10-30 Thread Bushy
What happens if the server running CF and my application are not on the same domain as the other two servers directories I'm trying to access? --Original Message Text--- From: David Delbridge Date: Thu, 30 Oct 2003 10:27:23 -0800 Here's an Active Directory approach (and, actually, the non-AD

RE: CFC from App to Request scope?

2003-10-30 Thread Barney Boisvert
You can't use duplicate on a CFC and get a CFC.Instead, you get some bizarre CFC/Struct hybrid.You have to use the CFC in the application scope directly, along with the locks.However, if you lock the intantiation of the component without requiring read locks, then you can pull all the CFLOCK tags

Re: html entities

2003-10-30 Thread Jerry Johnson
Chances are, you aren't handling the fancier versions of things. You've handled the hyphen, but not the mdash or the ndash, for example. It probably uses carraige return/line feeds (chr(13) and chr(10)), so you need to handle both of those. Just some gueses. Jerry Johnson [EMAIL PROTECTED]

RE: Mapped drives on server not displaying...why?

2003-10-30 Thread Dave Watts
What happens if the server running CF and my application are not on the same domain as the other two servers directories I'm trying to access? Then you will have to use an account that either has rights to resources in the other domain (for example, if your domain is trusted by the other) or

Re: CFC from App to Request scope?

2003-10-30 Thread Jamie Jackson
On Thu, 30 Oct 2003 13:38:40 -0600, Raymond Camden [EMAIL PROTECTED] wrote: Simply put - you can't duplicate a CFC. Why do you need the duplicate? Okay, that explains that, then. Thanks. The reason I tried to duplicate into the request scope: To minimize the need for locks on the

Re: Non-Stick Session Variables?

2003-10-30 Thread Matt Robertson
Had to come up with a solution to this for a project I just finished a couple of weeks ago.I appended the appropriate CFID and CFTOKEN to the url called by cfhttp. This was something where the user was grabbing something belonging to their own session, so it worked out fine.The obvious rub here

RE: CFC from App to Request scope?

2003-10-30 Thread Bryan F. Hogan
There isn't a need to duplicate() it then. Request.myCFC=Application.myCFC -Original Message- From: Jamie Jackson [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2003 3:01 PM To: CF-Talk Subject: Re: CFC from App to Request scope? On Thu, 30 Oct 2003 13:38:40 -0600, Raymond Camden

RE: Non-Stick Session Variables?

2003-10-30 Thread Nick Baker
Thanks, Mosh. I am assuming you mean something like the Client.URLToken or Session.URLToken? While searching for the aforementioned I stumbled across the Cfapplication SetDomainCookies attribute. From what I read the SetDomainCookies attributed places cookies on the host. I suspect there are

RE: Non-Stick Session Variables?

2003-10-30 Thread Dave Watts
I am assuming you mean something like the Client.URLToken or Session.URLToken? While searching for the aforementioned I stumbled across the Cfapplication SetDomainCookies attribute. Those things allow you to manage session tokens for your users' browsers, and don't affect your use of CFHTTP

Re: CFC from App to Request scope?

2003-10-30 Thread Jamie Jackson
[Whoops, replied to the newsgroup only the first time] On Thu, 30 Oct 2003 13:38:40 -0600, Raymond Camden [EMAIL PROTECTED] wrote: Simply put - you can't duplicate a CFC. Why do you need the duplicate? Okay, that explains that, then. Thanks. The reason I tried to duplicate into the request

Re: html entities

2003-10-30 Thread Deanna Schneider
Jerry, Thanks. But, line feeds are taken care of in other parts of the code and weren't the issue. I actually figured it out. Doh. Helps to actually call the function on ALL the output. *sigh* Is it Friday yet? -d - Original Message - From: Jerry Johnson [EMAIL PROTECTED] To: CF-Talk

Re:Striping URL (SOLVED)

2003-10-30 Thread Matt Robertson
I don't have the cgi.url available that you do, but cgi.script_name is easy enought to substitute.You have to use listlast on that part instead of listfirst: cfset NameOnly=ListFirst(ListLast(cgi.script_name,/),.) Thats one heck of a lot simpler than what I've been using.

RE: Import of Text File

2003-10-30 Thread Bruce, Rodney S HQISEC/Veridian IT Services
use CFFILE to read the file into a variable. cffile action="" file=C:\yourdir\yourfile.txt variable=YourVar Use LEN(trim(yourvar))to see if the file is empty. Then use the list functions to break it up into the data elements to be entered into your database. use listlen() to determine

RE: sql difficulty

2003-10-30 Thread Andre Turrettini
Hi Mark, I should of mentioned that this is on an oracle db. DRE -Original Message- From: Gaulin, Mark [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2003 11:23 AM To: CF-Talk Subject: RE: sql difficulty You can do this using aggregates and case statements (assuming your db can

RE: CF/Access/SQL query - solved

2003-10-30 Thread J E VanOver
Laura, please do NOT reject the use of CFQUERYPARAM !!! Your code will break the first time it encounters a name like O'Brien or D'Aprile CFPARAM is NOT a substitute for CFQUERYPARAM -Original Message- From: Laura Schlee [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2003 8:29 AM

RE: CFC from App to Request scope?

2003-10-30 Thread Nathan Strutz
The reason I tried to duplicate into the request scope: To minimize the need for locks on the application-scope reads. (Feel free to refute that one, too. :) Love to... You don't need to lock variables in CFMX to keep from memory fragmentation and server crashing. This is done for you by Java.

Re: CFC from App to Request scope?

2003-10-30 Thread Jamie Jackson
Thanks for taking the time to respond. I got all of your points except for one sentence, so I'll pick it apart: However, if you lock the intantiation of the component without requiring read locks You lost me there. Sorry, if it's a couple-liner, would you show me in code? then you can pull all

Re: Import of Text File

2003-10-30 Thread Mickael
Thanks Bruce, That does help a lot.I will have to look up list functions I have never used them.Thanks for the help. MIke - Original Message - From: Bruce, Rodney S HQISEC/Veridian IT Services To: CF-Talk Sent: Thursday, October 30, 2003 3:24 PM Subject: RE: Import of Text File use

RE: CFC from App to Request scope?

2003-10-30 Thread Raymond Camden
You shouldn't need to worry about that. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

RE: Import of Text File

2003-10-30 Thread Andre Turrettini
this goes quite a bit faster if you turn your return seperated list into an array.listtoarray.then just loop thru the array. DRE -Original Message- From: Bruce, Rodney S HQISEC/Veridian IT Services [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2003 1:24 PM To: CF-Talk Subject: RE:

CF treatment of queries inside CFCs

2003-10-30 Thread Tom Kitta
Hello, I would like you guys to give me some feedback as to my recent programming practice. What do you think of it, how can it be improved etc. I decided to place all of my CF application database access into a single CFC, i.e. every query that the application ever uses is inside this cfc.

Re: CF treatment of queries inside CFCs

2003-10-30 Thread Matt Liotta
Sounds like you are using a CFC as a function library instead of as an object. This isn't necessarily bad, but you don't get any benefits of an OO design. -Matt On Thursday, October 30, 2003, at 04:04 PM, Tom Kitta wrote: Hello, I would like you guys to give me some feedback as to my

Re: SES urls on CFMX 6.1

2003-10-30 Thread Geoff Bowers
For what its worth, if you use the FriendlyURL servlet developed by Spike (http://www.spike.org.uk/go/friendly-urls) you get the following answers: ** Does using SES make web stats work better? Yes, absolutely.Your logs are populated with entries that for all intensive purposes are identical

Re: SES urls on CFMX 6.1

2003-10-30 Thread Geoff Bowers
Raymond Camden wrote: Under IIS, I think you need a third party extension - I use one from Helicon, which is free for one server. For Apache, it's super simple and part of the server. Ray, you gotta check out Spikes FriendlyURL servlet: http://www.spike.org.uk/go/friendly-urls.It works

  1   2   >