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
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,
"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
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
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
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 /
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
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.
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
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
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...
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
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
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"
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
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
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
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]
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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)) +
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_ ???
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...
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.
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
-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")
-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")
-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")
-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
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
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
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
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
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
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:
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
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
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
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(
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,
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:
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-
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
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
57 matches
Mail list logo