AW: Can anyone explain this?

2001-01-27 Thread Christoph Schmitz
Hi, if you manually pass the values for CFID and CFTOKEN from page to page (or enable cookies), they won't change anymore and indeed CF stores these values and along with them stores all session variables for that user. Whenever the user tries to access a session variable, CF looks up the users

Re: (WOT) Sample code for COM object wrappers for Stored Procedures

2001-01-27 Thread Wjreichard
Why ... n-tier development. Typically 3 tiers: presentation, business logic and backend processing. And the COM component is the middle tier ... enforcing business rules. ASP/CF acts as the presentation tier with T-SQL as the third tier. Why n-tier development ... because of scalability,

Re: ALLR/MACR Merger - ColdFusion to be repositioned ?????

2001-01-27 Thread Richard L Smith
"Repositioned" eh? Sounds like a major screw-up is in the offing. Rick - Original Message - From: "Dave Watts" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Friday, January 26, 2001 2:06 PM Subject: RE: ALLR/MACR Merger - ColdFusion to be "repositioned" ? In the

Re: [Get newest record?]

2001-01-27 Thread Alex
max(orderid) "Jon Hall" [EMAIL PROTECTED] wrote: I have a query that returns placed orders by a customer. How would I pull olny the newest order by a particular customer? I have a datestamp field and an autonumber id field if that helps... I know I could do SELECT TOP 1 * FROM orderTable WHERE

Re: Why can't you see the cookies?

2001-01-27 Thread Bud
On 1/27/01, sebastian palmigiani penned: I have following code in application.cfm: cfif NOT IsDefined("COOKIE.cfid") OR NOT IsDefined("COOKIE.cftoken") cfinclude template="NoCookie.cfm" cfabort /cfif I have cookies turned off and no matter what page I am on this code is not picking up the

Re: ALLR/MACR Merger - ColdFusion to be repositioned ?????

2001-01-27 Thread Bud
On 1/27/01, Richard L Smith penned: I hope you're right just to be safe I learning Java Hopefully, we won't have to learn Java. Just like I don't have to know C++ to code CF now. -- Bud Schneehagen - Tropical Web Creations _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ColdFusion Solutions /

Re: AbleCommerce

2001-01-27 Thread Bud
On 1/26/01, Duane Boudreau penned: Can anyone tell me what is involved with setting up PGP encryption? I'm thinking of using it to encrypt the numbers while they sit in the database. It'll pretty easy with PGP and the CFX_PGP tag if the card is only being stored so the site owner can retrieve

Re: Can anyone explain this?

2001-01-27 Thread Jeffry Houser
Just a guess, but.. You are using a CFAPPLICATION tag, correct? 1. CFAPPLICATION sets up the two cookies (CFID, CFTOKEN) and sends them to the browser. 2. Your browser isn't allowing cookies. 3.Browser hits page, CFAPPLICATION tag runs, it looks for the CFID / CFTOKEN cookies.

Setting a Cookie

2001-01-27 Thread sebastian palmigiani
The query MemberRoles returns 2 values: 2 3 !--- Set the query to a local variable --- cfoutput query="MemberRoles" cfset Roles = RoleID /cfoutput !--- Set the local variable to a cookie --- cfcookie name="CFRoles" value="#Roles#" Only one of the values is set to the cookie which in this

RE: Alphabetic List

2001-01-27 Thread Philip Arnold - ASP
cfset myLetters=ValueList(LetterList.Letter) cfloop index="i" from=1 to=26 cfset s=Chr(64+i) cfif ListFind(myLetters,s) gt 0 a href="file.cfm?Letter=#s#"#s#/a cfelse #s# /cfif /cfloop Actually, adjusting my previous code to make it

RE: Integrating with Secure Trading

2001-01-27 Thread Philip Arnold - ASP
Do any of you have experience integrating a CF shopping cart with SecureTrading.com' services ?? Or can anyone impart any knowledge on what they use and how easily a CF application, maybe even Ablecommerce can integrate? We've used it, and we're not that impressed with their service...

RE: CFSCRIPT performance

2001-01-27 Thread Philip Arnold - ASP
I have a question on CFSCRIPT performance. I know that it is quicker to use CFSCRIPT than to use CFSET. Is it likewise quicker to use the CFSCRIPT if() over CFIF? I have a CFIF checking that one of 14 empressions are met (13 ORs). Would it be better to use CFSCRIPT for this? This is

RE: import excel

2001-01-27 Thread Philip Arnold - ASP
Do you guys know of a way to insert an uploaded excel document into a database? If you have access to the server then use the database import (Enterprise Manager for SQL Server, etc.) Or, if you want to automate the process via CF; Create an ODBC link to the spreadsheet, then import it from

RE: count statement

2001-01-27 Thread Philip Arnold - ASP
I want this statement to count how many people are in the class by the date. Please help me it keeps on kicking out this error. Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'count(distinct cccustomer.clname)'. cfquery name="qryGETSTUDENTS"

RE: RequestTimeout

2001-01-27 Thread Philip Arnold - ASP
Does anyone know if there is an upper limit for RequestTimeout (as set in the query string)? Not that I know of, as you can turn the whole thing off in the Admin... but remember that IE has a 5 minute limit before it spits (so you don't know if CF has finished or not) There's probably the

RE: Setting a Cookie

2001-01-27 Thread Philip Arnold - ASP
The query MemberRoles returns 2 values: 2 3 !--- Set the query to a local variable --- cfoutput query="MemberRoles" cfset Roles = RoleID /cfoutput !--- Set the local variable to a cookie --- cfcookie name="CFRoles" value="#Roles#" Only one of the values is set to the cookie which in

Re: array value not found???

2001-01-27 Thread CF
My understanding of ArraySet() was that it initialized an array with some default values. Setting temp = to it was just the way it's done. That line should give me an array full of 0's. #temp[Variables.TestIndex]# doesn't work either. - Original Message - From: "Joby Bednar" [EMAIL

Re: Setting a Cookie

2001-01-27 Thread sebastian palmigiani
That was my reaction too. But I kept checking the value of the cookie with cfoutput and it had only one value. I ended up setting the query to a list and then setting the value of the cookie to the list and it worked. Sebastian on 1/27/01 10:19 AM, Philip Arnold - ASP at [EMAIL PROTECTED]

RE: CFSCRIPT performance

2001-01-27 Thread Robert Everland III
There is too an else if. Just do else if(). Use it all over the place. Never had a problem. Bob Everland -Original Message- From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 27, 2001 11:07 AM To: CF-Talk Subject: RE: CFSCRIPT performance I have a question

RE: Setting a Cookie

2001-01-27 Thread Philip Arnold - ASP
That was my reaction too. But I kept checking the value of the cookie with cfoutput and it had only one value. I ended up setting the query to a list and then setting the value of the cookie to the list and it worked. I actually mis-understood what you meant... Remember that when you CFSET

RE: CFSCRIPT performance

2001-01-27 Thread Philip Arnold - ASP
There is too an else if. Just do else if(). Use it all over the place. Never had a problem. How come the docs say you can only do else and place the if inside the else... I've done else if() before - as it's actually else { if() } I'll have to check with multiple else if()s Philip Arnold

CF and VoiceMail?

2001-01-27 Thread moonerent
Any ideas on some good tools to do this: 1) User calls a phone number and pushes one for this and push two for that. 2) The menu choices and the user responses are managed with a CF admin module. TIA, Rick ~~ Structure your ColdFusion code

Re: CF and VoiceMail?

2001-01-27 Thread Howie Hamlin
This was demoed at the Allaire conference. Here are some linksL Voxeo main page: http://www.voxeo.com Product info: http://www.voxeo.com/index.cfm?pageid=07F9F899-1E19-4B0C-AA24B3A4F65F8C1E HTH, Howie Hamlin - inFusion Project Manager On-Line Data Solutions, Inc. www.CoolFusion.com

Re: Setting a Cookie

2001-01-27 Thread Bud
On 1/27/01, sebastian palmigiani penned: The query MemberRoles returns 2 values: 2 3 !--- Set the query to a local variable --- cfoutput query="MemberRoles" cfset Roles = RoleID /cfoutput !--- Set the local variable to a cookie --- cfcookie name="CFRoles" value="#Roles#" Only one of the values

ISP to support WAP and CF

2001-01-27 Thread Gieseman, Athelene
I'm looking for a host that will support WAP and CF. I'm doing this just to have an opportunity to learn and test. Any suggestions? Athelene Gieseman ~~ Structure your ColdFusion code with Fusebox. Get the official book at

RE: ISP to support WAP and CF

2001-01-27 Thread Philip Arnold - ASP
I'm looking for a host that will support WAP and CF. I'm doing this just to have an opportunity to learn and test. Any suggestions? WAP is just a content type and page definition, therefore any host who supports CF will automatically support WAP If you want to have a "wap." domain then

Re: ISP to support WAP and CF

2001-01-27 Thread net_man
Checkout www.atswebnet.com We support both. Thanks, Robert - Original Message - From: "Gieseman, Athelene" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Saturday, January 27, 2001 3:23 PM Subject: ISP to support WAP and CF I'm looking for a host that will support WAP and

Re: (WOT) Sample code for COM object wrappers for Stored Procedures

2001-01-27 Thread Eric Dawson
great response. I want to implement a working example to learn from. Any suggestions as to where to get a working database example? Eric From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Subject: Re: (WOT) Sample code for COM object wrappers for Stored

RE: ISP to support WAP and CF

2001-01-27 Thread Dylan Bromby
you don't need anything server-side to deliver WAP applications. -Original Message- From: Gieseman, Athelene [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 27, 2001 12:24 PM To: CF-Talk Subject: ISP to support WAP and CF I'm looking for a host that will support WAP and CF. I'm

RE: CFSCRIPT performance

2001-01-27 Thread Dave Watts
There is too an else if. Just do else if(). Use it all over the place. Never had a problem. How come the docs say you can only do else and place the if inside the else... I've done else if() before - as it's actually else { if() } I'll have to check with multiple else if()s I

Session tracking help??!!

2001-01-27 Thread Jeff Davis
Newbie needs help!! I need to be able to track users logged into a website. But I don't want to restrict access to the site, just certain areas if they are not a member. And I have to be able to at anytime see which members are actually logged in to the site to participate. Can I track a

CF Admin Password and CF Studio 4.5 config queries

2001-01-27 Thread Marsha
Hi All, I am learning Cold Fusion in a college class. I've purchased Cold Fusion Studio 4.5. After about a week of struggle I finally got Apache installed. CF Server is running. I thought I'd seen the end of my travails. No such luck. (smile) I can't access the adminstrator as it

RE: ALLR/MACR Merger - ColdFusion to be repositioned ?????

2001-01-27 Thread Dave Watts
Hopefully, we won't have to learn Java. Just like I don't have to know C++ to code CF now. No, you shouldn't have to learn Java. However, I suspect that Java component development will become much more important to CF application development; now, typically, CF applications don't use

The real distance formula

2001-01-27 Thread Dylan Bromby
A week or more ago, someone posted a formula for calculating the distance between two points using latitude/longitude. I think the formula as incorrect. However, here is one that works perfectly; #Evaluate(((pi()*6378)/180)*(ACos((Sin(lat_A)*Sin(lat_B)) +

RE: ALLR/MACR Merger - ColdFusion to be repositioned ?????

2001-01-27 Thread Dave Watts
The version 6 release of CF, which will merge CF and JRun, will really be a CFML interface on top of the JRun engine. CFML scripts will be compiled into Java servlet class files, similar to how JSP files are handled by servlet engines now. I thought this was the plan for CF _5_ ???

CFOBJECT problem

2001-01-27 Thread Laszlo Nadai
Hi Gurus, I was trying to do some CFOBJECT stuff, but I cannot configure CFusion server. What am I supposed to put into the "JVM library path"? (It's NT4.) I was trying to do: c:\jdk1.2.2\bin\ because that's where I have java.exe After doing this, I couldn't eve start the server again...

RE: CFSCRIPT performance

2001-01-27 Thread Evan Lavidor
I've done multiple else if() statements within cfscript many times. No problems at all. Evan -Original Message- From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 27, 2001 12:26 PM To: CF-Talk Subject: RE: CFSCRIPT performance There is too an else if.

RE: CFSCRIPT performance

2001-01-27 Thread Raymond B.
CFSCRIPT gains about a 10% performance advantage (I wish I still had the source for this number, but I can't seem to find it anymore... it was a good article) and generally cleaner code if you're doing a lot of page logic; obviously it loses out on the ease of screen display to tag based

RE: Why can't you see the cookies?

2001-01-27 Thread donn
-Original Message- From: sebastian palmigiani [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 27, 2001 11:28 AM To: CF-Talk Subject: Why can't you see the cookies? I have following code in application.cfm: cfif NOT IsDefined("COOKIE.cfid") OR NOT IsDefined("COOKIE.cftoken")

RE: Why can't you see the cookies?

2001-01-27 Thread donn
-Original Message- From: sebastian palmigiani [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 27, 2001 11:28 AM To: CF-Talk Subject: Why can't you see the cookies? I have following code in application.cfm: cfif NOT IsDefined("COOKIE.cfid") OR NOT IsDefined("COOKIE.cftoken")

RE: Why can't you see the cookies?

2001-01-27 Thread donn
-Original Message- From: sebastian palmigiani [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 27, 2001 11:28 AM To: CF-Talk Subject: Why can't you see the cookies? I have following code in application.cfm: cfif NOT IsDefined("COOKIE.cfid") OR NOT IsDefined("COOKIE.cftoken")

RE: ALLR/MACR Merger - ColdFusion to be repositioned ?????

2001-01-27 Thread donn
-Original Message- From: Joby Bednar [mailto:[EMAIL PROTECTED]] Sent: Friday, January 26, 2001 2:39 PM To: CF-Talk Subject: RE: ALLR/MACR Merger - ColdFusion to be "repositioned" ? Or... and I'm leaning towards this idea... the reporter got a little confused and thought they would

OS Detection

2001-01-27 Thread Clint Tredway
My debug info is not working on my machine.. Is there any way to tell the OS in CF? -- Clint Tredway www.factorxsoftware.com -- ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm

RE: Why can't you see the cookies?

2001-01-27 Thread Bud
I have cookies turned off and no matter what page I am on this code is not picking up the fact that these 2 cookies don't exist. Yet when I make up a fictitious cookie name and test for it's existence then this code works. What is going on here? Sebastian. Look for my earlier response. I

Re: The real distance formula

2001-01-27 Thread Scott Weikert
That was me, who was asking But I'm glad you spoke up, because something I was wondering about the formulas that were being tossed around. Do they handle the fact that two sets of positions, with identical longitudes (east-west, right?) but different latitu des, would be a different

RE: OS Detection

2001-01-27 Thread Dave Watts
My debug info is not working on my machine.. Is there any way to tell the OS in CF? If you're trying to determine the OS of the CF Server, you can look at the "Version Info" page in the CF Administrator, or you can reference the variable Server.OS.Version. Dave Watts, CTO, Fig Leaf Software

RE: CF Admin Password and CF Studio 4.5 config queries

2001-01-27 Thread Dave Watts
I can't access the adminstrator as it refuses to accept the password I gave it. I know it is the correct password. Is there some way to get the system to give me a new password other than uninstalling it and reinstalling it? Yes. You can simply disable the administrator password by

RE: OS Detection

2001-01-27 Thread Clint Tredway
Thanks! That is what I needed... -- Clint Tredway www.factorxsoftware.com -- ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives:

RE: The real distance formula

2001-01-27 Thread Allan Pichler
Just out of curiousity ... Are we talking about the distance in a straight line (so to speak) or is it the shortest distance you're looking for ? Allan Pichler -Original Message- From: Scott Weikert [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 27, 2001 6:12 PM To: CF-Talk

RE: CFOBJECT problem

2001-01-27 Thread Deb Dickerson
No need to uninstall/install for this problem. Just do the following: Run "regedit". Navigate to HKEY_LOCAL_MACHINE/SOFTWARE/Allaire/ColdFusion/CurrentVersion/JVM Double-click on JVMLoad and change the value from 1 to 0. Close the registry editor and now restart ColdFusion. At that point you'll

RE: The real distance formula

2001-01-27 Thread Raymond B.
Well, it's been quite a while since I last delved into GIS and trig but here goes. The earth does not lend itself well to simple calculations, all the below (except the last) assume a spherical earth and ignore any diffences in the terrain, elevation, roadways, etc. That said, let's look at some

RE: iif usage

2001-01-27 Thread Max Paperno
At 1/25/2001 06:13 PM +, Stephen Moretti wrote: snip Cfoutput#iif(isDefined("Attributes.display"),Trim(attributes.name"_query. "attributes.display),DE(''))#/cfoutput This is good advice, and it will also not throw any errors if attributes.display is not defined. For example: IIf(

RE: Macromedia and Allaire to Merge

2001-01-27 Thread lsellers
a side note to this is that the proposed java based CF App Server is not an applet machine... it is a servlet engine at heart. Just a technicallity, but I thought it was worth mentioning that applets have nothing to do with most of allaire's future plans for java based technologies. Yes,

RE: The real distance formula

2001-01-27 Thread Dylan Bromby
yep my bad...that last pair should be longitude. :) my point was the forumla that was previously posted didn't work. whether it was a typo (like mine! :) ) or not, i'm not sure. -Original Message- From: Raymond B. [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 27, 2001 8:34 PM To:

RE: The real distance formula

2001-01-27 Thread Dylan Bromby
also remember, if you're using distance calculations for determining the proximity of real-world locations, you can only get *truly* meaningful data with turn-by-turn calculations using road data. lat/lon calculations only provide "crow-flies" distances. --dylan -Original Message-

RE: The real distance formula

2001-01-27 Thread Allan Pichler
Correct me if i'm wrong, but in a spherical environment (the earth) a straight line is not always the shortest is it ? Allan Pichler -Original Message- From: Dylan Bromby [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 27, 2001 10:06 PM To: CF-Talk Subject: RE: The real distance

Re: The real distance formula

2001-01-27 Thread David Shadovitz
From http://www.its.bldrdoc.gov/fs-1037/dir-017/ great circle: A circle defined by the intersection of the surface of the Earth and any plane that passes through the center of the Earth. Note: On the idealized surface of the Earth, the shortest distance between two points lies along a great