Re: Is it possible to send attach with cfmail ?

2001-05-22 Thread another programmer
yep, though the links may be damaged (eg. images no longer appear) due to the location of the html file changing. Use absolute links to fix this (eg. instead of /my.gif use http://mysite.com/my.gif) If you want, the mail can be html (check cfmail docs and look at 'type' attribute) -

Re: VTML edit tag dialogs: attributes with no value?

2001-05-22 Thread Bryan LaPlante
Use the free custom tag wizard at http://www.netwebapps.com/mytags/main.cfm .. On the last screen you get a chance to choose the type of control you want associated with your input and choosing a checkbox from the drop down gives your vtm file that default behavior. CF_CUSTOMTAGWIZARD

RE: Is it possible to send attach with cfmail ?

2001-05-22 Thread Chiraporn
I have colder fusion server 4.0 and cfmailparam is won't work need suggestion :-) -Original Message- From: another programmer [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 22, 2001 1:33 PM To: CF-Talk Subject: Re: Is it possible to send attach with cfmail ? yep, though the links may be

RE: Is it possible to send attach with cfmail ?

2001-05-22 Thread Kym Kovan
I have colder fusion server 4.0 and cfmailparam is won't work need suggestion :-) Use a third party mail tag, not CFMail if you are using CF4 without the needed attributes for what you want to do. I suggest iMS-SE from coolfusion.com as that is a dedicated mail-sending engine, much better

Re: cfcatch and email

2001-05-22 Thread Bryan LaPlante
Never tried to do that inside of a cfcatch block before but could you just populate a variable with the email message and then outside the try block check to see if the message is not empty and then send an email if so? Bryan - Original Message - From: sebastian palmigiani [EMAIL

RE: Problem with cf_uicalender (CONFIRMED BUG)

2001-05-22 Thread Thomas Chiverton
did we ever get an answer to this? Nope. No reply on the Allaire forums either. Which is an arse as I want to use it ! I can not seem to find one and have noted the same behavior (although it works great if you run it in pop-up mode). *really* ? :checks So it does :e-mails Allaire

RE: cfcatch and email

2001-05-22 Thread Steve Martin
You can put whatever you want inside a CFCATCH block. Check to see whether the email is being created or not by examining the SPOOL and UNDELIVR directories under CFUSION. If not then see what happens without the CFLOCATION though this shouldn't be causing CFMAIL to fail. Steve -Original

Re: CFLOCK with CF 5.0

2001-05-22 Thread Bud
On 5/21/01, Jim McAtee penned: So it sounds like CF 5 promises to be just as unstable when used in an environment with inexperienced developers. Most notably, shared hosting setups. That's where the forced locking comes in. They added that so inexperienced developers are FORCED to lock all

Tertiary Domain Creation

2001-05-22 Thread Karl Simanonok
Some of you who subscribe to Shanje.com's inexpensive web hosting may have noticed how the Web Control Panel allows you to create tertiary domains on domains that you have installed there (for example the tertiary domain karl.simanonok.com is one of the domains under simanonok.com). One nice

RE: Tertiary Domain Creation

2001-05-22 Thread alistair . davidson
Depends on what server the machine is running. If it's IIS, then look at the admin sample VB scripts -Original Message- From: Karl Simanonok [mailto:[EMAIL PROTECTED]] Sent: 22 May 2001 11:01 To: CF-Talk Subject: Tertiary Domain Creation Some of you who subscribe to Shanje.com's

Re: fearing the failing scheduler

2001-05-22 Thread Tim Painter
Akbar, I believe that a lot of the problems associated with Cfscheduler were attributed to the problems with the cfhttp tag. When they corrected a lot of the problems with cfhttp, a side benefit is that cfscheduler started behaving as well. I would definately load service pack 2. Also, as

ConnectionWrite (send()) error

2001-05-22 Thread Bud
ODBC Error Code = 01000 (General warning) [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]ConnectionWrite (send()) I see this about 3 or 4 times a day in my logs. I finally got it for the first time myself. It's strange though as it came after the entire page loaded so it doesn't appear to

Re: CFHTTP - loop problem

2001-05-22 Thread Tim Painter
Hamid, I have had problems using the query output in a loop (usally only when I am doing a nested query, though) -- try setting it to a temp variable first and see if that helps. cfloop query=IDs cfset tmpID = ids.CatID cfhttp method=GET url=http://www.xyz.com/Cat.cfm?id=#tmpID#;

Self-referencing constraint in SQL Server 7

2001-05-22 Thread Aidan Whitehall
With this table CategoryID (PK) Category ParentCategoryID (NULL) is there any way within SQL Server 7 to create a constraint that checks on INSERT to see that the ParentCategoryID supplied is either NULL or exists as a value in the CateogoryID column? Thanks -- Aidan Whitehall [EMAIL

RE: Self-referencing constraint in SQL Server 7

2001-05-22 Thread Andy Ewings
You could use a trigger to check and remove the record if conditions not met although I'd say this is far from ideal..mainly because it's not sa watertight and also the person/software inserting will be unaware that their insert has been removed

Re: cfcatch and email

2001-05-22 Thread sebastian palmigiani
Bryan, I have followed your suggestion. I created a query with a phony datasource to generate an error and put the cfmail outside the cfcatch block. I have tried the following code in my development box and on the hosting environment and it does not send the email with the error. Can someone

RE: Self-referencing constraint in SQL Server 7

2001-05-22 Thread DeVoil, Nick
Aidan, Yes, I think you can have a FOREIGN KEY constraint referencing another column in the same table. NULL values are OK too. Nick -Original Message- From: Aidan Whitehall [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 22, 2001 12:08 PM To: CF-Talk Subject: Self-referencing constraint

Re: Self-referencing constraint in SQL Server 7

2001-05-22 Thread Paul Hastings
* Team Allaire * is there any way within SQL Server 7 to create a constraint that checks on INSERT to see that the ParentCategoryID supplied is either NULL or exists as a value in the CateogoryID column? don't know if the NULL will

Re: Tertiary Domain Creation

2001-05-22 Thread Jon Hall
Two ways I can think of to handle this. First tertiary domains are just subdomains, so there needs to be a dns entry for the subdomain. You can create dns files with coldfusion or anything else, they are plaintext. There may be something like this already built in the dev exchange. A second

Win2K - error copying file

2001-05-22 Thread Neil Clark
Has anyone else suffered this fate? I have mapped a drive to another comp which will not allo me to copy a file to it? everytime I try it simply addes filname.err to the mapped drive? This is pretty weird behaviour... can't find the answer anywhere? N !- Neil

RE: CFLOCK with CF 5.0

2001-05-22 Thread hamidhossain
Sorry for you Bud!! I think allaire should take care for old versions compatibility. I am wondering why allaire gave us new functions doing the same as old ones. Why they didn't upgrade their old ones. For example, we were using ParameterExist(), they replace it with IsDefined() !! Why they did

Re: VTML edit tag dialogs: attributes with no value?

2001-05-22 Thread Kay Smoljak
On Tue, 22 May 2001 02:35:20 -0500, Bryan LaPlante [EMAIL PROTECTED] wrote: Use the free custom tag wizard at http://www.netwebapps.com/mytags/main.cfm .. On the last screen you get a chance to choose the type of control you want associated with your input and choosing a checkbox from the drop

RE: VTML edit tag dialogs: attributes with no value?

2001-05-22 Thread Raymond Camden
Thanks, but is there any way of doing this in the EDITORLAYOUT? ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/

RE: VTML edit tag dialogs: attributes with no value?

2001-05-22 Thread Raymond Camden
Kay, for some reasyon my reply got deleted. Thanks, but is there any way of doing this in the EDITORLAYOUT? What exactly do you mean? Do you mean you want the tag editor to not use a checkbox? Sorry, I'm not getting what you are after.

Re: VTML edit tag dialogs: attributes with no value?

2001-05-22 Thread Bryan LaPlante
I'm in the middle of adding a project to source safe, give me a sec and I will grab a vtm file to see if you can change something to accommodate that. Bryan - Original Message - From: Kay Smoljak [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, May 22, 2001 7:12 AM

Looping 600 CFHTTP requests - Performance

2001-05-22 Thread Paul Sizemore
We are supplying an affiliate with a feed of all our in stock items that are live on our e-commerce site, and there is a time lag between when we supply the file and when the affiliate updates their site. Many items are bought during this lag, and are out of stock by the time the affiliate gets

RE: cfcatch and email

2001-05-22 Thread Will Swain
I have this on all my cf pages, and it works fine. Amend it to suit your own requirements. There are a few APPLICATION variables that I set in the Application.cfm file, so I can put this code in my standard template: !--- Open with a cftry for structured error handling --- cftry All your code

CF, Corba XML

2001-05-22 Thread Scott Mulholland
Anyone have any experience integrating CF Corba to send XML? The receiving interface only accepts XML through Corba so using wddx or cfhttp is out, just looking to be pointed in the right direction. Thanks, Scott ~~ Structure your ColdFusion

Re: VTML edit tag dialogs: attributes with no value?

2001-05-22 Thread Bryan LaPlante
Ok I got it. I did this like 4 times with bad results so be careful how you type it in. This is the line from one of my tags that tag editors that I got to work like you want. It thinks checked it true and not checked is false but don't forget the single quotes or it will through an error. WIZIF

Moving CF from one server to another?

2001-05-22 Thread Jamie Jackson
Instead of upgrading NT4/IIS4 to Win2K/IIS5, I'd like to start with a clean slate, and install Win2K/IIS5 on a wiped drive. Moving over the old IIS metabase and Web site directories should be somewhat straightforward, and I should be able to copy over the ODBC information from registry to

RE: Moving CF from one server to another?

2001-05-22 Thread Stephen Moretti
Jamie, If you're really after a clean slate I would recommend setting everything up from scratch. Don't copy metabases over or anything like that. Install your OS, set up CF etc. and copy on your applications, then setup all the virtual paths you have set in IIS and CF, your ODBC settings etc.

Oracle 8i and CFSTOREDPROC

2001-05-22 Thread Andrew Middleton
I have a problem trying to call a stored procedure in Oracle 8i using CFSTOREDPROC. My code for the sp is below (followed by my cf code): CREATE OR REPLACE PACKAGE WebInterface AS PROCEDURE IsBaseCaseComplete (p_CaseID IN NUMBER, p_Complete OUT VARCHAR2); PRAGMA RESTRICT_REFERENCES

CFFTP and DNS Lookup Problem

2001-05-22 Thread Joseph J. Sanger, M.D.
In order to make CFFTP work on my CF server, I must use IP numbers, not names. All other DNS lookups (outside of the CFFTP CF context) seem to work on this machine. I have checked the DNS entries in the TCP/IP protocol parameters and all is well. Any advice? Thanks. --

RE: Oracle 8i and CFSTOREDPROC

2001-05-22 Thread mherbene
Try CFSTOREDPROC procedure=WebInterface.IsBaseCaseComplete and the rest as you have it. -Original Message- From: Andrew Middleton [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 22, 2001 9:17 AM To: CF-Talk Subject: Oracle 8i and CFSTOREDPROC I have a problem trying to call a stored

Re: Moving CF from one server to another?

2001-05-22 Thread Jamie Jackson
Makes sense to me, but I don't know if the IS Dept. has that kind of time (hundreds of Web sites, hundreds of datasources). Definitely the *ideal* scenario, though. Jamie On Tue, 22 May 2001 14:14:11 +0100, Stephen Moretti [EMAIL PROTECTED] wrote: Jamie, If you're really after a clean slate I

Re: VTML edit tag dialogs: attributes with no value?

2001-05-22 Thread Kay Smoljak
On Tue, 22 May 2001 08:05:03 -0500, Bryan LaPlante [EMAIL PROTECTED] wrote: Ok I got it. I did this like 4 times with bad results so be careful how you type it in. This is the line from one of my tags that tag editors that I got to work like you want. It thinks checked it true and not checked is

SLightly OT - a time formula

2001-05-22 Thread Will Swain
Hi all, This is slightly OT, but refers to a cf project so I guess it is relevant in a way. Does anyone know a formula for calculating time. I have numbers of minutes, and need to calculate the time in hours and minutes from these. For example, I have the figure of 400 minutes. I need to

Re: VTML edit tag dialogs: attributes with no value?

2001-05-22 Thread Kay Smoljak
On Tue, 22 May 2001 08:24:30 -0400, Raymond Camden [EMAIL PROTECTED] wrote: Kay, for some reasyon my reply got deleted. Thanks, but is there any way of doing this in the EDITORLAYOUT? What exactly do you mean? Do you mean you want the tag editor to not use a checkbox? Sorry, I'm not getting

RE: SLightly OT - a time formula

2001-05-22 Thread Jason Lees (National Express)
Try this cfset Hours=int(totalMins/60) cfset Minutes=totalMins Mod 60 Therefore with 400 Mins you get Hours=int(400/60)=6 Mins=400 Mod 6= 40 Back Calc = (6*60)+40=360+40=400 Jason Lees National Express Email : [EMAIL PROTECTED] -Original Message- From: Will Swain

winzip and cfexecute

2001-05-22 Thread Kevan . Windle
Anyone successfully used the add-on command line utility for winzip from cfexecute? It starts ok but whatever I do it seems to terminate half way through and just leave the temp zip file and an open cmd process. Using CF 4.51 and Win NT.

RE: VTML edit tag dialogs: attributes with no value?

2001-05-22 Thread Raymond Camden
Sorry, I knew I'd have trouble making the actual problem clear. I have a tag that has attributes that have no values. The effect is applied depending on whether the attribute is present or not, not on it's value. I'm trying to make an edit tag dialog that will preferably output attributes

RE: SLightly OT - a time formula

2001-05-22 Thread Pete Freitag
cfset min = 400 mod 60 cfset hr = Fix(400/60) Use the modulus to get the remainder, and use fix to get the Floor of the division. Pete Freitag ([EMAIL PROTECTED]) CFDEV.COM ColdFusion Developers Resources http://www.cfdev.com/ -Original Message- From: Will Swain [mailto:[EMAIL

RE: Moving CF from one server to another?

2001-05-22 Thread Lomvardias, Christopher
Jamie, You might want to look at http://www.defusion.com/articles/index.cfm?ArticleID=65 Chris -- Chris Lomvardias [EMAIL PROTECTED] Syscom, Inc. 400 E. Pratt Street, Suite 300 Baltimore, MD 21202 (410)539-3737 x1722 voice

Re: SLightly OT - a time formula

2001-05-22 Thread stas
cfset time = 400 cfset hours = time \ 60 !--- returns the integer part of the division --- cfset minutes = time mod 60 cfoutput#hours# hours and #minutes# minutes./cfoutput - Original Message - From: Will Swain Hi all, This is slightly OT, but refers to a cf project so I guess it

RE: SLightly OT - a time formula

2001-05-22 Thread Cameron Childress
Wonder if this would work? CreateTime(int(totalMins/60, totalMins Mod 60, 0) -Cameron Cameron Childress elliptIQ Inc. p.770.460.7277.232 f.770.460.0963 -Original Message- From: Jason Lees (National Express) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 22,

RE: SLightly OT - a time formula

2001-05-22 Thread Will Swain
Nice one. I can't use cf though, its got to be in an Access2000 db, but I guess I can do something similar in VBA. Thanks Will -Original Message- From: Jason Lees (National Express) [mailto:[EMAIL PROTECTED]] Sent: 22 May 2001 14:48 To: CF-Talk Subject: RE: SLightly OT - a time

Re: VTML edit tag dialogs: attributes with no value?

2001-05-22 Thread Kay Smoljak
On Tue, 22 May 2001 09:50:48 -0400, Raymond Camden [EMAIL PROTECTED] wrote: Kay, I had no problems understanding that part. Did you see my first response about WIZIF? That would more than handle outputting TEXT_BOLD only if it is needed. Bryan's email was pretty much the same as well. OK, I'll

Redirect From Popup

2001-05-22 Thread Dave Hannum
Hello, I have a form in a popup window. When I click the button, it does an update on the DB from that pop-up window. How can I then: First) Redirect to the parent window carrying query string info in the redirect URL and Second) Close the popup window on the redirect. Flow

RE: SLightly OT - a time formula

2001-05-22 Thread Will Swain
Thanks to everyone who replied. Regards Will -Original Message- From: stas [mailto:[EMAIL PROTECTED]] Sent: 22 May 2001 15:04 To: CF-Talk Subject: Re: SLightly OT - a time formula cfset time = 400 cfset hours = time \ 60 !--- returns the integer part of the division --- cfset

Re: Moving CF from one server to another?

2001-05-22 Thread Jamie Jackson
This is perfect. Thanks, Jamie On Tue, 22 May 2001 10:00:20 -0400, Lomvardias, Christopher [EMAIL PROTECTED] wrote: Jamie, You might want to look at http://www.defusion.com/articles/index.cfm?ArticleID=65 Chris -- Chris

Re: winzip and cfexecute

2001-05-22 Thread Michael Lugassy
Kevan- I used the original PKZIP 32 BIT from PKWARE. (http://www.pkware.com I think.) worked excellent for me! Maybe you should give it a try! support longfilenames, compression ratio, folders, everything, and compatible with WINZIP 100% Thanks, Michael Lugassy IT/WEB Specialist Interactive

RE: Redirect From Popup

2001-05-22 Thread James Maltby
Actually it may work better like this: popupdate.cfm: cf_update stuff here cfquery - max id collect name=getid then... cfoutput html script language=JavaScript function closeit() { window.opener.location=querylandpagename.cfm?id=#getid.id#; window.close(); } /script /cfoutput body

Re: SLightly OT - a time formula

2001-05-22 Thread Eric Dawson
not sure of CF syntax, but it is: int(totalminutes/60):mod(totalminutes,60) Example: 400 minutes int(400/60) = int(6.666) = 6 mod(400,60) = 40 answer= 6:40 Eric From: Will Swain [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Subject: SLightly OT - a time formula

RE: Redirect From Popup

2001-05-22 Thread James Maltby
You need to add the following code to the bottom of your update page within the pop-up child: html script language=JavaScript function closeit() { window.opener.location=querylandname.cfm?var1=xvar2=y; window.close(); } /script body onload=closeit()/body /html Where var1=x and var2=y

RE: VTML edit tag dialogs: attributes with no value?

2001-05-22 Thread Dave Watts
Kay, I had no problems understanding that part. Did you see my first response about WIZIF? That would more than handle outputting TEXT_BOLD only if it is needed. Bryan's email was pretty much the same as well. OK, I'll have to try it tomorrow at work. Thanks for your reply and

File Download... A generic solution???

2001-05-22 Thread Dick Applebaum
There has been quite a lot of discussion about how to make file download work properly in various browsers. Thomas Chiverton came up with a work-around for MSIE 5.x Win bugs that wouldn't pick up the correct file name. Others had fixes for other browsers. Thomas' solution used a popup window

Cookie Structure

2001-05-22 Thread Bernd VanSkiver
Is there a way to have a Structure in a cookie? = Bernd VanSkiver [EMAIL PROTECTED] ColdFusion Developer ICQ UIN: 916324 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm

Re: winzip and cfexecute

2001-05-22 Thread David Fauth
I had to use winzip 6.3 to make it work. Newer versions of Winzip and the batch file would spawn a process but never complete. dave -- Original Message -- From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Tue, 22 May 2001 14:48:19 +0100

Re: SLightly OT - a time formula

2001-05-22 Thread Greg Luce
Did you see this? It would be nice to make all those events in the task tracker into hours/minutes. - Original Message - From: Jason Lees (National Express) [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, May 22, 2001 9:47 AM Subject: RE: SLightly OT - a time formula

Session Solution.

2001-05-22 Thread Neil H.
I have been skirting the issue here for a while I am simply trying to notify a user when their session will timeout. I would like it to count down. Like a dialog box that says you will timeout in 5 minutes and counts down? Any ideas? Thanks, Neil

Re: cferror need some ideas

2001-05-22 Thread Art Broussard
So what you'r saying is not to worry about the cferror tag and just wrap the page in a cftry? Then put a cfmail in that? Art You could try something like this: cftry CONTENT OF THE PAGE GOES HERE cfcatch type=Any table border=1 cellpadding=4 align=center trtd colspan=2bERROR:/b An

RE: Cookie Structure

2001-05-22 Thread Andy Ewings
By using WDDX -- Andrew Ewings Project Manager Thoughtbubble Ltd http://www.thoughtbubble.net -- United Kingdom http://www.thoughtbubble.co.uk/ Tel: +44 (0) 20

Re: Cookie Structure

2001-05-22 Thread Tim Painter
You can use wddx to convert it to wddx packet, and stuff that into a cookie, then de-serialize it again. Tim P. - Original Message - From: Bernd VanSkiver [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, May 22, 2001 10:47 AM Subject: Cookie Structure Is there a way to

RE: Cookie Structure

2001-05-22 Thread Cameron Childress
Warning: this method should not be used, because 1) Some browsers don't like to hold large cookies 2) Bandwidth overhead is created with each page request as these large cookies are sent from the browser to the server on each page request. CFWDDX ACTION=CFML2WDDX INPUT=x

Re: [Redirect From Popup]

2001-05-22 Thread Alex
javascript on the update page. do a window.opener.refresh and window.close Dave Hannum [EMAIL PROTECTED] wrote: Hello, I have a form in a popup window. When I click the button, it does an update on the DB from that pop-up window. How can I then: First) Redirect to the parent window

RE: Session Solution.

2001-05-22 Thread Semrau, Steven L Mr SRA
Steven Semrau SRA International, Inc. Senior Member, Professional Staff [EMAIL PROTECTED] [EMAIL PROTECTED] Com: (703) 805-1095 DSN: (703) 655-1095 -Original Message- From: Neil H. [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 22, 2001 10:59 AM To: CF-Talk Subject: Session Solution.

RE: cfcatch and email

2001-05-22 Thread Philip Arnold - ASP
Date: #DateFormat(Now(), MM D, YYY)# #TimeFormat(Now(), h:mm tt)#br Just out of curiosity - which century is your server set in? We're currently in the 22nd century now... g Philip Arnold Director Certified ColdFusion Developer ASP Multimedia Limited T: +44 (0)20 8680 1133 Websites for the

RE: Setting Dynamic Variables

2001-05-22 Thread Philip Arnold - ASP
I don't know whether it's marked for deprecation - for that to happen, it would have to be part of the documented, desired behavior of the language in the first place. To the best of my knowledge, it isn't - it's a trick of the language which just happens to work. On the other hand, there's

Re: winzip and cfexecute

2001-05-22 Thread Michael Lugassy
Only pkzip and more - if you plan to use this process only for yourself (i.e - not distribute the zip file and transfer it back and forward for maintance issue and stuff) I would recommened ARJ - yes, ARJ!!! it has way much more features and abilities. (span the archive into multiple 1.4Mb (or

RE: Session Solution.

2001-05-22 Thread alistair . davidson
You could do it with javascript and DHTML, something like this - cfset TimeoutSecs = 30 div id=Countdown You will timeout in #TimeoutSecs# seconds /div script language=javascript var Timer = #TimeoutSecs# window.setTimeout( tick();, 1000 ); function tick() { Timer = Timer - 1;

RE: cferror need some ideas

2001-05-22 Thread Dave Watts
You could try something like this: cftry CONTENT OF THE PAGE GOES HERE cfcatch type=Any I'd recommend avoiding this approach, especially if you're running CF 4.5.x. Instead, you'd be better off using the site-wide error handler, which can execute code. Exception handling

RE: Session Solution.

2001-05-22 Thread Semrau, Steven L Mr SRA
Sorry about that I may have sent an empty email the first time to the list. I have exactly what you are looking for. I never uploaded it to Allaire's Developer Exchange for some reason, but it's there now! You may not be able to find it right-off since I just uploaded it but the direct URL to

client/server help

2001-05-22 Thread Michael Lugassy
We use simple http requests to transfer data from the server to our special client (built with visual c++) for example: http://www.imvamp.com/action/register.cfm?username=davidpassword=123456 that will return this: OK or NO as a web page (html) the visual c++ client knows what to do on his side

Pre test / Post test

2001-05-22 Thread Francis, Jennifer
I'm trying to create a pretest/post test with the same questions except for the order changes for the post test. The question numbers questions are stored in the database, so I just need to pull them by the question number. I have tried to use randrange, but it creates duplicates. Is there an

RE: Session Solution.

2001-05-22 Thread JoshMEagle
HEAD cfparam name=timeout default=5:00 SCRIPT LANGUAGE=JavaScript !-- Begin var up,down;var min1,sec1;var cmin1,csec1,cmin2,csec2; function Minutes(data) { for(var i=0;idata.length;i++) if(data.substring(i,i+1)==:) break; return(data.substring(0,i)); } function Seconds(data) for(var

Re: Looping 600 CFHTTP requests - Performance

2001-05-22 Thread Dick Applebaum
Paul I don't think I understand what you are doing... unless you are dealing with one-of-a-kind items. As I understand it: You send the affiliate a feed of all all your in stock items... what's a feed SKU qty? Some time passes and the affiliate updates their site Now the affiliate wants

Calling Oracle Reports from CF

2001-05-22 Thread Hays, Duncan
Anyone ever successfully called an Oracle Reports report from CF? I've been trying CFEXECUTE but with no luck. Duncan Hays Peace Corps ~~ Structure your ColdFusion code with Fusebox. Get the official book at

RE: winzip and cfexecute

2001-05-22 Thread Kevan . Windle
Thanks david and michael. Using the command line version of pkzip from pkware was successful. But I don't know if I'll be allowed to use it so I may try winzip 6.3 as well. -Original Message- From: Michael Lugassy [mailto:[EMAIL PROTECTED]] Sent: 22 May 2001 16:22 To: CF-Talk Subject:

Re: Redirect From Popup

2001-05-22 Thread Dave Hannum
Thanks James - works like a charm. BTW - I meant to post this to the JS-Jive group but you got it right on this list the first try 8-) Dave - Original Message - From: James Maltby [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, May 22, 2001 10:34 AM Subject: RE: Redirect

RE: Session Solution.

2001-05-22 Thread Duane Boudreau
This might work: 1) Capture the session start time when your user logs in as a session var. 2) Pass this session start time to a javascript function on every page that does your countdown (the javascript function calculates the difference bewteen the current time and the session start time) 4)

checking whether sites are available

2001-05-22 Thread Marc Garrett
I have a database of a few hundred sites. I'd like to use CF to automatically check to see whether the sites are up so I don't have to do it by hand. The solution I came up with is to use cfhttp.statuscode to check whether the site is up. I loop through the list and update the database

Re: Stripping wrapper quotes from all fields

2001-05-22 Thread Marc Garrett
Thanks Raymond and Randy. I'll try these out. Marc - Original Message - From: Raymond Camden [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, May 21, 2001 12:06 PM Subject: RE: Stripping wrapper quotes from all fields CFSET STR = Ray's world has quotes in it. CFSET

Compromising Security

2001-05-22 Thread Pooh Bear
hey, I was wondering what are the least amount of information someone needs to compromise my database or code? I am.err...hacking? my site/database through the URL. So far, I've got 2 tablenames, the datasource, and some field names. I dont want to have to do a lot of coding to prevent

OT - Java/Javascript question

2001-05-22 Thread Andy Ewings
I have an off topic question re java/javascript which I'm hoping someone will be able to answer! I have a java applet that is a slider control with 5 interval values. I also have an image on the page. I want to change the location of this image when the sliuder gets moved (i.e. when the

RE: cferror need some ideas

2001-05-22 Thread Owens, Howard
Well, David Watts says not to do it and he's about 10 times smarter than I am on this stuff (I'm not being a smart aleck if it sounds that way, I mean it). However, this has worked for me. It is a little more cumbersome than using the error.cfm page, but it works. And sometimes, I do use it

Re: winzip and cfexecute

2001-05-22 Thread Jim McAtee
We've been using the WinZip command line addon for a couple years, but with cfx_spawnexec (we're still running CF 4.0.1). Works very well. We're running NT4 and I think version 7.01 of WinZip. I use it to compress web logs and email server logs. Jim - Original Message - From: [EMAIL

Re: [Re: [Redirect From Popup]]

2001-05-22 Thread Alex
window.opener.location = page.cfm?var=#var#; window.close() Alex [EMAIL PROTECTED] wrote: javascript on the update page. do a window.opener.refresh and window.close Dave Hannum [EMAIL PROTECTED] wrote: Hello, I have a form in a popup window. When I click the button, it does an update on the

Re: Pre test / Post test

2001-05-22 Thread Daniel Lancelot
What I have done in the past is to use cfset duplicatevalue = 1 cfloop condition=duplicatevalue eq 1 generate random value... if random value not in list then... cfset duplicatevalue = 0 cfloop HTH - Dan - Original Message - From: Francis, Jennifer [EMAIL PROTECTED] To:

Re: Pre test / Post test

2001-05-22 Thread Dave f
Something like (and treat this as pseudo-code only): cfset list1='1','2','3','4','5','6','7','8','9' cfset list2= cfloop from=1 to=ListLen(list1) index=i cfscript k=randrange(1,Listlen(list1)); ListAppend(list2,ListGetAt(list1,k)); ListDeleteAt(list1,k); /cfscript /cfloop Sorry for

Re: Compromising Security

2001-05-22 Thread Dave f
What do you mean by compomise? If you have a connection to the Internet, you are potentially at risk. The only thing that you can do is to make it harder to be compomised (encryption, firewall). Some Oses are inherently more secure than others, but none of them can withstand an attack by a

Re: Compromising Security

2001-05-22 Thread Christopher Porter
if someone can run a query from a url, all they have to do is get to the sysobjects table (a known table in ss7) thhen, if done properly, your code will display ever table name in the database. they could then insert orders (yes even as strings though that is a bit harder), or query teh credit

RE: Looping 600 CFHTTP requests - Performance

2001-05-22 Thread Paul Sizemore
The feed to our affiliate includes: a URL to the product page on our site A url to an image on our site A whole lot of other info (price, sku, ...) A flag for IN STOCK The

RE: Compromising Security

2001-05-22 Thread Bill King
A big one: If the users can get this information. They may be able to send CFTAGS in your form fields and cause trouble. Be sure to validate all form entries to abort any cftags being sent into form fields. Signed, Bill King HostWorks INC http://www.hostworks.com -Original

Re: checking whether sites are available

2001-05-22 Thread Jim McAtee
Are these sites that you manage? If it takes forever, then it's probably simply because of the time required for each server to serve up the page. If you have control of the sites you could place a simple CF template (assuming you want to check that CF is also still functioning) on each site.

Re: using recordcount key with dynamic name

2001-05-22 Thread Pooh Bear
let's say the variable for the search name is search_name to get the record count for it, use the evaluate function #Evaluate(search_name '.recordcount')# teehee From: Tracy Bost [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Subject: using recordcount key with

CFX tags

2001-05-22 Thread Ray Bujarski
I am using solaris/NetscapeWebServer/CFServer4.5 and am trying to use the cfx_make_tree tag. I am new to the solaris environment so I am not sure that I am doing this correctly. I have tried to put the dll in both the webserver root and pointing the server to that directory and the /opt

CFGRID--why is this update not working?

2001-05-22 Thread Terri Stocke
Hey all, First time using CFGRID here. Everything displays great, but when I click the submit button to update the database I get the error: The table 'KSSE.RPT_DEPT_GROUPS' contained no columns in the grid 'ksse_dev' Here is my code. Any Ideas? I should point out that the data for the grids

Re: Compromising Security

2001-05-22 Thread Pooh Bear
what i meant was, if someone knew my datasource, and a couple of table names and fields, will they be able to cuase any damage? From: Dave f [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Subject: Re: Compromising Security Date: Tue, 22 May 2001 14:00:42 -0400

Access Memo field format

2001-05-22 Thread Les Mizzell
This has probably been asked before, but... Is there a way to keep the formatting of an Access memo field intact when pulling it onto a web page? Thanks! -- Les Mizzell Who Needs Intel? ATHLON INSIDE! ~~ Structure your

Re: Looping 600 CFHTTP requests - Performance

2001-05-22 Thread Zac
Paul Sizemore wrote: What would be the most efficient way to do this? What about parsing your web logs for server errors? You can use a log analysis program (like Analog) or even write your own to do this -- If it ain't broke, it doesn't have enough features yet. email:

  1   2   >