log file in cflogin

2004-08-31 Thread simmyana a
Hi, I am trying to pass an entry into log file while authentication the user. I am using cflogin tag for this But only few times it records the entry. My code in application.cfm is like this, cfapplication name=appname setclientcookies=yes cflock scope=application timeout=10 type=exclusive

RE: Entire keyboard-based CF application

2004-08-31 Thread Micha Schopman
Ugh? Why ugh? .. it doesn't bite ... Micha Schopman Software Engineer Modern Media, Databankweg 12 M, 3821 ALAmersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

100% CPU

2004-08-31 Thread Ian Buzer
Hi all, We're running a CFMX 6.1 / SQL server 2000 app on a 1.6GHz AMD server with 1.5Gb of RAM.The app gets about 2.5 million page requests a month, peaking at about 7000 page requests per hour. Since yesterday morning it's suddenly started to misbehave, with the processor regularly maxing out

Re: 100% CPU

2004-08-31 Thread vishnu prasad
hi jrun.xml Jrun.xml file can be found in Jrun\server\server_instance_name\server-inf\jrun.xml in the SchedulerService section overwrite this code service class=jrunx.scheduler.SchedulerService name=SchedulerService attribute name=bindToJNDItrue/attribute attribute

Re: redirect after cfheader/cfcontent

2004-08-31 Thread Jochem van Dieten
CFDEV wrote: I have a code on a page that pop up a save/open for downloading a page : cfheader name=Content-Disposition value=attachment;filename=#getfilefrompath(cas.fichier)# cfcontent file=#nom_fichier2# type=application/pdf deletefile=No / And I want to redirect the page to

RE: redirect after cfheader/cfcontent

2004-08-31 Thread Micha Schopman
And the reason is both tags rewrite the header. Micha Schopman Software Engineer Modern Media, Databankweg 12 M, 3821 ALAmersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User

Re: log file in cflogin

2004-08-31 Thread Raymond Camden
Maybe it is too early for me, but _nowhere_ in your code do I see cffile or cflog. Did you forget to add it? I also noted - cfif #getlogin.RecordCount# GT 0 - in this code you do not need the # marks. On Tue, 31 Aug 2004 02:27:29 -0400, simmyana a [EMAIL PROTECTED] wrote: Hi, I am trying to

OT - Mac OS X roaming profile problem

2004-08-31 Thread Richard Meredith-Hardy
Dear all I'm having a great deal of difficulty with a CF5 driven intranet which has worked just fine on PC's and Mac OS9 for two years now.They have introduced some OS X boxes using roaming profiles from an OS X server. It seems that cookie storage (MSIE and Safari) is kept in the profile

CFMX server locks up about every 2 weeks.

2004-08-31 Thread Bosky, Dave
We have CFMX standard version 6.1 installed and the service seems to be hanging up about every 2 weeks. Once we restart the cf services everything is back to normal. Any ideas of what may causing this? Does this happen to anyone else out there? Could it be conflicting with other software?

Re: CFMX server locks up about every 2 weeks.

2004-08-31 Thread Andy Allan
I assume you've checked/compared all your logs ... *CFAdmin *cfmxroot/runtime/logs *Web Server Anything in those at the time of crashing that raises an eyebrow? Andy Quoting Bosky, Dave [EMAIL PROTECTED]: We have CFMX standard version 6.1 installed and the service seems to be hanging up

Re: Entire keyboard-based CF application

2004-08-31 Thread Marco Antonio C. Santos
Thanx Jim With XForms I can do that? How? Sorry but WHAT's XForms? On Mon, 30 Aug 2004 19:39:40 -0400, Jim Davis [EMAIL PROTECTED] wrote: In pure HTML you would use the accesskey and tabindex attributes of form elements to allow simplistic keyboard management of forms.I'm not sure what's

Web service method with an argument of type Base64

2004-08-31 Thread Neculai Macarie
Hi! I'm trying to consume a webservice which has a method with a base64 argument, but it's giving an error: Could not perform web service invocation test1 because java.lang.IllegalArgumentException: argument type mismatch This is the web service: cfcomponent cffunction name=test1

RE: CF Admin on JRun Cluster

2004-08-31 Thread jmauney
I like this idea... but I'm not sure how to implement it. When I run the wsconfig, it only shows the cluster under JRun Server, not the individual JRun instance so now I'm back to the same problem as I had using CF Admin through the primary virtual host... Jonathan

Re: 100% CPU

2004-08-31 Thread Ian Buzer
Hi vishnu, Thanks for the reply. Just to understand what this does Am I right in thinking this controls the cf scheduler? I'm fairly confident that our load problems are not related to scheduled requests as these occur overnight. Or does the scheduler have other implications? Thanks Ian

RE: RandRange ain't so Random

2004-08-31 Thread James Smith
Graphing this to indulge morbid curiosity I used the following code and came up with a pretty even distribution after 1,000,000 iterations. cfset Iterations = 100 cfset MaxNumber = 100 cfloop from=1 to=#MaxNumber# index=i cfset Count[i] = 0 /cfloop cfloop from=1 to=#Iterations# index=i

Re: CHR in ASP and CFMX

2004-08-31 Thread Robert Everland III
You would think they would be the same. Try these in ASP and CFMX and tell me if you get the same thing. 140 91 2 245 151 183 41 75 106 55 64 96 I'm running an RC4 function in CF and in ASP and they return the same numbers to change to CHR but when you do that they become different values and

Re: 100% CPU

2004-08-31 Thread Neculai Macarie
I wonder if anyone can give me any clues on what else to look for. Surely we should be able to get more traffic out of this spec machine? You can try and get a stack trace to see what's happenning with CF when the problem occurs.

Re: CHR in ASP and CFMX

2004-08-31 Thread Robert Everland III
You would think they would be the same. Try these in ASP and CFMX and tell me if you get the same thing. 140 91 2 245 151 183 41 75 106 55 64 96 I'm running an RC4 function in CF and in ASP and they return the same numbers to change to CHR but when you do that they become different values and

RE: Entire keyboard-based CF application

2004-08-31 Thread Jim Davis
XForms is the replacement for current HTML forms - basically it's a separate W3C standard just for forms to go with XHTML 2.0. Hit www.W3C.org http://www.w3c.org/or google xforms for more information. I believe that that enhanced forms processing in Blackstone (CF 7) is partially XForms-based.

RE: 100% CPU

2004-08-31 Thread Bill Grover
Ian, We have seen this behavior as well.When we start experiencing the page slowdowns and notice the jrun CPU very high we will stop and restart the CF Application Server, this fixes the problem.Yes the pages are down for a few seconds but in our environment this is not as big a problem as

cfmail

2004-08-31 Thread Tangorre, Michael
Is there anyway to get cfmail to not include the white space to the left of what is between the tags? For instance, we have some cfmail tags that are indented 2 or 3 tabs in and this results in the content of the email being that way too. Just curious... Mike [Todays Threads] [This

Re: cfmail

2004-08-31 Thread Jochem van Dieten
Tangorre, Michael wrote: Is there anyway to get cfmail to not include the white space to the left of what is between the tags? No. (Unless you start messing with cfsavecontent.) Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and

RE: cfmail

2004-08-31 Thread Tangorre, Michael
Is there anyway to get cfmail to not include the white space to the left of what is between the tags? No. (Unless you start messing with cfsavecontent.) That sucks. :-) [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

RE: 100% CPU

2004-08-31 Thread Andrew Dixon
Hi Ian. We have had this problem as well, on both Windows 2003 and Redhat Linux servers. There doesn't seems to be any logic cause of the problem and therefore no fix. The only way to work around the problem is to restart the server regularly. We have a scheduled task on both Windows and Linux

Re: CFMX 6.1 and cisco load balance

2004-08-31 Thread Chris Norloff
We use Cisco load balancing to our web servers, then WebSphere clustering to load balance across our application servers (CFMX running on WebSphere). The Cisco is really invisible to our application - it handles everything in its own hardware/software. I don't have any experience specifically

Re: Web service method with an argument of type Base64

2004-08-31 Thread Adam Haskell
take it one step further and put that in tobinary() Adam H On Tue, 31 Aug 2004 15:18:47 +0300, Neculai Macarie [EMAIL PROTECTED] wrote: Hi! I'm trying to consume a webservice which has a method with a base64 argument, but it's giving an error: Could not perform web service invocation test1

Re: 100% CPU

2004-08-31 Thread Ian Buzer
Hi Mack, You can try and get a stack trace to see what's happenning with CF when the problem occurs. http://www.macromedia.com/support/coldfusion/ts/documents/tn18339.htm Good info - I'll check this out. Thanks Ian [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User

RE: cfmail

2004-08-31 Thread Andrew Dixon
Simply don't indent the content of the email or change the type to HTML. Best Regards Andrew. _ From: Tangorre, Michael [mailto:[EMAIL PROTECTED] Sent: 31 August 2004 14:16 To: CF-Talk Subject: cfmail Is there anyway to get cfmail to not include the white space to the left of what is

Re: 100% CPU

2004-08-31 Thread Ian Buzer
Hi Andrew, Bill, We've been running ServersAlive for the last couple of years, which has been cycling the service automatically everytime the system slows and like you say, this has worked well as a backup. Trouble is, it was doing this about every 10 minutes when we had our recent problems -

RE: 100% CPU

2004-08-31 Thread Mark A Kruger
Bill, I went through a similar process with a client of ours. We did several things to mitigate this issue. 1. Eliminate Access dbs.If you have anything running on Access get rid of it. 2. Make sure and use the JDBC Merant 3.3 drivers for SQL - this is an update from 6.1. 3. Check out long

RE: cfmail

2004-08-31 Thread Ray Champagne
But, if the end user can't accept html emails (i know this is a very small percentage of people these days), then that won't work. Ray At 09:33 AM 8/31/2004, you wrote: Simply don't indent the content of the email or change the type to HTML. Best Regards Andrew. _ From: Tangorre,

RE: 100% CPU

2004-08-31 Thread Mark A Kruger
One more I forgot We have noted that the docs say the the simultaneous requests number in CF admin should be roughly 2x the number of procs. While this number works well on a busy cf 5 machine. It seems to be quite low for a cfmx platform. We've increased this number to between 8 and 13 on a

RE: cfmail

2004-08-31 Thread Tangorre, Michael
But, if the end user can't accept html emails (i know this is a very small percentage of people these days), then that won't work. Luckily, I work on our Corp Intrnaet apps where HTML email is a standard and must be enabled for company mail communications internally so I'm in luck :-) Mike

Re: 100% CPU

2004-08-31 Thread Adam Haskell
Great info Mark, Didn;t knwo the ahile don't use IP for database bit. I want to stress on he one Mark almost forgot. At the machine in question's current proc speed I'd say 6 MAX and since you figure 4 max request ever I would lower it to 5. Even if you get 10 requests if the average load time is

Re: cftry/cfcatch error handling

2004-08-31 Thread Andrew Grosset
Thanks Spike, I got it working now ! Andrew. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: Web service method with an argument of type Base64

2004-08-31 Thread Neculai Macarie
take it one step further and put that in tobinary() Adam H Thanks Adam, that worked... kinda. The stream of bytes that is saved is not the same as the one transmitted.I think that the ToBase64 function in ColdFusion is buggy (CFMX 6.1) because I get different strings when calling the

Re: CHR in ASP and CFMX

2004-08-31 Thread Adam Haskell
I have found that some chr() in CF give some funcky output for #s 128-160 or so don't know why. Heres a list and the ASCII value and what CF outputs as the ascii value then what chr returns for both numbers: 128 = 8364 : € = ‚¬ 130 = 8218 : ‚ = €š 131 = 402 : ƒ = ’ 132 = 8222 : „ = €ž 133 =

RE: 100% CPU

2004-08-31 Thread Bill Grover
Thanks for the response.I'll work on this list and see if it doesn't help.Here is some responses to a few of your points. 1. On the server in question we don't have any access.Just SQL Server 2. I'll try the updated drivers. 8. SQL is not on the web server.Both boxes are separate servers. 9.

RE: 100% CPU

2004-08-31 Thread Dave Watts
We have noted that the docs say the the simultaneous requests number in CF admin should be roughly 2x the number of procs. While this number works well on a busy cf 5 machine. It seems to be quite low for a cfmx platform. We've increased this number to between 8 and 13 on a dual proc

RE: 100% CPU

2004-08-31 Thread Bill Grover
Thanks for the response.I'll work on this list and see if it doesn't help.Here is some responses to a few of your points. 1. On the server in question we don't have any access.Just SQL Server 2. I'll try the updated drivers. 8. SQL is not on the web server.Both boxes are separate servers. 9.

RE: OT - Mac OS X roaming profile problem

2004-08-31 Thread Dave Watts
I'm having a great deal of difficulty with a CF5 driven intranet which has worked just fine on PC's and Mac OS9 for two years now.They have introduced some OS X boxes using roaming profiles from an OS X server. It seems that cookie storage (MSIE and Safari) is kept in the profile

RE: CF Admin on JRun Cluster

2004-08-31 Thread Dave Watts
I like this idea... but I'm not sure how to implement it. When I run the wsconfig, it only shows the cluster under JRun Server, not the individual JRun instance so now I'm back to the same problem as I had using CF Admin through the primary virtual host... You can either configure

RE: redirect after cfheader/cfcontent

2004-08-31 Thread Dave Watts
And the reason is both tags rewrite the header. Well, not exactly. You can use multiple tags that rewrite the header in the same page, as long as those tags don't tell the browser to do two things at once that can't be done in one request. For example, you can use CFCOOKIE and CFLOCATION in CFMX

Re: Web service method with an argument of type Base64

2004-08-31 Thread Adam Haskell
humm well you could always use java. and bypass the base64 and see if that solves it. cfset stuff = a cfset WebService.test1(stuff.getbytes()) Adam On Tue, 31 Aug 2004 17:20:18 +0300, Neculai Macarie [EMAIL PROTECTED] wrote: take it one step further and put that in tobinary() Adam H

RE: redirect after cfheader/cfcontent

2004-08-31 Thread Dave Watts
Ahh thanks Matt -- I'd forgotten about that -- yea, some folks use cfheader themselves to accomplish the redirect, which is similar to using cflocation. The difference is that with a cfheader tag (I think it's status with a value of 302 but that's not really my forte) won't also terminate

Re: Web service method with an argument of type Base64

2004-08-31 Thread Neculai Macarie
humm well you could always use java. and bypass the base64 and see if that solves it. cfset stuff = a cfset WebService.test1(stuff.getbytes()) Adam Unfortunately it doens't help. Seems that I will have to report this as a bug and write my own toBase64 function. -- mack / [Todays

Re: Web service method with an argument of type Base64

2004-08-31 Thread Adam Haskell
You sure its not a problem on the other side? I use the getbytes function regularly as well as other function that return btye arrays like Gzip. This infommation is used with external applications and Amazon. If it was buggy I wouldn't imagine it would be working. Adam H On Tue, 31 Aug 2004

CFQUERYPARAM in CFSET

2004-08-31 Thread djones
This may not be possible but... Doesn anyone know of a way to get this or something similar to work? cfset strSQL = select ColumnName from TableName where ColumnName=cfqueryparam cfsqltype=CF_SQL_VARCHAR value=#Variable# cfquery #preserveSingleQuotes(strSQL)# /cfquery Thanks, David [Todays

RE: CFX_Image oddity

2004-08-31 Thread Dennis Powers
on a side note how can you tell the file size of the image before uploading to the server. With the caveat that this will only work on Windows Clients and the client must agree to an ActiveX install: script language=_javascript_ function A() { var oas = new

RE: 100% CPU

2004-08-31 Thread Mark A Kruger
Bill, FYI In regard to point 9 below. When you use a regular server name instead of a FLQN name you cause the JDBC server system to do the following: First it uses the unc service... check the host file for that string to resolve (no dice) check dns (also no dice) .move to rnc service

Re: galleon

2004-08-31 Thread Peter Farrell
Ray, It wouldn't be that hard to add a switch in the application settings that would indicate the Db being used.In the places where last id is need, just put in a switch/case block for the DB specific query to get last id.I use MySQL a whole ton and I'm willing to go through and supply code to

Re: Credit card page processing before error check

2004-08-31 Thread Adam Haskell
Ok Without reading that whole page. How are you running these _javascript_s? On form submit or with a button's onclick event? If you are running them onsubmit you are not returning false from what I could gather [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User

Second Pair Of Eyes

2004-08-31 Thread Adrian Lynch
Can anyone see something wrong with this, working on CFMX but failing on CF5 cfscript function formValue(formName, defaultValue) { if ( IsDefined(FORM.#ARGUMENTS.formName#) ) { return HTMLEditFormat(FORM[#ARGUMENTS.formName#]); } else { return HTMLEditFormat(ARGUMENTS.defaultValue); } }

CFQuery

2004-08-31 Thread Christian Watt
I know you can return the execution time of a query, but how do you return what the query ran is?Just like they do when you turn on debugging. Christian [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: Second Pair Of Eyes

2004-08-31 Thread Bert Dawson
in CF5 arguments is an array: try: IsDefined(FORM.#ARGUMENTS[1]#) I think that will work on MX too. HTH Bert - Original Message - From: Adrian Lynch [EMAIL PROTECTED] Date: Tue, 31 Aug 2004 16:22:29 +0100 Subject: Second Pair Of Eyes To: CF-Talk [EMAIL PROTECTED] Can anyone see

Re: Second Pair Of Eyes

2004-08-31 Thread Ray Champagne
You don't need the #'s inthe isDefined - just the FORM.whatever variable. I don't have a means to test this right now, but this jumped out at me. Rau At 11:22 AM 8/31/2004, you wrote: Can anyone see something wrong with this, working on CFMX but failing on CF5 cfscript function

Re: Credit card page processing before error check

2004-08-31 Thread coldfusion . developer
I'm running it from ... input type=Submit value=Submit Order > Ok Without reading that whole page. How are you running these _javascript_s? On form submit or with a button's onclick event? If you are running them onsubmit you are not returning false from what I could gather [Todays Threads]

Re: Second Pair Of Eyes

2004-08-31 Thread Qasim Rasheed
Have you tried usinge structkeyexits() instead of isDefined() - Original Message - From: Adrian Lynch [EMAIL PROTECTED] Date: Tue, 31 Aug 2004 16:22:29 +0100 Subject: Second Pair Of Eyes To: CF-Talk [EMAIL PROTECTED] Can anyone see something wrong with this, working on CFMX but failing

RE: Second Pair Of Eyes

2004-08-31 Thread d.a.collie
This works on CF5 cfset form.test = david cfscript function formValue(formName, defaultValue) { if (structKeyExists(FORM, formName) ) { return HTMLEditFormat(FORM[formName]); } else { return HTMLEditFormat(defaultValue); } } /cfscript cfdump var=#formValue(test,jimmy)#br / cfdump

RE: Second Pair Of Eyes

2004-08-31 Thread Adrian Lynch
Thanks Rau, the # are to evaluate ARGUMENTS.formName so it becomes IsDefined(FORM.aNamePassedIn). Thanks Bert, I thought it might be something like that. Cheers Ade -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: 31 August 2004 16:31 To: CF-Talk Subject: Re:

Re: OT - Mac OS X roaming profile problem

2004-08-31 Thread Richard Meredith-Hardy
Dave I'm not sure this would work because it is on 'the first hit' when the wrong CFID CFTOKEN are being issued, (or actually probably when the browser is opened), and there's no way of knowing what the right ones are.I don't believe my setup is unusual in that I have the variable

Re: CFQUERYPARAM in CFSET

2004-08-31 Thread S . Isaac Dealey
This may not be possible but... Doesn anyone know of a way to get this or something similar to work? cfset strSQL = select ColumnName from TableName where ColumnName=cfqueryparam cfsqltype=CF_SQL_VARCHAR value=#Variable# cfquery #preserveSingleQuotes(strSQL)# /cfquery No,

RE: redirect after cfheader/cfcontent

2004-08-31 Thread Tyler Silcox
Dave Watts wrote: When you use CFCONTENT to deliver a file, it doesn't set a Location header. It simply delivers the content specified by the tag. I've been meaning to ask for awhile, but how much overhead does CFCONTENT create if you are serving a 1MB file? Howabout a 10MB file? Does the CF

database connections

2004-08-31 Thread Phill B
Here is the deal. I have CFMX on my laptop with dev apps that connect to the mssql server. I use an app that hits 3 different data sources which would create 3 processes on the sql server. Lets say I shut down and restart my laptop and run the app again. I now have 6 processes running on the sql

Re: Second Pair Of Eyes

2004-08-31 Thread S . Isaac Dealey
He does if the the form element he's looking for is named by an argument in his function, i.e. getFormElement(myform) - if this function does anything with the value of form.myform, then he does need the #'s. Although I tend to use structkeyexists() for this. In which case there wouldn't be

RE: Second Pair Of Eyes

2004-08-31 Thread Gavin Brook
It also works fine on MX. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 31 August 2004 16:46 To: CF-Talk Subject: RE: Second Pair Of Eyes This works on CF5 cfset form.test = david cfscript function formValue(formName, defaultValue) { if

Re: CHR in ASP and CFMX

2004-08-31 Thread Jochem van Dieten
Adam Haskell wrote: I have found that some chr() in CF give some funcky output for #s 128-160 or so don't know why. Probably because they are illegal characters in the charset you are using. Heres a list and the ASCII value and what CF outputs as the ascii value then what chr returns for

Re: Recommendations for a good site monitoring service?

2004-08-31 Thread Phill B
Thanks everyone. I'll have some fun this weekend breaking the server to see what happens. :-] - Original Message - From: Matt Robertson [EMAIL PROTECTED] Date: Mon, 30 Aug 2004 17:00:20 -0700 Subject: Re: Recommendations for a good site monitoring service? To: CF-Talk [EMAIL PROTECTED]

SOT : Keeping JS Count

2004-08-31 Thread Greg Morphis
How do those websites like Dell keep track of price.. IE Say you have 2 radio inputs one with a value of 0, the other with a value of 1. And you have five of these.. a_1 = 0 a_2 = 1 a_3 = 0 a_4 = 0 a_5 = 1 how would you keep track of the totals? Initially you could just do a sum of the values

Re: CHR in ASP and CFMX

2004-08-31 Thread Jochem van Dieten
Robert Everland III wrote: When I do a CHR() in ASP and a CHR() in CFMX they come up with 2 different values. Is there any way to match the values up? Use the same charset in ASP and CF MX. Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re: CFQuery

2004-08-31 Thread Qasim Rasheed
I guess this is what you need http://cflib.org/udf.cfm?ID=686 - Original Message - From: Christian Watt [EMAIL PROTECTED] Date: Tue, 31 Aug 2004 10:21:43 -0500 Subject: CFQuery To: CF-Talk [EMAIL PROTECTED] I know you can return the execution time of a query, but how do you return what

Email Download link

2004-08-31 Thread Tangorre, Michael
I have emails going out with a link in them that points to a page that serves the documents via cfheader/cfcontent. When the link is clicked the standard open/save/cancel box appears. When I click open, the window closes and the document opens. If I click cancel, same thing. If I click save and

RE: SOT : Keeping JS Count

2004-08-31 Thread d.a.collie
i would do a full total count on every refresh so you never need to subtract. remember and do server side validation tho :) -- dc [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: SOT : Keeping JS Count

2004-08-31 Thread Greg Morphis
I can use an onclick to add the count however you can keep clicking on the radio button to increment it. onchange only takes effect when you click off of something. I suppose I could reverse the values.. give the 1 a value of -1 and the 0 a value of 1. Or is it best to loop through the form

Re: SOT : Keeping JS Count

2004-08-31 Thread Greg Morphis
so you'd loop through the form fields each time? On Tue, 31 Aug 2004 11:14:11 -0500, Greg Morphis [EMAIL PROTECTED] wrote: I can use an onclick to add the count however you can keep clicking on the radio button to increment it. onchange only takes effect when you click off of something. I

Re: Template Encryption

2004-08-31 Thread Josen Ruiseco
I need to distribute source code to clients and want to encrypt some of the source. I know utilities exist to break ColdFusion encryption and display source code. Are there any methods to encrypt ColdFusion source that are not breakable using these utilities or other methods (within

Re: SOT : Keeping JS Count

2004-08-31 Thread joe velez
If you want the price displayed on the page and updated every time a new option is selected w/o the page being reloaded you need to use _javascript_, otherwise i would imagine the radio button's value would be associated with a price from the database. (optionid 12 = $50) [Todays Threads] [This

CFHTTP and replace() on Multiple Lines

2004-08-31 Thread Josen Ruiseco
I am calling a document via cfhttp. I am replacing numerous lines of text within the called document. There is a snippet in the document that I cannot seem to grab: td width=1 /td Spacing is as it is in the doc... I can grab the td width=1 with no problem. But I cannot grab the /td because I

Re: regexp help

2004-08-31 Thread chris porter
:) well that regex didn't produce a match unfortunately.. however i was just looking at this thinking man this is screwey.. maybe the \r isnt required for some odd reason. so i revised the regex to read: ([[:alnum:]]+)\r?\s*([0-9]+)[ ]+([0-9]+)[ ]+([^ ]+)[ ]+([A-Z]{3})[ ]+([0-9.]+) and got a

Re: cfmail

2004-08-31 Thread joe velez
you could use html emails, too [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

RE: SOT : Keeping JS Count

2004-08-31 Thread d.a.collie
Yeah, count from zero by looping thro the form and totalling every time that there is an onclick.Then just write that total out in the apprpriate place. Means that you don't need to bother about keeping track of the state of the form, means that you are only worried about the current state of

Re: SOT : Keeping JS Count

2004-08-31 Thread Greg Morphis
this is what I have function showValues(theForm) { currVal = document.getElementById(ptotal); sum = 0; for(i=0;itheForm.elements.length - 1;i++) { sum +=parseInt(theForm.elements[i].value); } alert(sum); } Unfortunately the radios have a value of 0 and a value of 1. So this adds up 0 + 1 per

Re: CFHTTP and replace() on Multiple Lines

2004-08-31 Thread joe velez
it appears that there are more than 1 carriage returns in your document, and you're only trying to replace 1.. actually only: td /td when maybe you should be replacing td#chr(13)##chr(13)##chr(13)#/td for td /td how bout instead of chr(13) just use a physical cr ... line = replace(document,

Re: CFHTTP and replace() on Multiple Lines

2004-08-31 Thread Barney Boisvert
Where a single search doesn't work, I usually revert to finding the start index 'start = find(td width=1, myStr)' and then the end index 'end = find(/td, myStr, start) + 4' and then do a mid(myStr, start, end) call to pull it out.You may have to tweak that a little, but that's the idea. cheers,

Re: CHR in ASP and CFMX

2004-08-31 Thread Adam Haskell
Now that you mention that I remeber why I knew about this in the first place. Our content team made pages that used the trade mark symbol using windows they made it into the HTML version 153 which works great in IE, not so much in other browsers. I had to write a function that converted a bunch of

Re: SOT : Keeping JS Count

2004-08-31 Thread Greg Morphis
I did away with the damn radios and went with select boxes.. that solved the headache! thanks! On Tue, 31 Aug 2004 17:39:51 +0100, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Yeah, count from zero by looping thro the form and totalling every time that there is an onclick.Then just write that

Re: ADD System?

2004-08-31 Thread Ray Champagne
Thanks for the replies, guys, but I know about as much as you do about the platform, etc.The company won't give out details about the system to ppl like me who are trying to 'steal their business'.I know that the DB is Sybase from the little that I could get. From meeting with the company and

Mail in Undeliverable Folder

2004-08-31 Thread B G
Due to an IP change on our server and an application that didn't get updated I have quite a number of emails in the undeliverable folder that I would like to send out.Has anyone converted these and drop them in the spool so they get sent? Thanks. [Todays Threads] [This Message]

RE: Second Pair Of Eyes

2004-08-31 Thread Pascal Peters
In cf5, arguments is an array. Just use formName and defaultValue without a prefix (or arguments[1] and arguments[2]). Pascal -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: 31 August 2004 17:22 To: CF-Talk Subject: [Spam?] Second Pair Of Eyes Can anyone see

Re: Mail in Undeliverable Folder

2004-08-31 Thread Adam Haskell
iff all you need to do is change the IP just doa search and replace on the folder for the IP and move them back to the spool folder. ADam H On Tue, 31 Aug 2004 11:42:05 -0500, B G [EMAIL PROTECTED] wrote: Due to an IP change on our server and an application that didn't get updated I have quite

RE: SOT : Keeping JS Count

2004-08-31 Thread Pascal Peters
IS this what you want?? function showValues(theForm) { var currVal = document.getElementById(ptotal); var sum = 0; for(var i=0;itheForm.elements.length;i++) { if(theForm.elements[i].checked) sum +=parseInt(theForm.elements[i].value); } alert(sum); } Pascal -Original Message- From:

RE: CFQuery

2004-08-31 Thread Christian Watt
Reply, not quite, this only works when an error has occurred.I would like to do this even if an error has not occurred. cfquery name=somequery Select * from table /cfquery #Output Query Ran# Christian -Original Message- From: Qasim Rasheed [mailto:[EMAIL PROTECTED] Sent:

RE: CFHTTP and replace() on Multiple Lines

2004-08-31 Thread Pascal Peters
Use regexp? REReplaceNoCase(str,td width=1\s+/td,,all) Pascal -Original Message- From: Josen Ruiseco [mailto:[EMAIL PROTECTED] Sent: 31 August 2004 18:28 To: CF-Talk Subject: CFHTTP and replace() on Multiple Lines I am calling a document via cfhttp. I am replacing numerous lines

Alternative to cgi.http_referer - single signon

2004-08-31 Thread Brian Meloche
At the office, we've run into a bit of a snag with a script that a consultant did for us that authenticates from the URL of a referring page hosted on a third party site to auto-generate single signon authentication, so that an account from their site is automatically generates an account on our

Re: CFQuery

2004-08-31 Thread Qasim Rasheed
As far as I can tell after looking at the UDF, it doesn't require an error to occur before it returns the sql statement. the only requirement I see is that debugging must be turned on on the server for this to work. since I am not the author of this udf, I might completely be wrong - Original

Re: Alternative to cgi.http_referer - single signon

2004-08-31 Thread Jochem van Dieten
Brian Meloche wrote: At the office, we've run into a bit of a snag with a script that a consultant did for us that authenticates from the URL of a referring page hosted on a third party site to auto-generate single signon authentication, so that an account from their site is automatically

RE: CFQUERYPARAM in CFSET

2004-08-31 Thread Dave Watts
This may not be possible but... Doesn anyone know of a way to get this or something similar to work? cfset strSQL = select ColumnName from TableName where ColumnName=cfqueryparam cfsqltype=CF_SQL_VARCHAR value=#Variable# cfquery #preserveSingleQuotes(strSQL)# /cfquery I'm pretty

RE: Second Pair Of Eyes

2004-08-31 Thread Dave Watts
Arguments is an array rather than a structure If I recall correctly, the Arguments object is exposed as both an array and a structure. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast

RE: SOT : Keeping JS Count

2004-08-31 Thread Dave Watts
Say you have 2 radio inputs one with a value of 0, the other with a value of 1. And you have five of these.. a_1 = 0 a_2 = 1 a_3 = 0 a_4 = 0 a_5 = 1 how would you keep track of the totals? Initially you could just do a sum of the values but what if the user changed an option? it

RE: Alternative to cgi.http_referer - single signon

2004-08-31 Thread Mark A Kruger
Brian, I'm not sure you will get consistency from anything in cgi.I'd say you are going to have to pass something else - a shared key of somekind between you and the host.This could be done with _javascript_ point to a page on your server (src="" that appends a url string to the link or hidden

  1   2   >