can you toss out a simple source code example of something that wouldn't
work?

-----Original Message-----
From: Owens, Howard [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 11, 2000 12:30 PM
To: CF-Talk
Subject: So, the Client isn't an issue to the CF Server?



We've discussed many times ... the Cold Fusion server doesn't care what
client a user is using.  Everything happens on the server, so, logically,
the client is irrelevant. CF should process a page sent from Internet
Explore just the same as a page sent from Navigator, right? And a Mac
running IE should get the same results as a Wintel running IE, right?

Well, read on ... 

Background: I have a client who is paying me a pretty fair sum to build a
Web site. With the basic programming done, he flew me to Hawaii to train his
staff on how the new site works. Everything was fine at home. Everything was
fine on my laptop when I got there. About an hour before the staff meeting,
I met with the client and we started to go over the functionality of the
site using the shiny new computer he bought for the staff to use with the
site.  That's when disaster struck.  It didn't work.  Fortunately, I was
able to use bubble gum and bailing wire to cobble together a substitute page
that did work on the new computer and we got through training fine.  When I
got home, I rebuilt that section of the site using a similar method as the
original build, but a bit more refined and stripped down.  Again, it worked
locally.  But when I notified staff to give it a try on the new computer, it
didn't work.

Method: I don't use FuseBox. I use my own system I call FuseBastard.
Basically, it's using cfswitch/cfcase to call includes -- it gives me some
code reuse, but in a way I can understand. 

The Error: When a specific page is executed, on the problem machine, I
receive an error ... the specified query for <cfoutput> doesn't exist.
Again, this works fine on my development machine but not on the new
computer.

The apparent cause:  The <cfinclude> that calls the query that populates the
CFoutput doesn't seem to get included when the code is executed from the
problem machine.

I did further testing this morning and found that I can duplicate the error
on another machine I have at home. Read on ... 

Where it works: The application works as expected when run from my NT 4.0sp4
using Internet Explorer 5.0 and Netscape Navigator 4.5. It also works on my
Win95 laptop using IE.  It also works on my MacOS 8.5 using Netscape Nav
4.0.

Where it doesn't work: It doesn't work on my clients new IMac running OS 9.x
with IE 5.x. It also doesn't work on my MacOS 8.5 with IE 5.0.

So why would CF not execute code when called by IE running on a Mac, but
execute it with IE on Windows and Netscape everywhere?  Why should the CF
server care what the client is?

The problem doesn't seem to be the code itself.  If I put all of the queries
on the same app page as the output tags, then everything is hunky dory.
It's only when I try to call the queries in a <cfinclude> that I run into
problems.

H.



=========================
Howard Owens
Web Producer
InsideVC.com
mailto:[EMAIL PROTECTED]
=========================


----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to