Re: Gasp! XML XSL transform with params!

2008-05-12 Thread Andre Turrettini
Sighh. Thanks Dominic.  That was hours of wasted time. 

Tho it makes sense. xslt is case sensitive and passing a dot notation structure 
thru coldfusion upercases it.  My xslt was looking for lowercase but getting 
passed uppercase named variables.

Criminy.
Andre

> > http://livedocs.adobe.
> com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.
> htm?context=ColdFusion_Documentation&file=0673.htm
> 
> I've now read all the comments (I'm far too impatient) and comment
> four assesses the problem brilliantly; the comment by Ethan Cane
> ([EMAIL PROTECTED]).
> 
> Dominic 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305099
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Gasp! XML XSL transform with params!

2008-05-09 Thread Andre Turrettini
Crimminy, 
Why am I having trouble passing parameters in xmltransform?






http://www.w3.org/1999/XSL/Transform"; >










#xmltransform(x, l, tmp)#


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305036
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: How would you handle this...

2004-05-13 Thread Andre Turrettini
Michael,
Instead of going the pure cf route, you can have them load an .html page =
that communicates with your cf via the xmlhttp methods.  Then you can =
pass a xml document to the html page.   The tradeoff is an html document with complex _javascript_ for a cf glob of data/rules.  The js would be =
pretty complex but would get completely cached along with the html.  You =
can get pretty nutty with this complexity.  For instance, when the user =
makes a change, you could save the data thru that same xmlhttp process =
and then pass back an affirmative that the data has been changed.  Then =
you just update your _javascript_ data instead of reloading the whole =
massive data package.  Make sense?

Andre Turrettini
www.WebMachineInc.com
303.882.9803
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: desktop application

2004-04-06 Thread Andre Turrettini
potent stuff isnt it?  Kinda makes you rethink application design and chucks
out the window the need to learn flash to make a ria.
DRE

-Original Message-
From: Dick Applebaum [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 06, 2004 4:31 AM
To: CF-Talk
Subject: Re: desktop application

I have been googling and playing with XUL for several hours and I am 
impressed with what it (you) can do.

XUL has been out there for a while --- guess I just missed it.

Here's a start (a little dated):

    http://www.sitepoint.com/article/xul-nets-biggest-secret-1

XUL is a framework for creating  a UI and writing application programs.

These programs can be launched and run from a local hard disk or from a 
web server (or both)

XUL is platform independent -- anywhere Mozilla runs, XUL runs

XUL provides a consistent UI and program execution

The above 2 points are similar to Flash advantages

A XUL program can read and write (with user permission) to the local 
file system.

A XUL program can (by itself) consume web services.

There are XUL  extensions that can directly interface a local SQL 
database (currently Postgres and MySQL)

There are XUL extensions that can execute local programs and scripts in 
C++, Python, Ruby and Perl, with PHP coming -- these are 
programs/scripts running on the local machine

So, I guess it is possible, today, to write a desktop application to 
meet the objectives of the originator of this thread:

You can easily write an XUL app that:

    1) Runs on the desktop

    2) Allows people to enter their email addresses (a simple form)

    3) Saves it (the data from each form submission) to a [local] text 
or XML file

    4) Uploads the file to web server and parsed into the database

In the near future, you should have the option of parsing the data with 
a local php program and storing the data in a local database -- this 
would allow data validation, check for duplicates, etc.

Actually, you can do this now using a combination of _javascript_ and XUL 
extensions.  But, it will be easier with PHP.

What would really be nice if you could use CFMX as the local scripting 
language and db interface... yeah, that would really be nice...

HTH

Dick

  >  From: Burns, John D [mailto:[EMAIL PROTECTED]
  >  Sent: Friday, April 02, 2004 2:58 PM
  >  To: CF-Talk
  >  Subject: SOT: desktop application
  >
  >  I have a question about what the best practice would be for 
creating a
  >  desktop application.  I do websites for some different bands, and 
they
  >  all have an e-mail sign-up on their website.  Most of them also have
  >  some kind of a paper sign-up at concerts for people to sign up for 
the
  >  email list.  I was considering building an app that would run on a
  >  desktop to allow people at concerts to enter their email address and
  >  write it to a text or xml file that could then be uploaded to the
  >  webserver and parsed into the database.
  >
  >  My question is what would be the best method to do this?  I was
  > thinking
  >  of doing the front end in Flash but I'm not sure how to write to a
  > file
  >  from there.  In theory, this app would need to work on a mac and a 
pc.
  >  Any ideas would be greatly appreciated.
  >
  >  John Burns
  >
  >    _ 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-06 Thread Andre Turrettini
Can we switch it to monday?  I dont think I'll have much time till the
weekend.

 
DRE

-Original Message-
From: Kazmierczak, Kevin [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 05, 2004 8:18 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

Contest is still open until Friday April 9th, at 12:00pm EST.  You can
solve it any way you would like.  Just understand you are looking for
the shortest path, not just any path.

Kevin.

  _  

From: Rizal Firmansyah [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 05, 2004 10:10 PM
To: CF-Talk
Subject: Re: ColdFusion Coding Contest

Kevin,
just curious... is this contest still open?

And are we allowed to play this in "god's mode"?
You know...
solve it by looking at the whole maze, instead of thinking like the
mouse 
inside (which can only go U,D,L,R).
And then backtrack the solution to give the right direction (U,D,L,R)?

Rizal

At 10:33 PM 4/5/2004, you wrote:
>If anyone submitted their code to the CF coding contest we had a while
>back ago in January would like to submit their code to me, I am in the
>process of putting all of our code together so we can at least see how
>each of us did it.  Feel free to send them to [EMAIL PROTECTED]
>
>
>Kevin.
>
>--
>[Todays
seoffusion.com/lists.cfm/link=t:4> 
>Threads] 
>[This
w.houseoffusion.com/lists.cfm/link=i:4:158882> 
>Message]
[Subscription] 
>[
4>Fast
949.4> 
>Unsubscribe] 
>[User
m/signin/> 
>Settings]
>
>--
>
>1be3985.jpg
>

  _ 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Script vs Tags (was Re: ColdFusion Coding Contest)

2004-04-06 Thread Andre Turrettini
agreed. I'm praying that a major improvment in the next cf will be that all
(or as many as possible) tags and functions are available within cfscript.

-Original Message-
From: Howard Fore [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 06, 2004 6:14 AM
To: CF-Talk
Subject: Re: Script vs Tags (was Re: ColdFusion Coding Contest)

If you can do everything you need in cfscript, it's much more readable 
IMHO. However the functionality gap between cfscript and cf tags 
negates this to some degreee. In my experience switching back and forth 
between tags and cfscript has yielded some very awkward code. I've 
almost completely stopped using cfscript altogether, simply because of 
the time I lose trying to maintain a logical block of code in one 
paradigm or the other. As always your mileage may vary, products may 
settle during shipping, and objects may be closer than they appear.

--
Howard Fore, [EMAIL PROTECTED]

On Apr 5, 2004, at 8:40 PM, Philip Arnold wrote:

> There is the one advantage to CFSCRIPT over tags
>
> Readability
>
> If you can read Script easier than reading tag based code, then use
> Script 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CF 6.1 simultaneous requests - optimum guesstimate?

2004-04-05 Thread Andre Turrettini
I load tested our app adn found that upwards of 40, everything fell apart.
I set it to 35.  Our app does a lot of sitting around waiting for long db
requests so I always theorized that processes in this state werent using
many recources.  Sadly, I found out that mod perl comes set at 200!  I
havent tested to see if I can reach 200 on the same app with a perl back end
though.

 
DRE

-Original Message-
From: Paul Vernon [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 05, 2004 4:21 PM
To: CF-Talk
Subject: RE: CF 6.1 simultaneous requests - optimum guesstimate?

I always went by 5 * processors plus 2 for cf4 through to 5 and never had
any issues

On my CFMX boxes I'm going for 8 per processor No problems there
either 

It does depend a lot on what sort of things you have running on those
requests however but we try to keep the code as tight as possible. This in
my experience has had more to do with a stable CF box than any CF admin
setting ever has.

Paul 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ColdFusion Coding Contest

2004-04-05 Thread Andre Turrettini
oops. I forgot to send in my entry last time.  Where are the rules so that I
can make sure it conforms?
DRE

-Original Message-
From: Kazmierczak, Kevin [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 05, 2004 11:50 AM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

Hahahahaha, last time that happened, I at least got paid for it. ;)

Keivn.

  _  

From: Tangorre, Michael [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 05, 2004 12:06 PM
To: CF-Talk
Subject: RE: ColdFusion Coding Contest

There ya go Kaz, hi-jacking the contest.  :-)
I still think the original poster was looking for CS homework help and
was
unofficially soliciting answers...  j/k

> If anyone submitted their code to the CF coding contest we 
> had a while back ago in January would like to submit their 
> code to me, I am in the process of putting all of our code 
> together so we can at least see how each of us did it.  Feel 
> free to send them to [EMAIL PROTECTED]
>  
> Kevin.
  _ 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: desktop application

2004-04-05 Thread Andre Turrettini
Check out xul.  You can write an application in and write a delimited file
to the harddrive each time someone enters their email.  Its kind fo an xml
_javascript_ approach to writing web apps.  Similar to the approach used by
longhorn and breeze.  Its got a pretty sick grid bult in.  I dont think its
much harder than using the hta and fso in ie and when the computer is
eventually connected, just upload it to your cf or php server.  requires
mozilla but that should be ok on a mac.

 
DRE

-Original Message-
From: Rob [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 02, 2004 9:51 PM
To: CF-Talk
Subject: RE: desktop application

On Fri, 2004-04-02 at 20:27, Jim Davis wrote:
> Take a look at the HTA application framework from Microsoft (go to
> masdn.microsoft.com and choose "library", then choose "Web Technologies"
> then "HTA").  I've been using it recently and it's pretty sweet.

I think he said it has to work on Mac. Does that work on Mac?

-- 
Rob <[EMAIL PROTECTED]> 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: ECommerce practices

2004-03-26 Thread Andre Turrettini
I've always thougth writing to the db is a good idea to track abandoned
carts.  Sometimes, you can glean info on when and then why people are
abandoning their carts.
DRE

-Original Message-
From: Cutter (CF-Talk) [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 24, 2004 6:10 PM
To: CF-Talk
Subject: ECommerce practices

Just looking for other's insight. Can't think of a better group to ask...

I'm setting up a custom ecomm area (current is a setup using the JASC 
component my boss implemented before I got here). What the big boss 
would like is something that wouldn't fit into the general templates you 
find all over, so I'm working from scratch on most of this. I'm trying 
to find what would be the best method for initially handling order 
details. Most of the items are apparel. The user would first select a 
category, then select a specific item/design from a thumbnail. Next they 
would be shown a larger image with the different colors it would be 
offered in. The user would select the color they want, taking them to 
the next screen where different size options would be available. The 
user would enter in the quantity of each size they may want. The next 
step would verify the item/design, basic product detail, color, sizes 
and quantities, and the price (showing price differences for oversized 
products as well). At this point it would then continue to the basics 
(name, addy, payment, etc.) My question is this. Every step of this 
process is some type of form. I could use hidden form fields to carry 
over all of the information from screen to screen, but this seems a 
little tedious, inelegant, and possibly somewhat insecure. What is 
suggested process in this type of situation? Should I set up some kind 
of struct var to handle the details? Would this best be handled within 
the session or client scopes? How does one best prevent race conditions?

The end run is to write the details to a db once the order is processed, 
but I've seen what can happen when writing the details to a db from the 
get go and then having the user cancel the order or the payment is not 
approved (not my design, and it was ugly...) So, any suggestions are 
welcome and appreciated. TIA

Cutter 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: failing when query is named.

2004-03-17 Thread Andre Turrettini
I think theres some confusion by your cf guy and I think I see the root of
the confusion.

 
If a cfoutput tag has a query attribute, then its sensitive to the
recordcount of the query. 

 
However, if there is no query attribute, then it will always execute whats
inside it.

 
DRE

-Original Message-
From: Philip Arnold [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 17, 2004 2:17 PM
To: CF-Talk
Subject: RE: failing when query is named.

> From: Daniel Kessler
> 
> I'm new to cf and dbs but our cf guy here says it should do the
> cfoutput no matter what and then it should properly do the iff
> to test whether something was returned.

I think your CF guy needs to check his documentation

Like everyone else says, if there's zero records returned then it runs
zero iterations of the cfoutput as there's nothing to loop over

Trust us, we know of what we speak  
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: using web services the raw way

2004-03-16 Thread Andre Turrettini
Hi Rob,
I was wondering if you could email me the js that youre talking about?  I'm
pretty curious to see what youre up to?  For instance, how do you set the
headers in js?
DRE

-Original Message-
From: Rob [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 16, 2004 3:24 PM
To: CF-Talk
Subject: RE: using web services the raw way

On Tue, 2004-03-16 at 14:14, Dave Watts wrote:
> > The SOAPAction header... I'll search on google for what those 
> > can be, but do you have a link?
> 
> I seem to recall that it's typically the name of the method you want to
> call, but I could be wrong about that.
Holy cow Dave - you are a genius. Works perfect with
SOAPAction="[methodname]" in the headers.

Thanks again dave :-D

-- 
Rob <[EMAIL PROTECTED]> 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Checking strings

2004-02-23 Thread Andre Turrettini
Hmm, what do you mean 5 digits?  Youre string cant be converted to a number
with that T in there.  

 
I'm guessing that T is a mistake so then the string would be a number and
you could just say

 
select count(*) from numbers where number between #number - 5# and #number +
5#
and if the return is not zero, then there are some in your range.  
DRE

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 23, 2004 4:32 PM
To: CF-Talk
Subject: Checking strings

How would I check a string such as:
23T256472549 and make sure there are no other entries in the database
within 5 digits of that? So, 23T256472554 would not be allowed and
23T256472544 would not be allowed (and the inbetweens as well).

Thanks! 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: A tough query... Can CFML help?

2004-02-20 Thread Andre Turrettini
You can use a sub query

 
select id from table1 where id not in (select id from table2)

 
or perhaps a minus
select id from table1
minus 
select id from table2

 
DRE

-Original Message-
From: Merritt Chapman [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 20, 2004 2:15 PM
To: CF-Talk
Subject: A tough query... Can CFML help?

I'm wondering if anyone can help me accomplish the following in one SQL
query...

I have two tables.  Table1 contains N fields, each containing an ID number.
Table2 contains N fields, each also contain an ID.  The trick is that the
IDs in Table2 are 'exclusions' from Table1 and should be used to denote
which IDs are not to be returned in a query of Table1.

For example, if Table1 contains the following IDs:
1|2|3|4|5

And Table2 contains the following exclusions:
2|3

Then a query of the allowed IDs in Table1 should only return:
1|4|5

I'm experimenting with different SQL functions.  Is there a CF function that
might help out here that anyone can think of?

Thanks in advance!

Regards,
MC 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Looking for someone who knows CFMX AND PHP

2004-02-16 Thread Andre Turrettini
Google?? "php web services tutorial"
http://aspn.activestate.com/ASPN/WebServices/SWSAPI/phptut
 
http://www.zend.com/zend/tut/tutorial-campbell.php
 
http://php.weblogs.com/xml-rpc  

DRE

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Sunday, February 15, 2004 11:05 AM
To: CF-Talk
Subject: Re: Looking for someone who knows CFMX AND PHP

maybe find some info here

http://www.sephiroth.it/  

> I have to write some instructions for PHP users to consume a web service
> I've made available, but I don't know much about PHP.  Certainly not
> enough to write the instructions for them to use in their website.
>
> Is there some kind soul who knows about PHP and web services who can
> help me with this please?
>
> It's a probono site for me so there's no money involved I'm afraid, but
> I can give you a link on the page and a plug for your services if you
> like.
>
> Please email me off-list if you can help me.
>
>

Cheers
> Mike Kear
> Windsor, NSW, Australia
> AFP Webworks
> http://afpwebworks.com  
>
>
>
>
> 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: XML storage

2004-02-13 Thread Andre Turrettini
Hi, 
I'm wondering a bit about this. I've perused the code but since its called a
DB manager, I'm thinking it can act like a database.  How would one execute
a join between two tables or whatever they are called since they are clearly
not tables.  Is this contained in xindice that simply has to be cfwrapped?

 
Thanks.

 
DRE

-Original Message-
From: Matt Liotta [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 13, 2004 7:35 AM
To: CF-Talk
Subject: Re: XML storage

I was meaning to respond to this sooner, but have been away from email. 
You can find the CFC wrapper for the Xindice class created in that 
article at the following URL.

http://devilm.com/code/DBManager.txt  

You can also find the Java class file at the following URL.

http://devilm.com/code/DBManager.java
 

-Matt

On Feb 11, 2004, at 2:10 PM, Rich Ziade wrote:

> Hi Matt:
>
>
>  It's Rich from cf-talk. I dug around for that CFC wrapper post but 
> couldn't
>  find it anywhere. I'd write this myself, but unfortunately not very 
> well
>  versed in Java. I know how to access Java objects etc. from CF, but I
>  frankly don't even know where to begin.
>
>
>  If you could point the way to that CFC wrapper that would be huge. If 
> its
>  gone for all time - then what do you suggest I do to get Xindice to 
> work
>  nicely w/ CFMX?
>
>
>  Thanks in advance. That DevX article was excellent btw.
>
>
>  -Rich
>
>
>    _  
>
>  From: Matt Liotta [mailto:[EMAIL PROTECTED]
>  Sent: Thursday, February 05, 2004 4:02 PM
>  To: CF-Talk
>  Subject: XML storage
>
>
>  I would normally responsd to specific messages, but I am away from my
>  email client. However, I wanted to address the question in regard to 
> XML
>  storage as well as the responses.
>
>  First, storing XML in an RDBMS is not a good idea. See my article on 
> the
>  subject at http://builder.com.com/5100-6388-1051795.html.
 
>
>  Next, if you are interested in storing XML in a native XML database 
> then
>  do take a look at Apache Xindice. See my article on the subject at
> http://www.devx.com/xml/article/9796.
  The Java code used in the article
>  was written in a way to be used easily from CFML. I even created a CFC
>  wrapper for it, but I seem to have lost it somewhere along the way.
>  Although, I do remember sharing it with a list at some point so an 
> archive
>  may very well have it.
>
>  Finally, you should also be aware of a project I am participating in 
> named
>  Tahoe at http://sourceforge.net/projects/tahoe.
  I am currently work on
>  adding support for LDAP, which is often a better place to store XML 
> then
>  an RDBMS because of its hierarchical query engine.
>
>  -Matt
>    _
> 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFMX - best way to strip content from html page

2004-02-11 Thread Andre Turrettini
this is a bit radical and probably pretty frigin slow but I thought I saw
some website that would take a pic of your site.  Then maybe you could ocr
the image dynamically??

 
DRE

-Original Message-
From: Rob Rohan [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 09, 2004 9:18 AM
To: CF-Talk
Subject: CFMX - best way to strip content from html page

Hey there hi there ho there,

I was wondering what others have used to strip the content out of web
pages? I am working on a system that collects pages and archives them;
however, only the content needs to be stored (i.e. not the navigation,
images, extra page fodder).

The sites it is archiving are vast so it would have to rather generic
solution. I have seen this kind of thing before, but only for single
specific sites. Does anyone know a good method to do it generically?

I was leaning toward one of these but I am open to whatever

* run the collected html through tidy (or jtidy) then (somehow) use xslt
* (somehow) use a regular _expression_ on the collected html

if anyone has done this before please let me know of pitfalls or
recommendations - BTW I have time not money so any pay solutions are
right out.

Thanks

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com  
http://treebeard.sourceforge.net  
http://ashpool.sourceforge.net   
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Client vars won't go into the db....?

2004-02-06 Thread Andre Turrettini
Hmm, nother long shot.  Do you have the trusted cache set to yes?  It migth
be remembering an old setting?

 
DRE 

-Original Message-
From: Evan Lavidor [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 06, 2004 11:45 AM
To: CF-Talk
Subject: Re:Client vars won't go into the db?

Yep.  I'm sure that there's only one application.cfm, and that the
 tag is not specifying a location with the "clientstorage"
parameter.

I also have a DSN specified as the default storage location for client vars
in CF admin.

Yet, I'm still seeing client vars show up under
HKLM\Software\Allaire\CurrentVersion\Clients. 

Any ideas are much apprecaited. 

Thanks, 

Evan

>Are you absolutely sure you have only one application.cfm?
>DRE
>
>-Original Message-
>From: Evan Lavidor [mailto:[EMAIL PROTECTED] 
>Sent: Thursday, February 05, 2004 9:16 AM
>To: CF-Talk
>Subject: Re:Client vars won't go into the db?
>
>
>...and a as followup, client variables on our MX servers are also showing
up
>in the registry, even though we've got the settings in CF Admin specifying
>the default location being a datasource.  
>
>Any help is greatly appreciated. 
>
>Thanks, 
>
>Evan 
>  _  
>
> 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Client vars won't go into the db....?

2004-02-05 Thread Andre Turrettini
Are you absolutely sure you have only one application.cfm?
DRE

-Original Message-
From: Evan Lavidor [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 05, 2004 9:16 AM
To: CF-Talk
Subject: Re:Client vars won't go into the db?

...and a as followup, client variables on our MX servers are also showing up
in the registry, even though we've got the settings in CF Admin specifying
the default location being a datasource.  

Any help is greatly appreciated. 

Thanks, 

Evan 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




simultaneous requests on j2ee?

2004-02-03 Thread Andre Turrettini
Hi
Where did simultaneous requests go on the j2ee version of cfmx?  I can bet
that theres a xml file somewhere that replaces it but where? I've looked at
all the ones I could think of.  tomcat 4.1.

 
Thanks DRE

-Original Message-
From: Rob Rohan [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 03, 2004 3:08 PM
To: CF-Talk
Subject: Re: Das cf eclipse plug-in

BTW the source is there for the taking - do with it what you will.

On Tue, 2004-02-03 at 14:05, Rob Rohan wrote:
> No I didn't forget your email.
> 
> A. While I am all about making Matt look cooler in the open source
> world, I would want to run a project that is mine. A bit greedy perhaps,
> but in open source you don't get paid so most of the time people do it
> for props, experience, and making cool stuff. Putting it on your site
> would benefit you, not me.
> 
> B. Sourceforge said No. That means they probably don't want it on their
> servers - otherwise I would run it off of one of my other open source
> sites.
> 
> C. I don't really like the apace license which is what you said you
> wanted to use. I don't like it because it excludes the author from
> getting and recognition for their work.
> 
> "This product includes software developed by the Apache Software
> Foundation (http://www.apache.org/)."
> 
> While I am all about making Apache look good... see A
> 
> 
> On Tue, 2004-02-03 at 13:56, Matt Liotta wrote:
> > > Nah, I am not having any luck at all. No one wants to / can host the
> > >  code so there is no way for me to manage the project. So I am just
> > >  releasing the code. Hopefully it will turn into something really 
> > > awsome,
> > >  However, I licensed it under the MIT license so people can sell it if
> > >  they want so it might not turn out to be free... Unless someone out
> > >  there represents :)
> > >
> > You must of forgot the email I sent explaining my willingness to help 
> > both in terms of coding and hosting.
> > 
> > -Matt
> > 
> > 
> 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CF Eclipse plug-in sourceforge

2004-01-29 Thread Andre Turrettini
they gave no reason?  I've seen a couple of cf and non cf projects far less
deserving.
How hard is it to code for eclipse? Whats the language?
DRE

-Original Message-
From: Rob Rohan [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 12:29 PM
To: CF-Talk
Subject: CF Eclipse plug-in sourceforge

For some reason ... ahem ... the cfeclipse plug-in project got rejected
on sourceforge as a viable project. Odd. Wonder why that happened.

So I'll have to go it alone it seems, I will post the source code on the
http://cfeclipse.rohanclan.com   site in a
bit - perhaps I'll setup my own
CVS server too.

Thank you for the very positive feed back I keep getting from all you
guy on this - I hope I can find a good way to get a development
community going - (if not just out of spite now)

-- 
Vale,
Rob

Luxuria immodica insaniam creat.
Sanam formam viatae conservate!

http://www.rohanclan.com  
http://treebeard.sourceforge.net  
http://ashpool.sourceforge.net   
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CF Start a process - don't wait for it to finish

2004-01-22 Thread Andre Turrettini
make it an attribute of a cfc?  Give it its own scope and perhaps an
optional callback function.  Maybe  and .  That would
be nice if used properly.  Just because its complex doesnt mean it should be
avoided.
DRE

-Original Message-
From: Thomas Chiverton [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 10:45 AM
To: CF-Talk
Subject: Re: CF Start a process - don't wait for it to finish

On Thursday 22 Jan 2004 17:24 pm, Christian Cantrell wrote:
> I tried once to write a CFTHREAD tag (that spawned a new Java thread in
> which some task would be performed), but it managed to eluded me.

I think there is enough confusion over locking without introducing 
multi-threaded requests, as well as mutl-threaded sessions :-)

-- 
Tom Chiverton 
Advanced ColdFusion Programmer

Tel: +44(0)1749 834997
email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834901
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple
Quay, BRISTOL. BS1 6EG.
*** This E-mail contains confidential information for the addressee
only. If you are not the intended recipient, please notify us
immediately. You should not use, disclose, distribute or copy this
communication if received in error. No binding contract will result from
this e-mail until such time as a written document is signed on behalf of
the company. BlueFinger Limited cannot accept responsibility for the
completeness or accuracy of this message as it has been transmitted over
public networks.*** 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Fancy a ColdFusion Challenge?

2004-01-16 Thread Andre Turrettini
I just did it without googling!  Damn I'm a nerd!
DRE

-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 16, 2004 3:35 PM
To: CF-Talk
Subject: Re: Fancy a ColdFusion Challenge?

Casey C Cook wrote:

> I figured someone would post this response.  Typically I just need a place

> to start, this doesnt take any creativity out of it, is just starts the 
> process of creative thinking.

http://www.google.com/search?q=shortest+path+algorithm
 

Jochem

-- 
I don't get it
immigrants don't work
and steal our jobs
 - Loesje 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Cfqueryparam bug and finding it globally.

2004-01-07 Thread Andre Turrettini
er, studio 5
DRE

-Original Message-
From: Andre Turrettini [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 07, 2004 10:01 AM
To: CF-Talk
Subject: RE: Cfqueryparam bug and finding it globally.

In cf5, you can do a search and then save it as a text file.  Right click on
your search and say save as.  Then you could loop that list in coldfusion,
do a cffile on that file, do a substring to the position given in the text
file, then count the chr13s that occur in that substring.  I think that
would give you the line no.
DRE

-Original Message-
From: Bryan F. Hogan [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 07, 2004 9:52 AM
To: CF-Talk
Subject: RE: Cfqueryparam bug and finding it globally.

Interesting, I'll look into it. Thanks

-Original Message-
From: Jamie Jackson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 07, 2004 11:38 AM
To: CF-Talk
Subject: Re: Cfqueryparam bug and finding it globally.

Look into grep on unix, findstr on windows. Finstr's regex isn't as
good as unix's, of course, so you may want to pipe the results of
findstr to a file, and use some CF regex on that. 
  _ 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Cfqueryparam bug and finding it globally.

2004-01-07 Thread Andre Turrettini
In cf5, you can do a search and then save it as a text file.  Right click on
your search and say save as.  Then you could loop that list in coldfusion,
do a cffile on that file, do a substring to the position given in the text
file, then count the chr13s that occur in that substring.  I think that
would give you the line no.
DRE

-Original Message-
From: Bryan F. Hogan [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 07, 2004 9:52 AM
To: CF-Talk
Subject: RE: Cfqueryparam bug and finding it globally.

Interesting, I'll look into it. Thanks

-Original Message-
From: Jamie Jackson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 07, 2004 11:38 AM
To: CF-Talk
Subject: Re: Cfqueryparam bug and finding it globally.

Look into grep on unix, findstr on windows. Finstr's regex isn't as
good as unix's, of course, so you may want to pipe the results of
findstr to a file, and use some CF regex on that. 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Recursion and Breadcrumbs

2003-12-03 Thread Andre Turrettini
Jake, I did something that might help you.  Its a recursive function that
uses one db call.  You can see it at work by creating an account and
creating a survey here.  www.surveys.theanticool.com
 .  The interface to create the survey
uses only ie at this point(I know I know!).  You can see the results of the
nested tree structure as the shape of the survey.  Check it out and write
back to me at [EMAIL PROTECTED]   if you want
more details.  I'll get back to you tonight.

 
DRE

-Original Message-
From: Jake . [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 25, 2003 1:22 PM
To: CF-Talk
Subject: Re:Recursion and Breadcrumbs

Really need a dynamic, DB driven solution. I will check out that site
though.

Jake

>if ur using dw then just use an extension, takes 5 seconds to do. or once
>again go to www.dwfaq.com and go to snippetts and massimo has a few
>breadcrumb snippetts there 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Outputting an XML Object to browser

2003-11-11 Thread Andre Turrettini
I think its tostring(xml) or something like that.
DRE

-Original Message-
From: Jeff Beer [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 11, 2003 3:09 PM
To: CF-Talk
Subject: Outputting an XML Object to browser

[sorry for the dupe post - the original got chopped off at the line of
dashes]

Hi all,

Been searching and trying for quite some time and need a pointer or
two...

I've created an XML object from a query (using CFSAVECONTENT) and it
CFDUMPs just fine.  Now I simply need to output that as XML to the
browser (or calling application).  I keep getting:

The XML page cannot be displayed 
Cannot view XML input using style sheet. Please correct the error and
then click the Refresh button, or try again later. 


Invalid at the top level of the document. Error processing resource
'http://10.0.0.1/Admin/administrators/xml/reviews-api.cfm'. Line 1,
Position 1 

[EMAIL PROTECTED] 
^

Here's the output code I'm using currently:

(myDoc was created with CFSAVECONTENT)



#ToString(myDoc)#

I've also tried creating myDoc with CFXML - same error result, and I've
tried this:




 #myDoc#

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Import of Text File

2003-10-30 Thread Andre Turrettini
this goes quite a bit faster if you turn your return seperated list into an
array.  listtoarray.  then just loop thru the array.
DRE

-Original Message-
From: Bruce, Rodney S HQISEC/Veridian IT Services
[mailto:[EMAIL PROTECTED]
Sent: Thursday, October 30, 2003 1:24 PM
To: CF-Talk
Subject: RE: Import of Text File

use  to read the file into a variable.



Use LEN(trim(yourvar))  to see if the file is empty.

Then use the list functions to break it up into the data elements to be
entered into your database.

use listlen() to determine how many elements  then loop thru the list using
listgetat() to pull out each element and place in a var, then do an insert
query to place each record in your database.

You didn't mention how each record would be separated out.  CR/LN or if you
know that every Nth element would be the start of a new record.

Hope this helps point you in the right direction.

-Original Message-
From: Mickael [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 30, 2003 12:38 PM
To: CF-Talk
Subject: Import of Text File

Hello All,

I need to import a tab delimited text file in to an access database.  I know
that this is possible just don't know how to go about it.  One more thing is
that sometimes the file may be empty.  Can someone point me in the right
direction?

Thanks

Mike

  _  

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: sql difficulty

2003-10-30 Thread Andre Turrettini
Hi Mark, I should of mentioned that this is on an oracle db.

DRE  

-Original Message-
From: Gaulin, Mark [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 30, 2003 11:23 AM
To: CF-Talk
Subject: RE: sql difficulty

You can do this using aggregates and case statements (assuming your db can
handle it... you didn't say what you were using)

select checkno, total=count(*), 
    -- I have no idea how you determine what is "unprocessed", so this is an
made-up example
    unprocessed=sum(case when is_processed<>'Y' then 1 else 0 end), 
    -- repeat for other counts
    
from thetable
group by checkno

The idea is that you have a case statement that yields 1 or 0 depending on
the particular state you want to count and use sum() to count them.

    Mark

-----Original Message-
From: Andre Turrettini [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 30, 2003 12:42 PM
To: CF-Talk
Subject: sql difficulty

Hi,
I'm wondering if there is a difffernet way to do this.

Basically I have a table that has lots of records.  I need to show in a list
multiple agregates on this table.  It pretty much has to be live to reflect
the current data.  One of the fields is a checkno.  This is main group.  So
everything groups on this. So I might have 10 with check no a, 20 with check
no b and 30 with check no c.  The list that the user sees would then have 3
entries.  There is additinal information in the table that I need to
agregate.  I need counts on other fields in that group where the other field
is this or that and sums on another field where that other field is that or
this.  So basically, it will look like this.

checkno | total | unprocessed | success | failure | sum | preped | unprepped
a10 72 1  65
3   4
B20 72 2  44
2  5 
C1  72 3  28
4   3

So, should I simply run 5 agregate queries and mix the results into one
query result set?  Or is there another way?

Thanks in advance

DRE

[Andre Turrettini]  -Original Message-
From: Chunshen Li [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 30, 2003 8:23 AM
To: CF-Talk
Subject: UniData ODBC connectivity

Hi,

I've posted a similar question some time ago about UniData ODBC
connectivity.  This time, it's more specific.

I'm new to UniData.  I'd like to set up an ODBC connection to the UniData
database hosted on an NT box on the network.  I read some documentation.  Is
the following understanding correct?  Two key pieces: 1) uci.conf file, an
entry pointing to the train(training) database; 2) install Unidata ODBC
driver, making the ODBC datasource setup matches that.  

UniData questions (not ODBC), after login to Unidata, a) how to find the
current database, most likely default to production (Main), then, how to
switch to Train database? b) how to find what accounts are
available/associated with Train database? c) how to create an account for
Train database?

ODBC connection questions:
when using VSG to map schema, one has to call UniData file/data to do table
mapping, one file name is called IM (for Item Master), how to find all other
file names?  Of which, what would seem to be more important?

Many thanks.

Don Li 
  _  

  _  

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




sql difficulty

2003-10-30 Thread Andre Turrettini
Hi,
I'm wondering if there is a difffernet way to do this.

 
Basically I have a table that has lots of records.  I need to show in a list
multiple agregates on this table.  It pretty much has to be live to reflect
the current data.  One of the fields is a checkno.  This is main group.  So
everything groups on this. So I might have 10 with check no a, 20 with check
no b and 30 with check no c.  The list that the user sees would then have 3
entries.  There is additinal information in the table that I need to
agregate.  I need counts on other fields in that group where the other field
is this or that and sums on another field where that other field is that or
this.  So basically, it will look like this.

 
checkno | total | unprocessed | success | failure | sum | preped | unprepped
a10 72 1  65
3   4
B20 72 2  44
2  5 
C1  72 3  28
4   3

 
So, should I simply run 5 agregate queries and mix the results into one
query result set?  Or is there another way?

 
Thanks in advance

 
DRE

[Andre Turrettini]  -Original Message-
From: Chunshen Li [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 30, 2003 8:23 AM
To: CF-Talk
Subject: UniData ODBC connectivity

Hi,

I've posted a similar question some time ago about UniData ODBC
connectivity.  This time, it's more specific.

I'm new to UniData.  I'd like to set up an ODBC connection to the UniData
database hosted on an NT box on the network.  I read some documentation.  Is
the following understanding correct?  Two key pieces: 1) uci.conf file, an
entry pointing to the train(training) database; 2) install Unidata ODBC
driver, making the ODBC datasource setup matches that.  

UniData questions (not ODBC), after login to Unidata, a) how to find the
current database, most likely default to production (Main), then, how to
switch to Train database? b) how to find what accounts are
available/associated with Train database? c) how to create an account for
Train database?

ODBC connection questions:
when using VSG to map schema, one has to call UniData file/data to do table
mapping, one file name is called IM (for Item Master), how to find all other
file names?  Of which, what would seem to be more important?

Many thanks.

Don Li 
  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Scope Locking (RE: Blue Dragon and Fusebox)

2003-10-28 Thread Andre Turrettini
Thanks for the info Sam(and someone else who mentioned that
synchronization), I interpreted corrupt from the docs as different than just
wrong but this clears it up!

DRE

-Original Message-
From: Samuel R. Neff [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 1:18 PM
To: CF-Talk
Subject: RE: Scope Locking (RE: Blue Dragon and Fusebox)

Andre,

Java automatically provides it's own internal synchronization to prevent the
variable from being accessed at the exact same time.  Two sets to a variable
will always be sequential, it's just a matter of what's second.

The issue is with a statement like this:



This is a read and then a write.  You're reading count, adding one to it,
and writing it back.  If after you read the original value someone
incremented the value and you write back your own calculated based on the
original read, you've lost one increment.

This is a race condition.  If it's critical that you have the correct
number, then use cflock to prevent against it.

If the count is not really all that critical, then you can safely ignore,
which is what Ray and Dave said.

If you're counting users, then it's safe to ignore.  If you're working on
back account balances, then you need locking.

Sam

---
Blog: http://www.rewindlife.com  
Charts: http://www.blinex.com/products/charting
 
---

> -----Original Message-
> From: Andre Turrettini [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, October 28, 2003 8:47 AM
> To: CF-Talk
> Subject: RE: Scope Locking (RE: Blue Dragon and Fusebox)
> 
> Ray, i believe what macromedia is refering to is the variable 
> being written and overwritten at the same time.  Not a 
> variable being written, then overwritten after its set.

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Scope Locking (RE: Blue Dragon and Fusebox)

2003-10-28 Thread Andre Turrettini
Ray, i believe what macromedia is refering to is the variable being written
and overwritten at the same time.  Not a variable being written, then
overwritten after its set.

 
See the note:
Race condition is a term that is not specific to ColdFusion programming, but
refers to a common issue that needs to be taken into consideration when
programming in any multithreaded environment. Simply put, a race condition
occurs anytime two threads (in this case, page requests) try to write to the
same data at the same time. The following is an example:
 



If two requests to the page that includes this code are made at the same
time, it is possible that in the time between the right-hand side read of
the session.cartTotal, and the left-hand-side write for the second page
request to execute and modify session.cartTotal. The result is corrupt data.

see where it says corrupt data?

DRE

-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 9:31 AM
To: CF-Talk
Subject: RE: Scope Locking (RE: Blue Dragon and Fusebox)

> I'm interpreting your statment that if indeed a race 
> condition occurs and that a variable is overwritten at the 
> same time as its being written, that it simply uses the 
> second value??  I havent seen anyting to suggest this 
> anywhere(do you have more info?).  

Well, wouldn't it make sense that if you set X to "FOO" at 1:00 PM, and
another thread sets it to "GOO" at one milisecond afterwards, then "GOO"
will be the final value? As it stands, my point was, do you _need_ to
care? Using both Dave's example, and mine, the answer is probably no.

> The problem would seem to me to be more severe as indeed 
> macromedia has made the statment that you should avoid this 
> by spending time to lock the variable.  

I respectfully disagree with their statement. Or, actually, I don't
disagree. If you want to prevent a race condition, use locking. That is
100% true. However, what Dave has said, and I'm agreeing with, is that
you should ask yourself if a race condition is that big of a deal.

> Assuming the worst case (because of lack of evidence to the 
> contrary), the variable gets corrupted by this action.  I 

Define "corrupted". If you REALLY need a value to be written once, then
yes, not locking it will cause "corruption". If it's ok if it gets set
more than once, then there is nothing to worry about.

> would think that the server might be negatively affected by 
> such an occurence and indeed might crash.  Cf5 would crash 
> when its variables became corrupted.  So, perhaps it might be 
> somewhat important?  Of course I'm fairly java clueless so I 
> cant make a better guess.
>  

This is NOT the case in MX however. You can overwrite values willynilly
and you should not get a crash as you would prior to MX.

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Scope Locking (RE: Blue Dragon and Fusebox)

2003-10-28 Thread Andre Turrettini
Ray, 
I'm interpreting your statment that if indeed a race condition occurs and
that a variable is overwritten at the same time as its being written, that
it simply uses the second value??  I havent seen anyting to suggest this
anywhere(do you have more info?).  

 
The problem would seem to me to be more severe as indeed macromedia has made
the statment that you should avoid this by spending time to lock the
variable.  

 
Assuming the worst case (because of lack of evidence to the contrary), the
variable gets corrupted by this action.  I would think that the server might
be negatively affected by such an occurence and indeed might crash.  Cf5
would crash when its variables became corrupted.  So, perhaps it might be
somewhat important?  Of course I'm fairly java clueless so I cant make a
better guess.

 
DRE

-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 8:28 AM
To: CF-Talk
Subject: RE: Scope Locking (RE: Blue Dragon and Fusebox)

> In addition, you might have variables which just aren't that 
> important. For example, in the official Macromedia 
> courseware, race conditions are discussed and an example is 
> provided. That example uses a variable to store the number of 
> users who have logged into the application. But in real life, 
> do you really care so much whether a user thinks he's the 
> 53rd user or the 54th?

I'd just like to +1 this and add another example. Imagine you want to
know when an application started up. You could do:





Technically, you should lock this, but honestly, do you really care if N
threads access this code at the same time, and your startuptime ends up
being 5-10 miliseconds off? 

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: list, adding to

2003-10-16 Thread Andre Turrettini
I think I see. I've done similar.  Heres how I handled it: Each course that
could be updateable had its fields ending with _#i# at the end.  i is just a
counter.   So, the first course had course_id_1, the second, had
course_id_2.  So the user makes his changes and submits, on the server side,
you now have form vars that end with _i.  So, you loop thru your update with
a while statment, the condition for the while statment is the existence of
the form var course_id_i, and you access your vars like form['course_id_' &
i].

 
Does this make sense?  I can fill in a bit if you need.

DRE

-Original Message-
From: mayo [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 16, 2003 9:14 AM
To: CF-Talk
Subject: RE: list, adding to

I have an admin screen which will (hopefully) allow users to be able to
update a class schedule.

The update query will often have to update several records, so the query
will be looped.

I have two different submit buttons.

Top of the screen has

Class Title [textbox]
Class Description [textarea]
etc...
[submit button]

Bottom of the screen deals with date/time

Class Date [dropdowns for month,day,year]
Class Start [dropdown]
Class End [dropdown]

A hidden field has the record ID

I would like the user to be able to do multiple updates with one submit,
example change the time start from 6PM to 6:30PM and the end time from 8PM
to 8:30PM.

This is further complicated as there are often numerous sessions.

So "Beginning Guitar" can have

session one: 4 consecutive Mondays from 6:30-8:30
session two 4 conseuctive Tuesdays from 7:00-9:00

etc...

there are up to 6 sessions.

I would like the users to be able to update as many sessions (time, day) as
necessary, press "submit" and then loop through the records when processing
the submit.

thx,

Gil

-Original Message-
From: Andre Turrettini [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 16, 2003 10:53 AM
To: CF-Talk
Subject: RE: list, adding to

  A list is not a special datatype, its just a simple string.  There happen
to
  be some functions that operate on strings assuming certain delimiters but
  its still just a string.

  However, it looks like youre sticking dates into the IN parameter of your
  query which wont work.  So, this is a sql problem not a list problem.  Can
  you try and explain a bit more?

  DRE

  -Original Message-
  From: Gyrus [mailto:[EMAIL PROTECTED]
  Sent: Thursday, October 16, 2003 8:38 AM
  To: CF-Talk
  Subject: RE: list, adding to

  At 00:58 16/10/2003 -0400, you wrote:
  >I would like the user to be able to update at whim and to loop through
  these
  >records and update them.

  Sorry, I can't quite grasp what you're trying to do, or what the form
  does... Is this an admin system for course organisers to change the dates
  of courses?

  >When I get to the update section I should be able to put the IDs in a
list
  >and then from that list get a LISTLEN
  >
  >and do a
  >
  >
  >
  >   
  >
  >UPDATE classDates
  >SET
  > classDay='#FORM.classDay#',
  > classSession='#FORM.classSession#',
  > classDates='#dateSessions#',
  > classStart='#FORM.classStart#',
  > classEnd='#FORM.classEnd#'
  >
  >WHERE ID IN(#dateList#)
  >
  >    

  What error do you get?

  Gyrus
  [EMAIL PROTECTED]
   http://norlonto.net/gyrus/dev/ 

  PGP key available

    _

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: list, adding to

2003-10-16 Thread Andre Turrettini
A list is not a special datatype, its just a simple string.  There happen to
be some functions that operate on strings assuming certain delimiters but
its still just a string.

 
However, it looks like youre sticking dates into the IN parameter of your
query which wont work.  So, this is a sql problem not a list problem.  Can
you try and explain a bit more?

 
DRE

-Original Message-
From: Gyrus [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 16, 2003 8:38 AM
To: CF-Talk
Subject: RE: list, adding to

At 00:58 16/10/2003 -0400, you wrote:
>I would like the user to be able to update at whim and to loop through
these
>records and update them.

Sorry, I can't quite grasp what you're trying to do, or what the form 
does... Is this an admin system for course organisers to change the dates 
of courses?

>When I get to the update section I should be able to put the IDs in a list
>and then from that list get a LISTLEN
>
>and do a
>
>
>
>   
>
>UPDATE classDates
>SET
> classDay='#FORM.classDay#',
> classSession='#FORM.classSession#',
> classDates='#dateSessions#',
> classStart='#FORM.classStart#',
> classEnd='#FORM.classEnd#'
>
>WHERE ID IN(#dateList#)
>
>    

What error do you get?

Gyrus
[EMAIL PROTECTED]
http://norlonto.net/gyrus/dev/  
PGP key available 

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Sessions - won't stick around

2003-10-10 Thread Andre Turrettini
cf tracks client and session vars the same.  Just try it with
setclientcookies set to yes.

DRE

-Original Message-
From: Paul Giesenhagen [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 10, 2003 2:55 PM
To: CF-Talk
Subject: Re: Sessions - won't stick around

I am not using client variables ...

This was working .. I was coding and then refreshed and it stopped
working...  I hadn't changed any settings ... just coding and saving and
reloading the browser .. and then poof!  It stopped working.

I am going to load some old code and see if it is something I possibly did
...

Paul Giesenhagen
QuillDesign

  - Original Message - 
  From: Andre Turrettini 
  To: CF-Talk 
  Sent: Friday, October 10, 2003 3:16 PM
  Subject: RE: Sessions - won't stick around

  Paul, it appears youre not having cf send cookies to the browser.  So, in
  this case you would have to add the cfid and token to your url string.
Are
  you doing this?  If not, I'd try setting setclientcookies = 'yes'.

  DRE

  -Original Message-
  From: Paul Giesenhagen [mailto:[EMAIL PROTECTED] 
  Sent: Friday, October 10, 2003 1:46 PM
  To: CF-Talk
  Subject: Sessions - won't stick around

  Has anyone ever been working with application that uses sessions and for
  some reason, your server will not hold sessions?

  All of a sudden CFMX 6.1 stopped .. i could set the session, but as soon
as
  I reloaded the page, the session was gone.

  Exampe:
  
  

  

  It would output just fine .. and then if I reload the page,
  session.sessionTest was not there.

  I have this in my application.cfm file:

  
sessionmanagement="yes"
  setclientcookies="no" setdomaincookies="no" sessiontimeout="30">

  And in the CF Admin sessions are set to 20 minutes .. NOTHING has changed
in
  the application or CF Settings .. I have even rebooted the server.

  Very strange.. Also, I though maybe some code I put in possibly was
deleting
  the session .. but I put that sessionTest in the app and it didn't stick
  either ..

  CFMX 6.1 WindowsXP (local box).

  Thanks
  Paul Giesenhagen
  QuillDesign

    _  

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Help with CF and modal window

2003-10-10 Thread Andre Turrettini
We use this extensively.  I got stuck on that submit thing for a bit.  Since
youre already stuck on ie with the modal window thing, you can also use
MSXML2.XMLHTTP to do submits. Works quite well.  I can email you an example
if you like.  Its also decently documented on msdn.

 
DRE

-Original Message-
From: Ciliotta, Mario [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 10, 2003 12:28 PM
To: CF-Talk
Subject: OT: Help with CF and modal window

Hi all,

I was wondering if anyone could help me out.  I have page that has a link on
it, that when you click on it opens up a modal window (always on top - my
users what it this way).  The modal window that is opened is a form that you
fill out and hit submit and CF will save it to the database.  The problem is
that I cannot get the modal window to submit to the same window that is
opened.  It submits in a new window and then I get a CF error that the form
variables are not defined.  

Basically this is a rough description of what I am trying:

1) Form opens with links to click on
2) clicking on one link will open a modal window on top of the original form
with all the links.
3)  User fill out form on modal window, hits submit and a thank you message,
along with other text appears. 
4) user hits close button or return and the modal window will close and the
link page is still there.

Sorry for the long description but it is the best way I can explain it.

If anyone has any ideas, that would be great.

Thanks in advance,
Mario

Here is some of the code: (very simple version)

Link page:





Untitled

function modelesswin(url,mwidth,mheight){
if (document.all&&window.print) file://if   ie5
eval('window.showModelessDialog(url,"","help:0;resizable:0;dialogWidth:'+mwi
dth+'px;dialogHeight:'+mheight+'px")')
else
eval('window.open(url,"","width='+mwidth+'px,height='+mheight+'px,resizable=
1,scrollbars=1")')
}
To load via link, use something like below:      _   [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

RE: Sessions - won't stick around

2003-10-10 Thread Andre Turrettini
Paul, it appears youre not having cf send cookies to the browser.  So, in
this case you would have to add the cfid and token to your url string.  Are
you doing this?  If not, I'd try setting setclientcookies = 'yes'.

 
DRE

-Original Message-
From: Paul Giesenhagen [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 10, 2003 1:46 PM
To: CF-Talk
Subject: Sessions - won't stick around

Has anyone ever been working with application that uses sessions and for
some reason, your server will not hold sessions?

All of a sudden CFMX 6.1 stopped .. i could set the session, but as soon as
I reloaded the page, the session was gone.

Exampe:





It would output just fine .. and then if I reload the page,
session.sessionTest was not there.

I have this in my application.cfm file:


setclientcookies="no" setdomaincookies="no" sessiontimeout="30">

And in the CF Admin sessions are set to 20 minutes .. NOTHING has changed in
the application or CF Settings .. I have even rebooted the server.

Very strange.. Also, I though maybe some code I put in possibly was deleting
the session .. but I put that sessionTest in the app and it didn't stick
either ..

CFMX 6.1 WindowsXP (local box).

Thanks
Paul Giesenhagen
QuillDesign

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Bots / spiders finding unlinked pages... How?

2003-10-08 Thread Andre Turrettini
Also, I'd look in your logs.  I'd find the reference relating to your search
engine and the hidden page.  It should tell you the name of the program that
requested it.  Then look for references just before it. One of those pages
might have told the engine about your hidden page.

 
DRE

-Original Message-----
From: Andre Turrettini [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 3:22 PM
To: CF-Talk
Subject: RE: Bots / spiders finding unlinked pages... How?

does the program tell you the refering pages?  On google you can find out
how many sites have links to yours.
Also, you might want to check that none of your hidden files are the folder
default files as well.

DRE

-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 1:55 PM
To: CF-Talk
Subject: RE: Bots / spiders finding unlinked pages... How?

Another way, I've heard of "hidden" files being found is by user's browsing.
If a user was looking at one of these non-linked files, then moved onto
another page.  The URL of the hidden file is available as "HTTP-Referrer"
This could then be followed back to the original file.

-- 
Ian Skinner 
Web Programmer 
BloodSource 
www.BloodSource.org 
Sacramento, CA 

-Original Message-
From: Mosh Teitelbaum [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 12:06 PM
To: CF-Talk
Subject: RE: Bots / spiders finding unlinked pages... How?

One possible way is if you have a search feature built into your site.
Internal search engines index files not by URL but by directory/file and
would therefore find "hidden" documents.  If the spider can somehow access a
search results page (submit a blank form maybe?) those files might show up.

Regardless, never assume that a file is safely hidden on your website simply
because it is not linked to.  There have been several high profile "finds"
of "hidden" files ranging from obituaries for people who were not dead to
sensitive internal documents.  As a rule, don't put anything on a web server
unless you're willing to let people see it.

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/   
 

-Original Message-
From: Mark W. Breneman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 12:42 PM
To: CF-Talk
Subject: OT:Bots / spiders finding unlinked pages... How?

One of our clients' IS department just got NetTracker/6.0 Enterprise and
has set it loose on the site.  It has found several pages that are not
linked from any where.  I do not have directory browsing turned on and I
know these pages are not linked from any page..

How is it possible that it found these unlinked pages?

Can other Bots / spiders also find unlinked pages?

Thanks

Mark W. Breneman
-Cold Fusion Developer
-Network Administrator
  Vivid Media
  [EMAIL PROTECTED]
  www.vividmedia.com
  608.270.9770

  _  

  _  

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Bots / spiders finding unlinked pages... How?

2003-10-08 Thread Andre Turrettini
does the program tell you the refering pages?  On google you can find out
how many sites have links to yours.
Also, you might want to check that none of your hidden files are the folder
default files as well.

 
DRE

-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 1:55 PM
To: CF-Talk
Subject: RE: Bots / spiders finding unlinked pages... How?

Another way, I've heard of "hidden" files being found is by user's browsing.
If a user was looking at one of these non-linked files, then moved onto
another page.  The URL of the hidden file is available as "HTTP-Referrer"
This could then be followed back to the original file.

-- 
Ian Skinner 
Web Programmer 
BloodSource 
www.BloodSource.org 
Sacramento, CA 

-Original Message-
From: Mosh Teitelbaum [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 12:06 PM
To: CF-Talk
Subject: RE: Bots / spiders finding unlinked pages... How?

One possible way is if you have a search feature built into your site.
Internal search engines index files not by URL but by directory/file and
would therefore find "hidden" documents.  If the spider can somehow access a
search results page (submit a blank form maybe?) those files might show up.

Regardless, never assume that a file is safely hidden on your website simply
because it is not linked to.  There have been several high profile "finds"
of "hidden" files ranging from obituaries for people who were not dead to
sensitive internal documents.  As a rule, don't put anything on a web server
unless you're willing to let people see it.

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/    

-Original Message-
From: Mark W. Breneman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2003 12:42 PM
To: CF-Talk
Subject: OT:Bots / spiders finding unlinked pages... How?

One of our clients' IS department just got NetTracker/6.0 Enterprise and
has set it loose on the site.  It has found several pages that are not
linked from any where.  I do not have directory browsing turned on and I
know these pages are not linked from any page..

How is it possible that it found these unlinked pages?

Can other Bots / spiders also find unlinked pages?

Thanks

Mark W. Breneman
-Cold Fusion Developer
-Network Administrator
  Vivid Media
  [EMAIL PROTECTED]
  www.vividmedia.com
  608.270.9770

  _  

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: problems maintaining db connection to remote server (full msg ?) :)

2003-10-06 Thread Andre Turrettini
My guess is that sometimes the server gets disconnected, cf tries to call
the access db and fails and then doesnt try again.

 
I'd try to reproduce this by disconnecting the server that is hosting the
access db and then trying to use the site that calls that db.  Maybe that
will reproduce the symptom.  

 
DRE

-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 03, 2003 12:28 PM
To: CF-Talk
Subject: problems maintaining db connection to remote server (full msg?) :)

Hello list:

We run a Novell network here at work.  I use CF (currently version 5 Pro /
Windows) to connect our Intranet to a couple of remote servers.  These
servers are still on network.  I just need to connect to some datasources
(Access) that reside on those servers.

I can map the drives on the Intranet server...verify the datasources...and
the applications run fine.  However, every few days, we get the following
error:

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Re[4]: query string recognition

2003-09-29 Thread Andre Turrettini
Look in your cgi variables.  You may have to parse it out of a string.
 
DRE
 
 -Original Message-
From: Ubqtous [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 29, 2003 4:22 PM
To: CF-Talk
Subject: Re[4]: query string recognition



[EMAIL PROTECTED],

On 9/29/2003 at 17:32, you wrote:

lgclgc> OK, a cookie is not set (you know that how??).

The value of the cookie is displayed in the footer of the site. So I
set the cookie and then in the footer I have an
isdefined("cookie.someid"). I also have set IE and Firebird to prompt
for all cookies and 'someid' does not come up when there's not a file
name in the URL.

lgclgc> What are the URL params passed? Turn on debugging (for your
lgclgc> IP, at least, or on a test machine) and see what is going on.

lgclgc> Is the value passed? Is the value passed but NULL? Is the
lgclgc> cookie set but - since you have to refresh the page to see
lgclgc> such - you can't see it there

Debugging shows that the 'someid' URL variable does not exist unless I
include the file name; CGI.QUERY_STRING is null as well when no file
name is provided.

I can see the value present in the URL (e.g.,
http://www.somedomain.com/?someid=12345).
  If the cookie were being set
I would see the value in the footer. If the cookie were not being set,
but the value was being recognized I would at least have the cookie
value available on the page that sets the cookie as CF makes it
available despite the fact that the page has to finish loading before
the cookie is truly set.

lgclgc> How are you getting this URL? Is "somedomain.com" YOUR site,
lgclgc> or a referrer?

somedomain.com is a site on my server. Another website features a
banner ad for this site and passes ?someid=x to this site. As I
said, I can see the URL parameter, but it's not getting read by CF for
some reason if the URL does not contain a file name.

I posted similar code to a Apache (2.0.47) / MX6.1 server and it works
fine--with or without the file name. Very odd!

Thankfully, I have been able to get the referring site to adjust the
URL so that it includes the file name. I may not be so lucky next time
though, so it would be nice to find out who the culprit is: IIS4, CF5,
NT4 SP6, or my code. Seems unlikely that the OS would have anything to
do with this, and my code works fine on MX...

I appreciate your help!

~ Ubqtous ~

  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFMAIL TO param problems with large queries

2003-09-25 Thread Andre Turrettini
thats the right track though, i'd loop over your query with a proper email
regex.  Where it doestn match, output the record key.  Then you should be
able to make short work of the problem records.

DRE

-Original Message-
From: J E VanOver [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 24, 2003 4:54 PM
To: CF-Talk
Subject: RE: CFMAIL TO param problems with large queries


FYI, I posted this BEFORE I saw Dustin's say there were 6000 emails in his
list!  Yikes!

-Original Message-
From: J E VanOver [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 24, 2003 11:33 AM
To: CF-Talk
Subject: RE: CFMAIL TO param problems with large queries


What if there's an email in your system that looks something like this:
  "My True and Right Name <@.>"

Actually, I think your "like" statement would even match "@."

If it were me, I'd dump out the email addresses and see if anything looks
screwy.

-Original Message-
From: Dustin Snell [Unisyn Software] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 24, 2003 9:43 AM
To: CF-Talk
Subject: Re: CFMAIL TO param problems with large queries


Another note -

I also, tried:
and email like '[EMAIL PROTECTED]'

Still get the error below. Isn't it impossible then with this in my query
that any records could be included that have 0 length in the email field as
the error states?

Dustin Snell

- Original Message -
From: "Dustin Snell [Unisyn Software]" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, September 24, 2003 9:34 AM
Subject: CFMAIL TO param problems with large queries


> Hello All,
>
> I am trying to use CFMAIL in 6.1 to email a large list that worked in CF
> 4.5.  Apparently MM has added additional restrictions to what can be used
in
> the TO parameter.
>
> Basically I have a query that gets about 6000+ records
>
> I then use the tag as such:
>
> query="sendnewsletter"
>to="#sendnewsletter.email#"
>mailerid="Unisyn Software Newsletter System -- http://www.unisyn.com";
>from="Unisyn Newsletter System <[EMAIL PROTECTED]>"
>subject="#form.subject#">#form.body#
>
>
> In the query I have specified:
> and email is not null and email <> '' and email like '[EMAIL PROTECTED]'
>
>
> But it always gives the error:
>
> Attribute validation error for tag CFMAIL.
> The value of the attribute TO is invalid. The length of the string, 0
> character(s), must be greater than or equal to 1 character(s).
>
> The error occurred in
> C:\Inetpub\wwwroot\unisyn\administration\emailnewsletter.cfm: line 107
>
> 105 :106 :query="sendnewsletter"
> 107 :to="#sendnewsletter.email#"
> 108 :mailerid="Unisyn Software Newsletter System --
> http://www.unisyn.com";
> 109 :from="Unisyn Newsletter System <[EMAIL PROTECTED]>"
>
> Does anyone know why this isn't working?
>
> -Dustin Snell
>
>
>
>
>



~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:138435
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF 
community.
http://affiliates.macromedia.com/t.asp?id=2439&p=go/dr_text_aff1


RE: Recursion and Scope problem?

2003-09-18 Thread Andre Turrettini
basically, you call the function once and the vars are declared in the
global scope, when that function calls itself, it redeclares them again in
that same global scope, so they are overwritten.  So, when the top function
continues, its variables are no longer the ones it set.  Using the var
statement simply keeps each declaration seperate.  Make sense?

DRE

-Original Message-
From: Cedric Villat [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 11:13 AM
To: CF-Talk
Subject: Re:Recursion and Scope problem?


Bingo, worked like a champ. But I'm still wondering WHY the scopes be
overwritten? I just don't get it

Cedric

>Try using the "var" keyword in your first four  statements.
>
>
>
>
>-Original Message-
>From: Cedric Villat [mailto:[EMAIL PROTECTED]
>Sent: Thursday, September 18, 2003 12:59 PM
>To: CF-Talk
>Subject: Recursion and Scope problem?
>
>
>Ok, I'm doing a bit of recursion, and my variables seem to be overwriting
>themselves, which makes no sense to me. Here is my code:
>
>
> 
> 
>
> 
> 
> 
> 
>
> 
>  
>  
> ArrayLen(children[root_node]) LTE 0>
>  
>  
> 
>  
>   
>  
> 
>
> 
>
>
>
>In this example, the root_node is "Homer Simpson". He has 3 children Bart,
>Lisa, and Maggie. When the function is first run, Arguments.node is "Homer
>Simpson". It goes through the code until it gets to the recursive call
>getDTreeWidth() which then calls itself for each child. After calling
>getDTreeWidth() for Bart, it seems to work. When the function returns a
>number and is added to the width, the next time through Homer Simpson's
>loop, the root_node is now "Bart Simpson"! How could the recursive call to
>Bart Simpson overwrite Homer Simpson's original arguments? Is this a bug or
>am I missing something here?
>
>Any help would be appreciated. It may not make sense, so let me know if you
>need some more clarification.
>
>Cedric
>
>
>

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137564
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


RE: advice

2003-09-17 Thread Andre Turrettini
Puuuhhhlze!  We've added so much to the genre.  Go to any of the major
american cities (or at least the ones I've lived in) and you'll find pizza
thats pretty close to what you find in italy.  And it only starts there.
Theres so many other wonderful kinds of pizzas that you'll only find in
america. 

DRE

> -Original Message-
> From: Massimo Foti [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, September 17, 2003 10:21 AM
> To: CF-Talk
> Subject: Re: advice
> 
> 
> > Would recommend it to anyone that can live on food other 
> than American 
> > Pizza and Cheeseburgers ;o)
> 
> Let's be real, what you have there in the USA really 
> shouldn't be called pizza... It's really very far away from 
> the *real* thing...
> 
> I am sorry to sound pedandic, but pizza is clearly the most 
> important contribution to modern civilization coming from 
> Italy and definitely deserve a better treatment :-)))
> 
> Massimo
> 
> 
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137340
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


RE: CFC-based GPL web HTML editor

2003-09-16 Thread Andre Turrettini
No one is disregarding.  The opposite.  Its providing the best functionality
you can within reason for each browser.

Example, Yahoo uses it for their email program.  The wysiwig doesnt show up
on a mac or netscape browser but plenty of people use yahoo with macs and
with netscape.

DRE


-Original Message-
From: Adam Wayne Lehman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 16, 2003 10:16 AM
To: CF-Talk
Subject: RE: CFC-based GPL web HTML editor


Look, if only 100 people used the internet, then disregarding 5% would
be acceptable. 2004 projections for people online worldwide is 710-945
million. 
So are you saying that 35-74 million users aren't worth your time? There
are plenty of Javascript and Flash based WYSIWYGs.

Adam Wayne Lehman
Web Systems Developer
Johns Hopkins Bloomberg School of Public Health
Distance Education Division


-Original Message-
From: Thane Sherrington [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 16, 2003 11:58 AM
To: CF-Talk
Subject: RE: CFC-based GPL web HTML editor

At 11:37 AM 9/16/03 -0400, Adam Wayne Lehman wrote:
>Umm... I hate to break it to you, but people *do* use Macs, and you
>can't just ignore users just cuz they are a minority.

That depends.  If 5% of users are non-IE users, then I can't really
spend 
more than 5% of my development time on making things work for them, can 
I?  That's the downside to the non-IE compatible browsers.  Remember
when 
word processors *had* to be WordStar file compatible?  It's the same
thing 
with browsers.  I'm all for competition, but browser companies should
take 
note of OpenOffice - it can read MS Word formats well, and that's what's

making it successful.


T

Tired of your bookmarks/favourites being limited to one computer?  Move 
them to the Net!
www.stuffbythane.com/webfavourites makes it easy to keep all your 
favourites in one place and
access them from any computer that's attached to the Internet. 



~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


RE: CFC-based GPL web HTML editor

2003-09-16 Thread Andre Turrettini
I'll definetly check it out. I had thought of doing the same.  Thanks MGA.
DRE

-Original Message-
From: Adam Wayne Lehman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 16, 2003 7:36 AM
To: CF-Talk
Subject: RE: CFC-based GPL web HTML editor


Win IE5.5 required = unusable.

Adam Wayne Lehman
Web Systems Developer
Johns Hopkins Bloomberg School of Public Health
Distance Education Division


-Original Message-
From: Mauricio Giraldo [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 15, 2003 6:09 PM
To: CF-Talk
Subject: OT: CFC-based GPL web HTML editor

Hi

Just wanted to let you know we have posted on SourceForge a WYSIWYG 
web-based HTML Editor. It is in Beta development right now. It is quite 
stable and I'm sure you will find it useful (we looked all over the web
for 
a good CF web editor and all are quite costly so we decided to port a
really 
good PHP-based editor).

It uses CFC so CFMX is required. It will work in shared server
environments. 
Win MSIE 5.5+ required.

If you want to contribute/submit bugs/whatever just post your messages
in 
the corresponding SourceForge forums for the project. The project
summary is 
in:

http://sourceforge.net/projects/spaw-cf

Regards
- mga

(Non-commercial only for now)

_
Try MSN Messenger 6.0 with integrated webcam functionality! 
http://www.msnmessenger-download.com/tracking/reach_webcam



~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


RE: Paging Principals

2003-09-10 Thread Andre Turrettini
Nice!!!

-Original Message-
From: jon hall [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 10, 2003 12:36 PM
To: CF-Talk
Subject: Re: Paging Principals


What Mark says is correct, but SQL Server (not familiar with Oracle)
can index views as well, offering performance gains.

http://www.microsoft.com/sql/evaluation/features/indexed.asp

-- 
 jon
 mailto:[EMAIL PROTECTED]

Wednesday, September 10, 2003, 2:13:54 PM, you wrote:
AT> My understanding of a view is that it is recreated when you run your
query.
AT> At least in Oracle it does the joins under the hood at the time you
request
AT> your data.  Thus, there should be no performance gains there. 

AT> DRE

AT> -Original Message-
AT> From: Mark Stewart [mailto:[EMAIL PROTECTED]
AT> Sent: Wednesday, September 10, 2003 11:53 AM
AT> To: CF-Talk
AT> Subject: RE: Paging Principals


AT> You need to be careful with this scenario because it may not be more
AT> efficient, it depends upon your database schema. I tried this on an
AT> application we were doing and our situation was that it was possible to
AT> bring back 200 - 300k records (not likely, but possible). Our database
was
AT> created in such a way that even though we tried bringing back the top n
AT> records, the query still had to "touch" every record in all the joined
AT> tables. The result was minimal to no performance increase. The moral of
the
AT> story would be, it largely depends on your indexing and schema whether a
AT> particular technique will work or not.

AT> A view, as Jon mentioned, would be a very good idea since you wouldn't
have
AT> all the joins involved. The only thing you need to worry about with a
view
AT> is the inserting and updating on the underlying tables and what the
AT> performance hit will be on back-end processing updating the view,
especially
AT> if you're relying on CF to do the inserting and updating.

AT> Mark


AT> -Original Message-
AT> From: jon hall [mailto:[EMAIL PROTECTED]
AT> Sent: Wednesday, September 10, 2003 12:57 PM
AT> To: CF-Talk
AT> Subject: Re: Paging Principals


AT> Since most people are not going to browse through all 100 pages of
AT> records, pulling a 1000 records for everyone, has some obvious
AT> inefficiencies.

AT> I'd go for individual queries on each page, but take the 8 join query
AT> out of CF, and make it a view. The view will help lessen the impact of
AT> that query, and make your code less complex at the same time.


~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


RE: Paging Principals

2003-09-10 Thread Andre Turrettini
My understanding of a view is that it is recreated when you run your query.
At least in Oracle it does the joins under the hood at the time you request
your data.  Thus, there should be no performance gains there. 

DRE

-Original Message-
From: Mark Stewart [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 10, 2003 11:53 AM
To: CF-Talk
Subject: RE: Paging Principals


You need to be careful with this scenario because it may not be more
efficient, it depends upon your database schema. I tried this on an
application we were doing and our situation was that it was possible to
bring back 200 - 300k records (not likely, but possible). Our database was
created in such a way that even though we tried bringing back the top n
records, the query still had to "touch" every record in all the joined
tables. The result was minimal to no performance increase. The moral of the
story would be, it largely depends on your indexing and schema whether a
particular technique will work or not.

A view, as Jon mentioned, would be a very good idea since you wouldn't have
all the joins involved. The only thing you need to worry about with a view
is the inserting and updating on the underlying tables and what the
performance hit will be on back-end processing updating the view, especially
if you're relying on CF to do the inserting and updating.

Mark


-Original Message-
From: jon hall [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 10, 2003 12:57 PM
To: CF-Talk
Subject: Re: Paging Principals


Since most people are not going to browse through all 100 pages of
records, pulling a 1000 records for everyone, has some obvious
inefficiencies.

I'd go for individual queries on each page, but take the 8 join query
out of CF, and make it a view. The view will help lessen the impact of
that query, and make your code less complex at the same time.

-- 
 jon
 mailto:[EMAIL PROTECTED]

Wednesday, September 10, 2003, 9:17:43 AM, you wrote:
GVB> Hi,
GVB> I have an app that queries a table and displays a subset of the query
GVB> results in a paged format, showing only 10 results per page.  Some
queries
GVB> will return upwards of 1,000 rows.

GVB> This query joins quite a few tables - say 8 or so, however the query
itself
GVB> only requires one table to obtain the basis of the dataset(the rest of
the
GVB> tables in the join are used for display info or 'cosmetic' type
GVB> information).

GVB> Generally speaking, which of the following would be more efficient:

GVB> Option 1:
GVB> - Query database, joining 8 tables, get entire dataset (1000 rows)
GVB> - CFOUTPUT / Loop limited to start row (page ordinal) and maxrows (10)

GVB> Option 2:
GVB> - Query database only based on the results of one table (1000 rows)
GVB> - Cfoutput / Loop limited to start row (page ordinal) and maxrows (10)
GVB> - within output loop, perform second query joining the 8 tables, based
on a
GVB> single primary key returned from the initial dataset. (returns single
row)

GVB> In essence, the question revolves around whether it is more expensive
to
GVB> pull an entire 1,000 record joined dataset in one shot, or to make the
GVB> initial query lean, and then do ten consecutive queries performing the
join.
GVB> The former likely incurs more database load, while the latter would
incur
GVB> more interaction with odbc.

GVB> Whew.  Interested in your answers!

GVB> Thanks,
GVB> Geoffrey Brown
GVB> 
GVB> Online Operations Manager
GVB> Deerfield.com
GVB> 989.732.8856 ext. 227 (Gaylord)
GVB> 231.935.4640 ext. 123 (Traverse City)
GVB> [EMAIL PROTECTED]

GVB> http://www.deerfield.com
GVB> Personal Service with a :-)

GVB> VisNetic (viz-net-ik) 2002: vision of the Internet
http://www.visnetic.com

GVB> 


~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


RE: Paging Principals

2003-09-10 Thread Andre Turrettini
You could download the whole thing and stick it in a wddx or javascript
array. Then when the user clicks next, you just use the info from the
javascript array.  Also, if youre on ie, you can do this with tdc.  Very
slick.  Then you can incorporate sorting.  TDC sorts 5 records (yes our
users are insane) in the blink of an eye.  Of course its ie specific.

DRE

-Original Message-
From: Joshua Miller [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 10, 2003 9:08 AM
To: CF-Talk
Subject: RE: Paging Principals


Not necessarily a bad idea even if the content changes. Think about it,
if you pull the entire recordset and page through it, if the content
changes while you're browsing you're still looking at old content. We do
this with large recordsets (as many as 100,000 rows) and what we do is
cache the query for 15 minutes, plenty of time to browse the recordset.
If a user makes a modification then we release the query cache and the
next person to hit the Next-N scenario creates a new query cache based
on the new data. The speed gain for the end-user was tremendous compared
with going back to the database each time and pulling the next however
many records.

We tried your scenario number 2 and things were considerably slower for
us than just running the whole query outright and caching it. Granted
you need a lot more RAM, but it's cheap. I'd rather buy more RAM and
have the application run quicker for the end-user.

Joshua Miller
Head Programmer / IT Manager
Garrison Enterprises Inc.
www.garrisonenterprises.net
[EMAIL PROTECTED]
(704) 569-0801 ext. 254
 

*
Any views expressed in this message are those of the individual sender,
except where the sender states them to be the views of 
Garrison Enterprises Inc.
 
This e-mail is intended only for the individual or entity to which it is
addressed and contains information that is private and confidential. If
you are not the intended recipient you are hereby notified that any
dissemination, distribution or copying is strictly prohibited. If you 
have received this e-mail in error please delete it immediately and
advise us by return e-mail to [EMAIL PROTECTED]

*


-Original Message-
From: Geoffrey V. Brown [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 10, 2003 9:47 AM
To: CF-Talk
Subject: RE: Paging Principals


Hi,
Good idea.
A cached query wouldn't work for us, unfortunately, as the data changes
almost by the minute.

Geoff B

> -Original Message-
> From: Ben Doom [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 10, 2003 9:43 AM
> To: CF-Talk
> Subject: RE: Paging Principals
>
>
> When I had something like this, I used the full query but only
> retrieved the
> top n, where n is the highest index to display.  So, if you are
displaying
> 10 per page...
>
> page 1, n=10
> page 2, n=20
>
> and so on.  Maybe not a perfect solution, but dropped average
processing
> time a lot, since people would generally either narrow the search or
only
> look at the first page or two.
>
> If you think people might be flipping through a large number of
> pages, look
> at query caching.
>
>
> --  Ben Doom
> Programmer & General Lackey
> Moonbow Software, Inc
>
> : -Original Message-
> : From: Geoffrey V. Brown [mailto:[EMAIL PROTECTED]
> : Sent: Wednesday, September 10, 2003 9:18 AM
> : To: CF-Talk
> : Subject: Paging Principals
> :
> :
> : Hi,
> : I have an app that queries a table and displays a subset of the
query
> : results in a paged format, showing only 10 results per page.
> Some queries
> : will return upwards of 1,000 rows.
> :
> : This query joins quite a few tables - say 8 or so, however the
> : query itself
> : only requires one table to obtain the basis of the dataset(the
> rest of the
> : tables in the join are used for display info or 'cosmetic' type
> : information).
> :
> : Generally speaking, which of the following would be more efficient:
> :
> : Option 1:
> : - Query database, joining 8 tables, get entire dataset (1000 rows)
> : - CFOUTPUT / Loop limited to start row (page ordinal) and maxrows
(10)
> :
> : Option 2:
> : - Query database only based on the results of one table (1000 rows)
> : - Cfoutput / Loop limited to start row (page ordinal) and maxrows
(10)
> : - within output loop, perform second query joining the 8 tables,
> : based on a
> : single primary key returned from the initial dataset. (returns
> single row)
> :
> : In essence, the question revolves around whether it is more
expensive to
> : pull an entire 1,000 record joined dataset in one shot, or to make
the
> : initial query lean, and then do ten consecutive queries
> : performing the join.
> : The former likely incurs more database load, while the latter
> would incur
> : more interaction with odbc.
> :
> : Whew.  Interested in your answers!
> :
> : Thanks,
> : Geoffrey Brow

RE: Multiple sites...

2003-08-28 Thread Andre Turrettini
You can keep a cfroot variable similar to your docroot variable.  It simply
contains the path to your application from the / cf mapping.  

So, if your hosting provider had / mapped to c:/www but your site is
c:/www/foldername/yoursite, you would keep request.cfmapping =
"/foldername".  Then you would just do mailto:[EMAIL PROTECTED]
Sent: Thursday, August 28, 2003 8:33 AM
To: CF-Talk
Subject: Multiple sites...


Hello

I was just googling around and found this post. I think I have a situation
where relative paths will not solve the problem. I have an app that cannot
use relative paths for cfincludes and cannot configure a mapping in cfadmin
(shared hosting environment). Am I lost?

Why can't I have relative paths? Because the cfinclude template attribute is
dynamically generated. I have a variable set up in the Application.cfm
called request.doc_root = "/mysite/". CFM files in different subfolders
cfinclude othe files in other subfolders based on the doc_root variable.

Another issue is that in our shared hosting environment I cannot instantiate
a CFC that is one level up from the file from where I am instantiating.

Is there a workaround for these issues?

Thanks

- mga

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


RE: Dreamweaver and include files

2003-08-26 Thread Andre Turrettini
Just wondering why you didnt use ssi?  
DRE

> -Original Message-
> From: Gyrus [mailto:[EMAIL PROTECTED] 
> Sent: Monday, August 18, 2003 4:41 PM
> To: CF-Talk
> Subject: OT: Dreamweaver and include files
> 
> 
> I'm just knocking together a basic PHP-based site for a 
> friend/client, just 
> using PHP to do includes to ease maintenance. Thing is, they're into 
> Dreamweaver (and I'm not!) and think that sometime in the 
> future they might 
> want to maintain the site in Dreamweaver.
> 
> Can Dreamweaver deal with PHP code in this way? Say every 
> page on the site 
> includes a header and footer at the top and bottom, would 
> Dreamweaver be 
> able to understand this and allow editing? I could easily 
> convert the site 
> at any point to flat HTML files for easy DW editing I guess, I'm just 
> curious to know if DW can do this with PHP (or CF for that matter).
> 
> If it can do it, which version?
> 
> thanks,
> 
> Gyrus
> [EMAIL PROTECTED]
> play: http://norlonto.net/
> work: http://tengai.co.uk/
> PGP key available 
> 
> 
~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


RE: CFMX performance issue

2003-08-14 Thread Andre Turrettini
Alan be reasonable, lower your thread count man!!  

Hee hee, just kidding.  I've had the same issue as you.  You can have lots
of threads waiting for something to happen.  In my case, a slow expensive
database. In your case, cflocks or whatever.  We had to raise our threads a
fair bit higher than what is typically recomended to keep people from
getting qued.  Qued people are annoyed people.  I ve surmised that a waiting
thread doesnt take up much cpu time.

Basically, you have to lower you milliseconds per page.  I'm usually annoyed
if a page takes over 80 miliseconds to execute.  But youre stuck with your
file writing scheme.  Hmm, just a thought, if you do cffile and write the
var to your user, you can probably speed that by just cfincluding the file
to the page.  I think its easier on the system than cffile.  Java io but I'm
repeating that.

Good luck.

DRE
-Original Message-
From: Alan Ford [mailto:[EMAIL PROTECTED]
Sent: Monday, August 11, 2003 1:19 PM
To: CF-Talk
Subject: CFMX performance issue


>but I think at
>the very least it shows that 200 simultaneous threads is massive overkill.

Ok, already :-)

Forget 200 - I've reset it to 96.

Now, to everyone who is saying that 96 is too high my own experience of
trying to keep the site running smoothly at all costs is that an SRR of 96
is *way* better than 20. This is experience of coping with overloads on a
daily basis for 3 weeks or so.

It does not reduce the number of times the number of running threads grows
(nor does it increase it), but it does reduce dramatically the number of
times that cfmx has to queue threads and the recovery when it is not queuing
is much faster than when it is. With SRR set to 20 it was not unusual to
have cfmx queuing 20 times a day or more. Almost every timed it queued I had
to intervene. Now 2 or 3 is the norm, and the 17 other times when the thread
count grows it recovers quickly without queuing. I now have to intervene
once or twice a day (though unfortunately I still have to watch it like a
hawk!). (By intervene I mean restrict the max number of connections in IIS
down to about 300. cfmx recovers, I reset the connections to unlimited).

This business about 4 threads per processor is from CF 4 days. Surely the
calculation is different with cfmx, simply because it's a completely
different engine?

Alan

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CFMX performance issue

2003-08-14 Thread Andre Turrettini
Hi Alan, this may interest you.  Perhaps what youre seeing with the
threading is described here in which case 6.1 may solve your problems.



DRE

-Original Message-
From: Alan Ford [mailto:[EMAIL PROTECTED]
Sent: Monday, August 11, 2003 3:54 AM
To: CF-Talk
Subject: CFMX performance issue


>It also sounds as if youre approaching the limit of this configuration.

Well, I agree with that, but my point is that we shouldn't be. We have one
of these dual Xeon processors with hyper threading that makes it look and
act like a quad processor. It has 1gb of ram and is using 625mb. The only
time it has a slight problem with the load is if one of the legacy servers
takes longer to respond than usual - we then see the running thread count
grow, but it grows predictably and it grows understandably.

The app is scaling well. Our response times do vary, but not in line with
the load. They vary with how well the legacy servers are responding. The
number of bytes transmitted obviously varies in almost direct proportion to
the load (hits / sec), but we've had a response average of 403ms on a load
of 5.9 hits / sec, and a resp average of 397 on a hit rate of 7.2 hits / sec
(this averaged over 100 secs). We never get much below 300ms even in the
middle of the night. Cpu load is about 40% when we are running hard.

What is limiting the site is not load, nor lack of performance, but
something that looks for all the world like a cfmx bug (yes, I know
performance issues are almost always app related - but what control do I
have in the app over how cfmx handles the thread cache. Why, when I took the
thread dump, were some 60 threads waiting on the template cache?). 

At peak loads we're getting about 8 hits / sec. Assume each module called is
well written and uses include files, custom tags, UDF's and cfc's to do it's
job. Say each module uses 20 of those (probably an over the top estimate).
Even with our cache set to 200 modules almost all would have been in the
cache (we have 313 class files, but many of these are used only rarely). So
it needs to do 160 cache reads / sec. With the processor power we have that
sort of load should be way less than trivial. Even at 1ms each to retrieve
them from cache, what's it doing for the rest of the time that gets it into
an overload?

Without this overloading problem we'd be running quite happily and taking
all the load people could throw at us.


>6.1 is an obvious answer. I've noted speed and stability improvements.  

We're going for it.


>you probably want some stopgap solution that is low risk to give you
>some time to test and perform the upgrade to a cluster or more powerful
>machine or something.

We're going to a load balanced dual server solution with clustercats and
each server will be more powerful than the one we are using. We're also
upping our bandwidth.


>I would recommend adding ram and uping your thread count.

We have about 300 - 400 mb of unused ram as it is. I thought a thread count
of 96 was quite high. What is the recommendation these days (aren't MM still
saying 4 x number of processors)?

But again, that will only do what I've already done - make it slightly more
difficult to get into an overload situation. 

Without anybody addressing what appears to be the basic problem then raising
the thread count is only tinkering, going to 6.1 is only tinkering.
Underneath the hood this problem is still lurking and will happen again (and
will happen to others).

>Another thought is to perhaps leverage the java under the hood to speed the
>file writing activity.

I did wonder whether that was possible. After literally years of trying I've
finally managed to persuade them to rewrite the interface to these legacy
systems - we'll shortly be using a web service instead, so I'll probably
leave the file io as it is.

>Always better to be swamped than bored!!!
>
>Good luck!

Quite right, and thanks!


Alan


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CFMX performance issue

2003-08-14 Thread Andre Turrettini
See, I've already forgotten about that 6.0 time lag.  How quickly I forget.
DRE

> -Original Message-
> From: Tim Blair [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, August 12, 2003 8:41 AM
> To: CF-Talk
> Subject: RE: CFMX performance issue
> 
> 
> > instead of  > file="c:/somwhere/maybe/abc.txt" variable="def">
> > 
> > you might try  > template="/maybe/abc.txt">
> 
> Depending on whether or not the abc.txt file is dynamically 
> created, the second suggestion might be slower (although not 
> _as_ slow now with 6.1) due to compilation.
> 
> Basically we recently did this on a site but in the opposite 
> direction: plain text files were dynamically created and then 
> 'd on another page: every time the file was 
> regenerated, there was a lag when the file was included 
> because it has to be compiled (even if it's just plain text). 
>  By using  we avoided this time lag and decreased 
> request time by a huge factor.
> 
> Tim.
> 
> 
> ---
> RAWNET LTD - Internet, New Media and ebusiness Gurus.
> Visit our new website at http://www.rawnet.com for
> more information about our company, or call us free
> anytime on 0800 294 24 24.
> ---
> Tim Blair
> Web Application Engineer, Rawnet Limited
> Direct Phone : +44 (0) 1344 393 441
> Switchboard : +44 (0) 1344 393 040
> ---
> This message may contain information which is legally 
> privileged and/or confidential.  If you are not the intended 
> recipient, you are hereby notified that any unauthorised 
> disclosure, copying, distribution or use of this information 
> is strictly prohibited. Such notification notwithstanding, 
> any comments, opinions, information or conclusions expressed 
> in this message are those of the originator, not of rawnet 
> limited, unless otherwise explicitly and independently 
> indicated by an authorised representative of rawnet limited.
> ---
> 
> 
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CFMX performance issue

2003-08-14 Thread Andre Turrettini
Heres what I was hinting at.

instead of 

you might try 

for a possible speed increase.
DRE

> -Original Message-
> From: Alan Ford [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, August 12, 2003 5:35 AM
> To: CF-Talk
> Subject: CFMX performance issue
> 
> 
> Dre,
> 
> >Alan be reasonable, lower your thread count man!!
> 
> I have, I have - it's back to 96.
> 
> The results of my trials and errors bear out what you say. At 
> 96 it normally makes no difference, we run with < 15 requests 
> most of the time. When it does make a difference (and it's 
> not when we get legitimate slow running threads either - only 
> when we overload) then it is a way of avoiding queuing.
> 
> I'll have a go with the java file i/o, but I can't do much 
> about the request times. The request times on the non-legacy 
> pages are pretty good - usually 100 ms or less. When we get 
> the file back we always have to disassemble it and format the 
> reply to customers - sometimes this loop processing itself 
> can be simple or can involve 400 sql hits (now made into 
> array lookups - faster than cached queries) as we look things 
> up. While it's waiting for the reply it's doing java sleeps, 
> so taking very few resources.
> 
> Alan
> 
> 
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CFCLIENTSTORAGE

2003-08-14 Thread Andre Turrettini
that user has read AND write to that db and table?
DRE

-Original Message-
From: Harold Brauer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 10:42 PM
To: CF-Talk
Subject: CFCLIENTSTORAGE


Getting the following error when I try to run a script where the DB is
in SQL2K
 
 
 
Operation failed on the data source named "CFClientStorage". 
 
 
 
Reason of failure "SQLException while attempting to connect:
java.sql.SQLException: [Macromedia][SQLServer JDBC
Driver][SQLServer]Login failed for user 'sa'." 
 
 
 
When I went into the admin the datasource was verified and when I went
into the ODBC Data Source to set it up, it was successfully tested.
 
Can anyone help me out with this?
 



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CFMX 6.1 upgrade - 'smooth as butter'

2003-08-12 Thread Andre Turrettini
seems 15% - 20% faster on my first test too!  sweet.

> -Original Message-
> From: Peter Tilbrook [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, August 05, 2003 9:52 PM
> To: CF-Talk
> Subject: RE: CFMX 6.1 upgrade - 'smooth as butter'
> 
> 
> Same here for the JRun/j2EE installation.
> 
> Peter Tilbrook
> ColdFusion Applications Developer
> ColdGen Internet Solutions
> 4/73 Tharwa Road
> Queanbeyan, NSW, 2620
> AUSTRALIA
> 
> Telephone: +61-2-6284-2727
> Mobile: +61-0439-401-823
> E-mail: [EMAIL PROTECTED]
> 
> World Wide Web: http:/www.coldgen.com/
> 
> -Original Message-
> From: Doug White [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 6 August 2003 1:15 PM
> To: CF-Talk
> Subject: Re: CFMX 6.1 upgrade - 'smooth as butter'
> 
> 
> Same results here.
> 
> ==
> Stop spam on your domain, use our gateway!
> For hosting solutions http://www.clickdoug.com
> ISP rated: http://www.forta.com/cf/isp/isp.cfm?isp_id=772
> ==
> If you are not satisfied with my service, my job isn't done!
> 
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Tuesday, August 05, 2003 8:31 PM
> Subject: CFMX 6.1 upgrade - 'smooth as butter'
> 
> 
> | Nice.  That is the expected behavior!  :)
> |
> | >m, butter.
> | >
> | >
> | >WIN2K --  IIS --  SQL Server
> | >Smooth upgrade. Nice speed gain!
> | >
> | >
> | >Thanks MM
> | >Dave
> | >
> |
> 
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CFMX performance issue

2003-08-11 Thread Andre Turrettini
Worth a try.  Good luck.
DRE

-Original Message-
From: Alan Ford [mailto:[EMAIL PROTECTED]
Sent: Monday, August 11, 2003 11:16 AM
To: CF-Talk
Subject: CFMX performance issue


>Hi Alan, this may interest you.  Perhaps what youre seeing with the
>threading is described here in which case 6.1 may solve your problems.
>
>

RE: CFMX performance issue

2003-08-10 Thread Andre Turrettini
It sounds to me as if you've done your homework and got a pretty well tuned
setup.  

It also sounds as if youre approaching the limit of this configuration.  6.1
is an obvious answer. I've noted speed and stability improvements.  Short of
that, you probably want some stopgap solution that is low risk to give you
some time to test and perform the upgrade to a cluster or more powerful
machine or something.  You havent mentioned how much ram you have but unless
its already over a gig, I would recommend adding ram and uping your thread
count.

Another thought is to perhaps leverage the java under the hood to speed the
file writing activity.  I've heard that using the java file io thing is a
bit faster than cffile.

Heres a snipet that someone posted somewhere on renaming a file using java
from coldfusion.  Doesnt seem all that hard.


startingFile = CreateObject("java", "java.io.File");
startingFile.init("full path to the file to be copied");
newFile = CreateObject("java", "java.io.File");
newFile.init("full path of where the new file is supposed to go");
startingFile.renameTo(newFile);


Always better to be swamped than bored!!!

Good luck!
DRE

-Original Message-
From: Alan Ford [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 6:44 AM
To: CF-Talk
Subject: CFMX performance issue


I've been an avid reader of this and other lists for ages, but this is the
first time I've needed to ask something.

A client has been having awful problems handling high loads. What happens is
that out of the blue CFMX (which has been happily servicing the same level
of load with c5 running requests) climbs up to maximum running requests (set
to 96 on a quad processor) and then starts queuing requests. Things go dire
for a while (sql response times increase, bytes output decreases, request
response time obviously increases). Usually it will recover, in anything
from 5 seconds to a minute and go back to normal. 99.9% of the time things
are fine; it copes with the load with no problems. Maybe 5 times an hour we
have a brief bottleneck (10 seconds or so, which clears before it starts
queuing requests) and maybe 2 or 3 times a day we max out the running
requests and start queuing. Sometimes I have to limit the number of
connections, briefly, with IIS to get it to recover. It's an ecommerce site
so we can't afford these overloads.

What have we eliminated? Most things. 96 running requests is our best number
after trial and error. It does allow cf running requests to climb, but not
queue most of the time. It was set to 20 - but 96 means we get a lot fewer
overloads and works best for us. We did have similar problems with CF 5, but
never often enough to be worth investigating. CFMX was initially fine, but
the site load has recently gone up by 30% or more. SQL is fine - we have
loads of query caching, query of queries - sql response times are fine, <
20ms. I've fine tuned the app, hardware, os, network, IIS - the lot.
Overloads happen, but a lot less often than they did before at the same
load. Because of the way we have to talk to a legacy system there's an
awfully high amount of disk i/o - creating / checking if the reply file
exists / reading / deleting some 100,000 files a day. The create / read /
delete calls are all cflocked. It's a single server system, with MS SQL
server on a separate box. Win 2k server / IIS 5. Application and session
variables are used but I believe they are locked adequately (writes are
locked, app reads are locked, session reads are not).

For the past 3 days I've been trying to catch an overload situation so that
I could do a thread dump, but the first successful dump I got wasn't until
today. The dump shows that when the site is overloaded the vast majority of
running threads are in this state -

"jrpp-1068" prio=5 tid=0x256dca90 nid=0x1b40 waiting on monitor
[0x2ac4f000..0x2ac4fdb8]
 at java.lang.Object.wait(Native Method)
 at java.lang.Object.wait(Unknown Source)
 at coldfusion.util.AbstractCache.fetch(Unknown Source)
 at coldfusion.util.SoftCache.get(Unknown Source)
 at coldfusion.runtime.TemplateClassLoader.findClass(Unknown Source)
 at coldfusion.runtime.RuntimeServiceImpl.checkExists(Unknown Source)
 at coldfusion.runtime.RuntimeServiceImpl.resolveTemplatePath(Unknown
Source)
 at coldfusion.runtime.TemplateProxy.resolveFullName(Unknown Source)
 at coldfusion.runtime.TemplateProxy.resolveName(Unknown Source)
 at coldfusion.runtime.CFPage.CreateObject(Unknown Source)
 at coldfusion.tagext.lang.ObjectTag.doStartTag(Unknown Source)
 at coldfusion.runtime.CfJspPage._emptyTag(Unknown Source)
 at cfenq2ecfm1767146982.runPage(E:\www\xx\xxx\enj.cfm:21)
 etc

Line 21 of that module is the line after a  call to load a cfc.
The module referenced varies but the line referenced either points to the
line after a cfc cfobject call, or points to a custom tag call. I gave up
analysing the dump in detail about half way through, but by that time I'd
found 37 threads a

RE: The Ongoing Saga of the Dead Session Variable

2003-07-31 Thread Andre Turrettini
then use this:



Still not sure why you wouldnt just use session.spanish1 as your var name. .
. ?

DRE

-Original Message-
From: Richard Crawford [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 11:10 AM
To: CF-Talk
Subject: RE: The Ongoing Saga of the Dead Session Variable


At 12:59 PM 7/31/2003 -0400, you wrote:


>It hasn't been running on CFMX for years, though, right? Was it on CF 5 or
a
>previous version earlier?

Well, yeah.   Heh.  My bad.  It's been running CFMX just fine for a few 
months, but 4.5 prior to that.


>In CF 4 and earlier, the values for CFID and CFTOKEN were always numeric, I
>think. In that case, the above code would work fine. In CF 5, an option was
>introduced to allow the use of a UUID for CFTOKEN, instead of an integer.
>That's what you're showing in your error message. In CF 5, to enable this
>option, you had to edit the registry (or cf.registry on Unix). In CFMX,
this
>option is exposed in the CF Administrator.

Per Isaac's suggestion and per yours, I both turned off the option to use 
UUID for cftoken and replaced the isdefined with structkey.  This worked at 
this line, but I received a fresh error message:

* Error message: The string 
"session.spanish1202d2ad76445536e6d-AFD6A182-F39D-EBCE-9A2A2E3A0ED188C5" is 
not a valid ColdFusion variable name. Valid variable names must start with 
a letter, and can only contain letter, numbers, and underscores.


The offending code is this:




I tried turning "use UUID for cftoken" back on but got the same error
message.

I'm guessing that this is probably a client-side problem rather than a CF 
problem, but I am still at a loss...


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: The Ongoing Saga of the Dead Session Variable

2003-07-31 Thread Andre Turrettini
Hmm, thats a fun one.  

I've heard of people trying to do strange things with session management.
Like trying to keep the user on the same cfid/cftoken forever by looking at
their login and finding a cfid that matches then resetting the cfid for the
user.  Stuff like that.  I would see if you can find something like that.

Also, I would writeout session.spanish1#cfid##cftoken# to the browser ie
(session.spanish1#cfid##cftoken# and see what it gives.
Perhaps its getting a space appended to cfid and cftoken for some reason.
You might switch it to StructKeyExists(session, "spanish1#cfid##cftoken#")
which may be a bit more tolerant than isdefined.  It does seem like a
strange piece of code because youre individualizing a session var.  A
session var is already individual by its nature as opposed to an application
var.

DRE

-Original Message-
From: Richard Crawford [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 10:35 AM
To: CF-Talk
Subject: The Ongoing Saga of the Dead Session Variable


To recap:

When users to our site (running CFMX (with Updater 3 applied) on top of 
JRun 4 (sp 1a applied) on top of Apache 2.44 with a SQL Server 2000 backend 
-- ew) happen to clear their cache and cookies while logged into our site, 
they can never log in again.  I must point out that this is a newly 
discovered behavior, and our site has been working fine for 
years.  Originally I thought that this error was limited to clients running 
IE, but I now know that clients running Netscape or any of its derivatives 
(Mozilla, Firebird) will have the same problem.  I haven't tried Opera 
yet.  The error is client specific, meaning that only certain users are 
getting the error; for other users, everything works out just fine.  And 
again, this is new behavior.  These users were getting to our site just
fine.

I've received some pretty good suggestions from the other members of this 
list, so thanks to all!  Unfortunately, not much has changed, except that 
I've got our custom error page spitting out more info.  The specific error 
that I've got now is this:
* Parameter 1 of function IsDefined, which is now 
"session.spanish1202d2ad76445536e6d-AFD6A182-F39D-EBCE-9A2A2E3A0ED188C5", 
must be a syntactically valid variable name
In the actual page (which is Application.cfm), this is what the code looks 
like:

cfif isDefined("session.spanish1#cfid##cftoken#")

I don't know what could have happened to all of a sudden make this variable 
name syntactically invalid.  I should point out that we have this same code 
in dozens of other places, working just fine.

The only thing that has changed since when this worked properly for 
everyone was that our database was modified; the data from our production 
server was copied down to this server.  But as far as I can tell, nothing 
else in the database has changed.

We've tried clearing out the cache and cookies for the affected computers, 
restart their browser, restarting their computer.  We have tried restarting 
JRun.  We have tried clearing out the Java classes for the pages that JRun 
builds while running.  We've even tried rebooting the server.  None of 
these has helped.

Any thoughts at all would be greatly appreciated.

Thanks!

Richard Crawford
Systems Administrator
UC Davis Distance Learning Group


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Mach-II

2003-07-30 Thread Andre Turrettini
Oooh, it is funny.

Probably not what Hal expected when he wrote:
(Please, God, don't let this degenerate into yet another pro/con Fusebox
debate...)

DRE
(ps:  comic troll??)

> -Original Message-
> From: Mark Stewart [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, July 30, 2003 3:03 PM
> To: CF-Talk
> Subject: RE: Mach-II
> 
> 
> Great way to end my Wednesday... Thanks Angus, wherever you are!
> 
> Mark
> 
> -Original Message-
> From: Jim Campbell [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 30, 2003 4:27 PM
> To: CF-Talk
> Subject: Re: Mach-II
> 
> 
> Does Hal Helms use Fusebox?  Judge for yourself :)
> 
> http://www.amazon.com/exec/obidos/ASIN/0972078630/qid=10595967
> 90/sr=2-2/ref=sr_2_2/002-5476614-2858465
> 
> - Jim
> 
> Angus McFee wrote:
> 
> >Hal -
> > 
> >I've heard from plenty of people looking for a way to beat up on 
> >Fusebox, but usually they have nothing to say when it comes 
> to building a better framework. This is the first time in a 
> long time anyone has suggested an alternative approach, and I 
> really don't see how any of this benefits developers. This 
> mach-ii stuff looks like just another petty attack on Fusebox.
> > 
> >It's pretty clear we see things differently when it comes to 
> building 
> >Web applications. I don't know you, but I can tell you are a 
> pretty intelligent person, so you probably have some good 
> reasons for why you don't like or hate fusebox.
> > 
> >What I have to ask you is: do you use fusebox? Becuase there 
> are plenty 
> >of people who are ready to attack it anytime and don't even 
> know ColdFusion, much less what a framework is. You will 
> probably never be convinced about the benefits of fusebox, 
> all I can do is disagree with you, and point out all the 
> great things fusebox does for developers:
> > 
> >* it separates business logic from presentation logic, 
> making for more 
> >organized, efficent code
> >* it gives developers a common set of rules and methods to 
> work from, so that everyone can understand what the other 
> people are doing on a project regardless of the size of a team
> >* it modularizes and encapsulates code, making it easier to 
> reuse and thus to maintain
> >* it is self-documenting, containing a complete, inline XML 
> standard for documenting your applications
> >* most importantly, there are thousands and thousands of 
> fusebox developers out there, and more and more shops are 
> choosing to use it every day. it is close to becoming a 
> de-facto standard, which I doubt your mach-ii 'framework' 
> will ever be able to match
> > 
> >Angus McFee
> > 
> > 
> >-Original Message-
> >From: Hal Helms [mailto:[EMAIL PROTECTED]
> >Sent: Wednesday, July 30, 2003 2:16 PM
> >To: CF-Talk
> >Subject: RE: RE: re: Mach-II
> >
> >You're right, Dave. We're not looking to be able to 
> incorporate Fusebox 
> >3 (or 4) with Mach-II. We think that Fusebox is a great 
> framework for procedural programmers. (Please, God, don't let 
> this degenerate into yet another pro/con Fusebox debate...)
> >Mach-II, though, is meant to be a pure OO framework. Fusebox 
> and Mach-II have in common some good software engineering 
> principles, but are very different things. I'm really 
> referring to (a) backwards compatibility and (b) 
> cross-language compatibility.
> >Hal Helms
> >"Java for CF Programmers" class 
> >in Las Vegas, August 18-22
> >www.halhelms.com
> >
> >
> >
> >-
> >Do you Yahoo!?
> >Yahoo! SiteBuilder - Free, easy-to-use web site design software
> >
> 
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: tomcat and mxj2ee ???

2003-07-25 Thread Andre Turrettini
We have a fairly large application here that isnt behaving well with cfmx.
The db is a bit strained as it is so response time isnt as fast as I'd like
it to be.  There are 3 servers in the cluster and each fails daily.  We
havent been able to pinpoint the source.  The apache logs dont have a
consistent activitiy before failure.  The program has occasionall errors
that we get by cferror and in the logs but no good pattern.  My idea was to
set individual instances of cf on tomcat and part the app out among
differnet instances.  Then Perhaps it would either run fine and I could say
the j2ee management fixed it (doubtful) or I could see which instance fails
repeatedly so I can narrow my search for the problem.  Hopefully, it might
run better in general.  What do you think?

DRE

> -Original Message-
> From: Sean A Corfield [mailto:[EMAIL PROTECTED] 
> Sent: Friday, July 25, 2003 2:14 PM
> To: CF-Talk
> Subject: Re: tomcat and mxj2ee ???
> 
> 
> On Friday, Jul 25, 2003, at 12:56 US/Pacific, Andre Turrettini wrote:
> > Anybody have any experience with tomcat and the j2ee mx server?
> 
> Yeah, I run four different installs of CFMX on Tomcat and 
> it's fine. Do 
> you have some specific scenario / application in mind?
> 
> Sean A Corfield -- http://www.corfield.org/blog/
> 
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
> 
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



tomcat and mxj2ee ???

2003-07-25 Thread Andre Turrettini
Anybody have any experience with tomcat and the j2ee mx server?  
Tips and tricks and pitfalls.

> -Original Message-
> From: James Johnson [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, July 24, 2003 5:34 PM
> To: CF-Talk
> Subject: National EFT
> 
> 
> Hello,
> 
> Has anyone had any experience submitting XML data via CF to 
> National EFT (www.nationaleft.com)? My customer wants to  use 
> them, so if anyone has any code that works, and is willing to 
> share, I'd greatly appreciate it.
> 
> Thanks,
> 
> James Johnson
> 
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Unwanted control characters in text area

2003-07-24 Thread Andre Turrettini
Hmm, so you've switched it to an input text form and it doesnt do it?

I've never heard of this either!

The simplest fix is to simply replace it with nothing before inserting and
updating.  That kind of assumes you're never going to use it.

DRE

-Original Message-
From: Shawn Grover [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2003 3:25 PM
To: CF-Talk
Subject: RE: Unwanted control characters in text area


Correct.  The page is a form with about 12 fields - one of which is the text
area that allows HTML entry (used in conjunction with the web editor).  None
of the other fields on the page present this problem, and I have never seen
it before in any other application.

-Original Message-----
From: Andre Turrettini [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2003 1:58 PM
To: CF-Talk
Subject: RE: Unwanted control characters in text area


it does not appear from an input text box with everything else the same?
DRE

-Original Message-
From: Shawn Grover [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2003 1:41 PM
To: CF-Talk
Subject: RE: Unwanted control characters in text area


Thanks Tony.  But the problem is that these characters are appearing in the
first place.  These cause our generated content to look like crap, and not
match what was entered.

Specifically we end up seeing  all over the place (Â).  However, this
code does not appear anywhere in our entered data (nor does the 160), and is
not initally present in our database records.  There is no obvious reason
for this character to be showing up at all.  We've checked our code
thoroughly, and narrowed it down to something relating to the 
tag, or in transferring the data from the database.  This is the only place
we see this problem at all.  If it helps any the data we enter might
originate from Ektron's eWebEditPro editor.

Shawn

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2003 12:13 PM
To: CF-Talk
Subject: RE: Unwanted control characters in text area


from

http://www.efn.org/~gjb/asciidec.html

160 -- --

tony weeg
uncertified advanced cold fusion developer
tony at navtrak dot net
www.navtrak.net
office 410.548.2337
fax 410.860.2337


-Original Message-
From: Shawn Grover [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 23, 2003 2:05 PM
To: CF-Talk
Subject: Unwanted control characters in text area


We have a text area that allows a user to enter HTML code.  This works
fine, but we are seeing unwanted characters added to the field value.
Specifically the character " ".

We have been unable to find where this character is comming from.  The
process is as follws:  1) user enters HTML in the text area (with or
without the help of the eWebEditPro editor), 2) the data gets saved to
the data base.  3) The page gets refreshed and pulls the field contents
from the database.  At this point we are seeing the extra characters in
the field.  I have been unable to determine if this happens when the
data goes to the database, when it comes from the database, or when it's
being rendered.  The database records do not show any weird characters,
but when we take the value and preview it (dump the field to an HTML
page), the character appears.  If the record get's saved again, the
character itself WILL appear in the database, and previewing the new
record in HTML shows this characrer plus an extra one before and after
it.

I just did a google search and didn't find anything relating to this
issue (but maybe my search terms weren't quite right).  So, I'm a little
stumped. In the short term I'm searching for "&##160;" and replacing it
with a space when I save my data, but this isn't fixing the cause of the
prolbem.

Any ideas?

Shawn







~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Unwanted control characters in text area

2003-07-23 Thread Andre Turrettini
it does not appear from an input text box with everything else the same?
DRE

-Original Message-
From: Shawn Grover [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2003 1:41 PM
To: CF-Talk
Subject: RE: Unwanted control characters in text area


Thanks Tony.  But the problem is that these characters are appearing in the
first place.  These cause our generated content to look like crap, and not
match what was entered.

Specifically we end up seeing  all over the place (Â).  However, this
code does not appear anywhere in our entered data (nor does the 160), and is
not initally present in our database records.  There is no obvious reason
for this character to be showing up at all.  We've checked our code
thoroughly, and narrowed it down to something relating to the 
tag, or in transferring the data from the database.  This is the only place
we see this problem at all.  If it helps any the data we enter might
originate from Ektron's eWebEditPro editor.

Shawn

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2003 12:13 PM
To: CF-Talk
Subject: RE: Unwanted control characters in text area


from

http://www.efn.org/~gjb/asciidec.html

160 -- --

tony weeg
uncertified advanced cold fusion developer
tony at navtrak dot net
www.navtrak.net
office 410.548.2337
fax 410.860.2337


-Original Message-
From: Shawn Grover [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 23, 2003 2:05 PM
To: CF-Talk
Subject: Unwanted control characters in text area


We have a text area that allows a user to enter HTML code.  This works
fine, but we are seeing unwanted characters added to the field value.
Specifically the character " ".

We have been unable to find where this character is comming from.  The
process is as follws:  1) user enters HTML in the text area (with or
without the help of the eWebEditPro editor), 2) the data gets saved to
the data base.  3) The page gets refreshed and pulls the field contents
from the database.  At this point we are seeing the extra characters in
the field.  I have been unable to determine if this happens when the
data goes to the database, when it comes from the database, or when it's
being rendered.  The database records do not show any weird characters,
but when we take the value and preview it (dump the field to an HTML
page), the character appears.  If the record get's saved again, the
character itself WILL appear in the database, and previewing the new
record in HTML shows this characrer plus an extra one before and after
it.

I just did a google search and didn't find anything relating to this
issue (but maybe my search terms weren't quite right).  So, I'm a little
stumped. In the short term I'm searching for "&##160;" and replacing it
with a space when I save my data, but this isn't fixing the cause of the
prolbem.

Any ideas?

Shawn





~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Anyone using Jakarta Struts for cfmx?

2003-07-15 Thread Andre Turrettini
Hi Joe, That sounds really interesting. Any way I can convince you to make a
mini example that I could look at.  

DRE

> -Original Message-
> From: Joe Eugene [mailto:[EMAIL PROTECTED] 
> Sent: Monday, July 14, 2003 4:01 PM
> To: CF-Talk
> Subject: Re: Anyone using Jakarta Struts for cfmx?
> 
> 
> I have used alot of Concepts from Jakarta Structs as MVC for 
> recent application. It worked very well, with a very high 
> level of code management. Begining with file structure
> 
> index.cfm is the only exposed page of the applicaiton. 
> application.xml for application level control/instantiation
> 
> system/model/data -- contains data objects
> system/model/logic -- logic controls
> system/model/validator -- validation controls for forms etc
> 
> system/controller -- controller files
> system/view -- all view sub-components or pages.
> 
> controller.xml for flow control and method execution 
> mappings.. similar to whats done in Jakarta Struts except 
> ...*.cfc used here. All method mappings are executed 
> dynamically and variables in the xml mapping get the result 
> or set values in variables scope. View Components do NOT 
> touch high level scope variables like client/session/application.
> 
> I have been quite happy with the Model.. Once the model is 
> written.. all you do is write your data layer methods and 
> view pages.. and you are done.. The controller does the rest 
> of the job.
> 
> > Ease of development and organization
> Heavy resistance from other CF Developers at first.. but then 
> some started to realize the benefits... Others are hung on 
> the Fusebox 3 Case Style.
> 
> If you are really excited about developing some class 
> applications and tight coding... it becomes very hard to work 
> with developers who arent looking to improve.. but just get 
> the project done...
> 
> Joe Eugene
> 
> - Original Message - 
> From: "Smith, Don , CTR , WHS/PSD" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Monday, July 14, 2003 3:50 PM
> Subject: Anyone using Jakarta Struts for cfmx?
> 
> 
> > Is anyone using Jakarta Struts for CFMX and can they comment toward 
> > its
> use?
> >
> > I am looking for a published development framework that would be 
> > flexible enough for development in, plus allow our team to 
> investigate 
> > new technologies outside of CFMX -I like what I read of Struts' 
> > integration of Java technology but I haven't implemented it yet.
> >
> > I'm working with some staff for whom integration of existing Java
> libraries
> > would be a stretch and others who could handle it easily, 
> but it would 
> > require ramp-up time and education.
> >
> > I am hoping to find a framework that would allow me to point new
> developers
> > to existing materials so I would not have to write up an 
> entire "code 
> > like
> I
> > do" book.  I am also hoping that it would add something on 
> top of CFMX 
> > and not merely reorganize CFMX without adding anything.
> >
> > How was your:
> > Ease of development and organization
> > Integration with Java for non-Java programmers
> > Success rate in getting users to adapt
> >
> > THANKS!
> >
> > Don
> >
> > 
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Client variable problem -- duplicates in CDATA

2003-06-24 Thread Andre Turrettini
I've heard of people doing weird things like trying to keep a client on a
single cfid token set of numbers.  I'd check if something like this is going
on.  They may of tried to finagle some stuff with cfapplication.
DRE

-Original Message-
From: John Paul Ashenfelter [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 24, 2003 2:18 PM
To: CF-Talk
Subject: Client variable problem -- duplicates in CDATA


Hi folks,

Working with a client on an existing website -- we're getting this error:

"Cannot insert duplicate key row in object 'CDATA' with unique index 'id1'"

We're using ColdFusion 5, MS-SQL 2000, Win2k server, Apache 1.3.24 web
server. Client variables are being stored in an ODBC database.

Of course it's straightforward to remove the offending row, but it's
happening about once a week now to random visitors (that is, one or maybe
two errors per week). Any thoughts? Googling turned up 2 not too useful
hits. No luck in MM technotes so far, other than the suggestion to go to
UUID-based keys, which would require reworking parts of the application.

We've got about 400,000+ client ids/month, which seems really high to me
based on site traffic, so I think somethings going on with the weird
session/client/cookie "security" management code written by the original
developers. Using Pro, not Enterprise so MIB client variables shouldn't be
an issue. Any other thoughts?


Regards,

John Paul Ashenfelter
CTO/Transitionpoint



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: weird error

2003-06-19 Thread Andre Turrettini
I've had coldfusion errors get stuck on some users computers.  It seems to
be related to the browser pagecache and clearing that often fixed similar
problems for me.

DRE

-Original Message-
From: Tim Do [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 19, 2003 11:59 AM
To: CF-Talk
Subject: RE: weird error


I'm on cfmx/win2k.. But the user is able to log onto another computer.  Its
only happening on that one computer that I'm aware of.  I'm also able to go
to our development site from there also.. Yes.. I'm working on moving client
vars to the db =) 

-Original Message-
From: Dave Carabetta [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 19, 2003 10:58 AM
To: CF-Talk
Subject: RE: weird error


>I have clientmanagement="Yes" and I think it defaults to the 
>registry But when I put clientmanagement="No"... No more error... 
>Any ideas?
>

That could be a situation where your registry is full. Can you dig into it 
and see how big it is? Are you on Window? Unix? I deleted the old posts, so 
I forget what platform you said you're on.

As a side note, storing client variables in the registry is an awful 
practice (if you'll excuse the bluntness). The option is a remnant of early 
ColdFusion versions (pre-CF 4, I believe) where the Registry was your only 
option. Now, it's really there for backwards-compatibility reasons and an 
ODBC datasource is the recommended path.

Here's a good TechNote to help you move away from this. I believe the 
application they refer to will display a list of client variables in your 
registry, so it's a good place to start to get a feel for what's there.

http://www.macromedia.com/support/coldfusion/ts/documents/tn17881.htm

My suggestion above obviously isn't a direct answer to your question. But I 
would first start by removing client variables from the registry to reduce 
the registry size and see if your problems go away.

Regards,
Dave.

_
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Problem SQL & CF 5

2003-06-19 Thread Andre Turrettini
I think I have the same problem!!  Havent found a solution either.  DRE


-Original Message-
From: Jodie A [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 19, 2003 11:51 AM
To: CF-Talk
Subject: Re: Problem SQL & CF 5


Thank you Jochem - Any other takers able to answer my questions:

> > Thank you Jochem for the response. We are using Oracle with native
> > connection and it was my understanding this is not supported with 
>Oracle. Is
> > there another way? And why when I kill a Coldfusion database connection 
>to
> > Oracle do I need to restart the Coldfusion Application Service to make 
>the
> > server stable again? Is there a way around that?


We have a web frontend (W2k+sp3, CF 5.0, IIS 5.0) with a bbdd backend
(Solaris + Oracle 8.1.7.4) and our web application uses CF [Oracle80] native
drivers to connect to our database.

When the web application (our cfm's) makes a problematic sql sentence (For
example : sql sentence that use all of the resources on the database host,
etc etc) and the dba kills the session on the oracle database that is
executing the problematic query owned by cfserver.exe to solve the
performance issue in the database host, the coldfusion server in the
frontend turns unstable and needs a restart of his "Coldfusion Application
Service" to solve the problem and be stable/operational again.

How i can solve this issue ? Any idea about it ?

Can we kill cfserver sessions on the database without made Coldfusion Server
unstable ?

>From: Jochem van Dieten <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: Re: Problem SQL & CF 5
>Date: Thu, 19 Jun 2003 15:17:45 +0200
>
>Jodie A wrote:
> > Thank you Jochem for the response. We are using Oracle with native
> > connection and it was my understanding this is not supported with 
>Oracle. Is
> > there another way? And why when I kill a Coldfusion database connection 
>to
> > Oracle do I need to restart the Coldfusion Application Service to make 
>the
> > server stable again? Is there a way around that?
>
>Don't know, don't know, don't know. Sorry.
>
>Jochem
>
>
>

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Host with the leader in ColdFusion hosting. 
Voted #1 ColdFusion host by CF Developers. 
Offering shared and dedicated hosting options. 
www.cfxhosting.com/default.cfm?redirect=10481

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Getting IE to accept XML from ColdFusion

2003-06-16 Thread Andre Turrettini
sometimes in ie, when you know you have xml but it wont display it, click on
the e symbol in the location bar and drag it a few pixels and let it go. Ie
may render your xml as xml.  Its kind of a funny beast.

DRE

> -Original Message-
> From: Ian Skinner [mailto:[EMAIL PROTECTED] 
> Sent: Monday, June 16, 2003 3:00 PM
> To: CF-Talk
> Subject: RE: Getting IE to accept XML from ColdFusion
> 
> 
> And you want to add some weirdness, I changed it back to see 
> the difference and now IE is behaving as I would expect it to 
> either way.  It is recognizing the xml with either text/xml 
> or application/xml!
> 
> IE is just such a joy to code for.  I love it so.
> 
> --
> Ian Skinner
> Web Programmer
> BloodSource
> Sacramento, CA
> 
> 
> -Original Message-
> From: Ian Skinner [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 16, 2003 1:57 PM
> To: CF-Talk
> Subject: RE: Getting IE to accept XML from ColdFusion
> 
> 
> Thanks, that seems to work.  Now can you tell me why?  Why 
> would it be Application/XML and not text/XML?
> 
> --
> Ian Skinner
> Web Programmer
> BloodSource
> Sacramento, CA
> 
> 
> -Original Message-
> From: Jochem van Dieten [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 16, 2003 1:51 PM
> To: CF-Talk
> Subject: Re: Getting IE to accept XML from ColdFusion
> 
> 
> Ian Skinner wrote:
> 
> > I'm generating XML with Cold Fusion's  tag and then 
> sending to 
> > the client with a  tag.  This works just great 
> in Netscape, 
> > but IE will not recognize the XML.  Any suggestions on how 
> to get it 
> > to do so?
> If
> > I view the source of IE's non-XML page save it with an XML file 
> > extension, then view it; this also works just fine.  So I'm getting 
> > valid XML, just
> IE
> > is not recognizing it.
> > 
> > 
> > 
> > John
> > Jane
> > Suzy
> > 
> > 
> > 
> >  
> > #ToString(test)#
> 
> How about:
> 
> 
> Jochem
> 
> 
> 
> 
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: OT: SQL--Recursive Query Question

2003-06-03 Thread Andre Turrettini
I've dumped query results into a complex array of structures.  Then I wrote
a recursive function to loop thru it.  Works very well.

DRE

> -Original Message-
> From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
> Sent: Friday, May 30, 2003 4:00 PM
> To: CF-Talk
> Subject: Re: OT: SQL--Recursive Query Question
> 
> 
> Ian Skinner wrote:
> > Any suggestions if you where doing something like this, but did not 
> > know the number of levels before hand?
> 
> The presented model (adjacency list model) can be easily extended as 
> deep as you want by adding more left joins, but performance 
> will suffer 
> if you add too many. And you need to know the maximum number 
> of levels 
> beforehand, or you need a recursive system.
> 
> If you use a nested set model you can go to unlimited dept without 
> requiring recursion, and performance is better as with the adjacency 
> list model: http://www.intelligententerprise.com/001020/celko.shtml
> 
> Jochem
> 
> 
> 
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Calendar recommendations?

2003-05-31 Thread Andre Turrettini
I've made one thats worked quite well.  I create an array of events for each
day. then I query as many db tables as I like and simply append to the
arrays.  Then when I loop thru my month to output each day, I simply write
out the array for that day.  DRE

> -Original Message-
> From: Austin Govella [mailto:[EMAIL PROTECTED] 
> Sent: Friday, May 30, 2003 3:32 PM
> To: CF-Talk
> Subject: Re: Calendar recommendations?
> 
> 
> > u could try this 
> > 
> http://www.adrianlynch.co.uk/coldfusion/customtags/index.cfm?tag=calen
> > dar
> 
> I've seen several calendar generators like this, and they 
> could work if I 
> knew how to tie them into a db listing the events for a 
> particular class. 
> I can't envision how to do that on my own.
> 
> My only brainstorm would be to query the db for each date on 
> the calendar.
>   But that'd be up to 31 queries, and that doesn't seem 
> right. Is this the 
> best way to populate a calendar? It seems really intensive.
> 
> --
> Austin
> 
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Web Server Machine Specs

2003-05-31 Thread Andre Turrettini
I'd check your database.  It may of grown and slowed down. Make sure any
client var table isnt too big and not in registry.  If the code hasnt
changed and there arent more users and the apps on the server havent
changed, then its either something accumulating on the server or something
external and thats often the database.

DRE

> -Original Message-
> From: B G [mailto:[EMAIL PROTECTED] 
> Sent: Friday, May 30, 2003 2:17 PM
> To: CF-Talk
> Subject: OT: Web Server Machine Specs
> 
> 
> I've got a web server that has been running well until 
> recently. Suddenly I 
> see maxed out CPU usage and CFSTAT shows requests go to queue 
> frequently 
> which results in bad lag on the site.  There hasn't been any 
> significant 
> change I can track to this.  I'm wondering if the machine has 
> simply lived 
> it's useful life.
> 
> Site stats:
> 
> 12 million hits/month
> 350K user sessions/month
> Heavy CF use
> 
> The machine is a Dell, dual pentium 800's, 2 gig ram.  Memory 
> usage is nill.
> 
> Any ideas if this traffic could be bogging down a machine like this?
> 
> Thanks!
> 
> _
> Protect your PC - get McAfee.com VirusScan Online  
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> 
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Block Competitors from Web site

2003-05-29 Thread Andre Turrettini
Can someone educate me on how you would spoof an ip and then get back
content.  

I always understood that the server returned info to your ip, thus if you
spoofed it, sure, the server would do its thing but then it would nt come
back to you because you provided a different ip than your own. . . ?

DRE

> -Original Message-
> From: Christian Cantrell [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, May 28, 2003 1:24 PM
> To: CF-Talk
> Subject: Re: Block Competitors from Web site
> 
> 
> On Tuesday, May 27, 2003, at 01:43 PM, <[EMAIL PROTECTED]> wrote:
> 
> > You're kidding right?
> 
> Actually, no, I'm not kidding.  Of course I have heard this discussed 
> theoretically before (like stopping people from viewing the source of 
> your pages, downloading your JavaScript files, stealing your images, 
> etc), but I don't know of anyone who has actually implemented 
> this type 
> of "security".  As I said in my previous post, if all you 
> want to do is 
> make things more difficult for your competitors, or show them 
> that you 
> are acknowledging the fact that they present a threat to you 
> simply by 
> knowing what the rest of the world knows about your business, 
> than you 
> can easily implement any number of solutions, however you can never 
> actually post something on your website that you don't want your 
> competition to know about, so at the end of the day, it hasn't bought 
> you anything.
> 
> > The same thing you gain by locking your house when you go to work.
> > Someone
> > could break in the window or just kick in the door... so why bother 
> > locking
> > your house in the first place right?
> 
> The problem with this analogy is that locked doors and 
> windows are not 
> what stop people from breaking into your house.  Obviously, 
> windows are 
> easy to break and locks are easily picked.  The fact that 
> breaking into 
> someone's house is morally wrong and illegal is what keeps most of us 
> safe.  It is neither immoral nor illegal to read someone 
> website, even 
> if they would prefer that you didn't.
> 
> > Or if they're just not too bright.  I've seen that happen 
> too... even
> > to the
> > point where one company thought the other company went out of 
> > business...
> > LOL.  Now that's the EXCEPTION, not the rule... some people 
> are just 
> > that
> > dense. ;-)  I say got for it.  Given the fact that it takes almost 
> > nothing
> > to implement (just like locking your house)... you might as 
> well do it.
> 
> Well, you raise a good point here.  If it has worked for 
> people in the 
> past, I guess it can work again.  Clearly the huge majority of people 
> out there using the web don't know how to spoof an IP address, so the 
> technique may well be perfectly effective, especially if they assume 
> the company has gone out of business.  I admit that if I were keeping 
> track of a competitor's product by visiting their site once a 
> day, then 
> suddenly one day I couldn't reach the site, it might not 
> occur to me to 
> spoof my IP address -- at least not right away.  I guess my 
> only point 
> is that you can never assume that your competition isn't reading your 
> website just because you have made them jump through a few 
> hoops like I 
> assume every day that my house will not get broken into.
> 
> Christian
> 
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Client variables and SSL problem

2003-05-29 Thread Andre Turrettini
you might try appending the cfidtoken to the url on the links that move to
ssl.  This would only fix it if indeed the cookie is getting lost or
something.  This would probably be cleint specific and explain why it only
happens to certain accounts.

DRE

> -Original Message-
> From: John Paul Ashenfelter [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, May 28, 2003 10:54 AM
> To: CF-Talk
> Subject: Re: Client variables and SSL problem
> 
> 
> From: "Calvin Ward" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Wednesday, May 28, 2003 11:58 AM
> Subject: Re: Client variables and SSL problem
> 
> 
> > My inclination is that HTTPS and HTTP are considered 'seperate' 
> > domains.
> >
> > I would consider tracking down why the user is being 
> switched back and 
> > forth, and if possible keep them in one place.
> >
> > Calvin
> >
> 
> That was my first guess -- it certainly *IS* true for 
> session-scoped variables. But the problem is sporadic, not 
> consistent. I've got several accounts that work fine, others 
> than consistently don't. So it's not something that straightforward.
> 
> Regards,
> 
> John Paul Ashenfelter
> CTO/TransitionPoint
> - Original Message - 
> 
> 
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Scheduler is about to be SHOT!

2003-05-29 Thread Andre Turrettini
I heard somewhere that you have to have the cfregistry enabled in the
administrator for cfschedule to work.   Check to see if thats on.


> -Original Message-
> From: Randell B Adkins [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, May 28, 2003 12:39 PM
> To: CF-Talk
> Subject: RE: Scheduler is about to be SHOT!
> 
> 
> tried that...
> 
> >>> [EMAIL PROTECTED] 05/28/03 02:05PM >>>
> Check for permission problems in CFFILE.  If the CFFILE were 
> to fail, the e-mail would never get sent.
> 
> Kevin
> 
> -Original Message-
> From: Randell B Adkins [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, May 28, 2003 10:18 AM
> To: CF-Talk
> Subject: Scheduler is about to be SHOT!
> 
> 
> okay I am almost at the end of my rope here.
> 
> I was using the CFSCHEDULE tag to create a dynamic scheduled 
> event to run.
> 
> Here are the particulars:
> Server: CF5
> Platform: Windows 2000
> URL:  http://localhost/test/test_scheduler.cfm 
> Directory:  C:\Inetpub\wwwroot\test\
> Scheduler time interval is set to every 5 minutes.
> 
> ** No username or passwords associated to the directory
> 
> When using the schedule tag to setup the event, it displays 
> fine in the CFSCHEDULER in CF Administrator.
> ** the reason for the template to create the event is there 
> will be many events scheduled and not hand typed in via CF Admin.
> 
> Here is the Scheduled Tag:
> 
>TASK="NEW_TASK_ALL_OPTS"  
>   OPERATION="HTTPRequest" 
>   URL="http://localhost/test/test_scheduler.cfm"; 
>   STARTDATE="05/28/2003" 
>   STARTTIME="12:30 PM" 
>   INTERVAL="Once" 
>   RESOLVEURL="No" 
>   PUBLISH="No"
>   PORT="80">
> 
> Now the problem lies here:
> I can view the event in CF Admin (looks fine).
> At the scheduled TIME, or even 5 or 10 minutes later,
> I notice the log entry in the schedule.log file.
> 
> However NOTHING was executed
> 
> How do I know this:
> two reasons: 
> 1:  I can run the final manually by copying the URL from CF Admin
> (Scheduler) and opening a NEW BROWSER and running the file 
> there. runs GREAT!
> 
> 2: No txt file is created.. no email is sent (if ran via CF Scheduler)
> 
> Here is the file: test_scheduler.cfm
> 
>  OUTPUT="This
> was created via the scheduled task." ATTRIBUTES="Normal" 
> ADDNEWLINE="Yes">
> 
>  SUBJECT="Test scheduler" SERVER="outmailserver.gao.gov"> This 
> is a scheduled event that ran on #DateFormat(Now(), 
> 'MM/DD/')# at #Timeformat(Now(), 'h:MM:SS TT')#.
> 
> 
> 
> 
> ok any suggestions on WHY IN THE H&*^*&^ this will work when 
> ran MANUALLY but not automatically using the CFScheduler. 
> When I run it via the 'GO' button in CFAdmin, I get the message back: 
> "This scheduled task was completed successfully." and 
> EVERYTHING happens as coded
> 
> < BAFFLED!!! >
> 
> 
> 
> 
> 
> 
> 
> 
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Grab ColdFusion's root?

2002-09-19 Thread Andre Turrettini

Tyler, if youre asking for the root of your application, then stick this in
application.cfm.  

If you actually want the webroot, then you have to fiddle with one of the
cgi vars and compare it to your machine root. 
DRE

-Original Message-
From: Tyler Silcox [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, September 19, 2002 2:32 PM
To: CF-Talk
Subject: Grab ColdFusion's root?


I'm trying to set a few variables for global use and was wondering if
there's any (simple) way to grab the value ColdFusion's root folder...TIA->

Tyler Silcox
email | [EMAIL PROTECTED]



__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Technology?

2002-09-12 Thread Andre Turrettini

J, you should patent that!!!  
. . Sorry. Moving to cfcommunity.  Couldn't help it!

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, September 12, 2002 9:46 AM
To: CF-Talk
Subject: OT: Technology?


Oops. I didn't make it clear -- the functionality for an "archives only"
subscription applies not only to CF-Community, but to CF-Talk as well. You
have to click on the list name on the archives page, and you should see a
suscribe button there at the top.

Judith

Judith

__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Large Corporations that use ColdFusion

2002-09-11 Thread Andre Turrettini

Anybody have a similar list for the blue dragon alternative?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, September 11, 2002 8:11 AM
To: CF-Talk
Subject: RE: Large Corporations that use ColdFusion


I also know Novell uses it internally as well.

On Wed, 11 Sep 2002, Stacy Young wrote:

> Nortel uses it internally (Intranet)...although that was 2.5 years ago 
> before I left..at the time it serviced 70,000+ employees...
>  
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 11, 2002 9:28 AM
> To: CF-Talk
> Subject: RE: Large Corporations that use ColdFusion
> 
> www.shophustler.com (don't ask) ;)
> 
> 
> On Wed, 11 Sep 2002, Weaver, Anthony wrote:
> 
> > www.VictoriasSecret.com
> > 
> > -Original Message-
> > From: Tom Nunamaker [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, September 11, 2002 8:52 AM
> > To: CF-Talk
> > Subject: RE: Large Corporations that use ColdFusion
> > 
> > 
> > US Air Force, Defense Intelligence Agency, US Navy, etc..
> > 
> > 
> > 
> > -Original Message-
> > From: Paul Hastings [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, September 11, 2002 3:41 AM
> > To: CF-Talk
> > Subject: Re: Large Corporations that use ColdFusion
> > 
> > 
> > national geographic's geographynetwork also uses cf.
> > 
> > 
> > 
> > 
> 
> 

__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Stupid SQL Problem (in oracle)

2002-09-10 Thread Andre Turrettini

Use the decode function.  DRE

-Original Message-
From: Edwards Robert (air0rae) [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, September 10, 2002 1:18 PM
To: CF-Talk
Subject: OT: Stupid SQL Problem (in oracle)


I need some way to convert a word into a number.

I know I've done it once before, but I can't remember what I did.

For example, I have a query that will return something like the following:

Machine1 Running
Machine2Running
Machine3Offline
Machine4Running
Machine5Offline
Machine6Unknown


I want to get some result like this:

Running OfflineUnknownTotal
3 2 1   6

I know it has something to do with a sum and translating "Running" into 1,
"Offline" into a 1 and "Unknown" into a 1,  I just can't remember how I did
it.

This is an oracle 8i system I'm working with.

Thanks,


Rob Edwards Phone:  (502) 359-1627
Systems Management Tools   Pager:   (502) 478-1116
United Parcel Service   Fax:(502) 359-0094
EMail:  [EMAIL PROTECTED]   

(2B || !2B) == ?



__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Jsp Vs Cfm (CFMX) -- Code

2002-09-10 Thread Andre Turrettini

Anybody?

-Original Message-
From: Andre Turrettini [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, September 10, 2002 8:55 AM
To: CF-Talk
Subject: RE: Jsp Vs Cfm (CFMX) -- Code


Hey Joe, I'm a bit new to this java stuff but I would of thought that I
could simply run it.  What do I have to do to get the java code snippet to
run.  Right now, it just passes it to the browser so I can view it in the
source.  Tks.

DRE

-Original Message-
From: Joe Eugene [mailto:[EMAIL PROTECTED]] 
Sent: Monday, September 09, 2002 10:58 PM
To: CF-Talk
Subject: RE: Jsp Vs Cfm (CFMX) -- Code


Ok.. code to my post earlier i couldnt sleep.. had to test this out... I
was surprised at the resultsam NOT posting results.. anyone interested
can use the below code..

JSP code run in CMFX Enterprise
<%
  long z=0;
  for(long x=1;x<=100;x++){
z=z+x;
}
  out.println(z);
%>

CFM code run in CFMX Enterprise

 z=0;
 for(x=1;x lte 100;x=x+1){
z=z+x;
}
 writeOutput(z);


Joe






-Original Message-
From: Joe Eugene [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 09, 2002 6:29 PM
To: CF-Talk
Subject: Jsp Vs Cfm (CFMX)


I am curious..

How does Jsp Scale/Perform against Cfm in the same JRUN or CFMX environment?

Both Jsp and Cfm are compiled servlets right.. so you if you had the same
code in Jsp and Cfm running under CFMX... would there be any performance
difference?


Joe Eugene
Certified Advanced ColdFusion Developer




__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Jsp Vs Cfm (CFMX) -- Code

2002-09-10 Thread Andre Turrettini

Hey Joe, I'm a bit new to this java stuff but I would of thought that I
could simply run it.  What do I have to do to get the java code snippet to
run.  Right now, it just passes it to the browser so I can view it in the
source.  Tks.

DRE

-Original Message-
From: Joe Eugene [mailto:[EMAIL PROTECTED]] 
Sent: Monday, September 09, 2002 10:58 PM
To: CF-Talk
Subject: RE: Jsp Vs Cfm (CFMX) -- Code


Ok.. code to my post earlier i couldnt sleep.. had to test this out... I
was surprised at the resultsam NOT posting results.. anyone interested
can use the below code..

JSP code run in CMFX Enterprise
<%
  long z=0;
  for(long x=1;x<=100;x++){
z=z+x;
}
  out.println(z);
%>

CFM code run in CFMX Enterprise

 z=0;
 for(x=1;x lte 100;x=x+1){
z=z+x;
}
 writeOutput(z);


Joe






-Original Message-
From: Joe Eugene [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 09, 2002 6:29 PM
To: CF-Talk
Subject: Jsp Vs Cfm (CFMX)


I am curious..

How does Jsp Scale/Perform against Cfm in the same JRUN or CFMX environment?

Both Jsp and Cfm are compiled servlets right.. so you if you had the same
code in Jsp and Cfm running under CFMX... would there be any performance
difference?


Joe Eugene
Certified Advanced ColdFusion Developer



__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Deleting Cookie Name/Value Pairs

2002-09-06 Thread Andre Turrettini

Strangely it deletes the name value pair only.

Try this:

existsnot exists



alert(document.cookie);


Then run it 
Then change the cfcookie line to this 


 and run it.

The cookie piece test2 is stil there so it deleted the name value pair of
test1 but not the whole cookie.

I suppose its probably the best thing but it sure is confusing!

-Original Message-
From: Susan Hamilton-Allen [mailto:[EMAIL PROTECTED]] 
Sent: Friday, September 06, 2002 2:08 PM
To: CF-Talk
Subject: RE: Deleting Cookie Name/Value Pairs


That won't delete the entire cookie?

Susan Hamilton Allen
Web Programmer
Pfingsten Publishing, L.L.C.
Rock Run Center, Ste. 280
5700 Lombardo Center Dr.
Seven Hills, OH 44131
phone: 216.328.8926
fax: 216.328.9452


-Original Message-
From: Andre Turrettini [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 06, 2002 3:53 PM
To: CF-Talk
Subject: RE: Deleting Cookie Name/Value Pairs


To kill a cookie, youset expires  to the current moment via cf or via js.


-Original Message-
From: Susan Hamilton-Allen [mailto:[EMAIL PROTECTED]] 
Sent: Friday, September 06, 2002 1:59 PM
To: CF-Talk
Subject: Deleting Cookie Name/Value Pairs


Is there a way to delete a name/value pair from a cookie written to disk, as
opposed to setting the value to "" in  (not recommended by MM)?
DeleteClientVariable() does not work.  

Susan Hamilton Allen
Web Programmer
Pfingsten Publishing, L.L.C.
Seven Hills, OH 44131





__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Client Vars again

2002-09-06 Thread Andre Turrettini

Hmm. I'm assuming that when you say "we ran the app on another pc in the
office", you mean that you made requests to the test server and that the
client vars were incrementing or not working from that client.  Checekd that
its accepting cookies?  The first thing I would do is reproduce the problem
from the ground up. So, setup a test page that writes a cookie incrementally
or something.  So, everytime you hit it, your cookie value should increase
by 1.  Try this from every browser in the office.  Maybe you can find a
problem there.  Then setup a client var incrementing on that same page so
that everytime you increment the value of the client var and then read it on
the next request.  Make sure that's working.  If its not, also try session
vars and seeif they do the same thing.  If all that works perfectly, I'd
suspect something going on in your code.  Hopefully you can start with that!
DRE  
Ps. It's a stressfull thing so be thorough and clear minded!


-Original Message-
From: Susan Hamilton-Allen [mailto:[EMAIL PROTECTED]] 
Sent: Friday, September 06, 2002 2:13 PM
To: CF-Talk
Subject: RE: Client Vars again


DB: SQL Server 2000; Client OS: win2k; intranet app; single server win2k
server. Application.cfm set for clientmanagement="Yes", clientstorage=the
SQl data source, which was successfully registered w/in CF.  Using
 First we thought everything was great; then we
ran the app on another pc in the office.  Client variables were not writing
to the db, although they were writing successfully on the 2 developers'
machines.  Checked browser versions, os versions, couldn't find any links to
identify where the problem was.  Again, these two machines were writing the
client var strings correctly to the database.  Read on MM site that
addtoken="yes" will cause CFID to increment, which we did find to be true
for SOME of the pcs. Changed addtoken to no; the machines they didn't carry
the variables successfully now did not write to the database at all.  My
machine was the only one of the 5 that kept working no matter what.
Uninstalled CFMX, reinstalled, changed addtoken to "yes," and now my machine
did the same thing (CFID incrementing, one row per write to the client
state).  No other machines were able to write to the db, although they
"sometimes" seemed to actually carry the variables in memory successfully.

Susan Hamilton Allen
Web Programmer
Pfingsten Publishing, L.L.C.
Seven Hills, OH 44131



-Original Message-
From: Andre Turrettini [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 06, 2002 3:51 PM
To: CF-Talk
Subject: RE: Client Vars again


Hi Susan, 
Can you give full details.  Db, os, whats the applciation,
intranet/extranet/web,cfserver details,cluster/singleserver?  
Have you tried session vars or homegrown client vars?  
Can you consistently set a cookie and across page requests read it properly?
DRE

-Original Message-
From: Susan Hamilton-Allen [mailto:[EMAIL PROTECTED]] 
Sent: Friday, September 06, 2002 12:50 PM
To: CF-Talk
Subject: RE: Client Vars again


Adrian:

I posted to CF-Talk several times yesterday (with no useful results) with a
similar problem regarding client vars.  We are now re-engineering to write
cookies instead.  I had posted a notice from MM about  incrementing CFID.  Look at your CFID table; we had new rows
being written for each write to the client state, with incremented CFIDs. We
changed to "addtoken=no" and all of a sudden only one user could write to
the database at all.  We tried, as you have, to find a common denominator to
explain the inconsistent behavior among 5 machines; browser versions, os
versions, etc. After much trial and error, I uninstalled CFMX, reinstalled,
and are now using cookies instead.  Hope you have better luck than us; like
I said, take a look at your db and you may see the same symptoms.

Susan Hamilton Allen
Web Programmer
Pfingsten Publishing, L.L.C.
Seven Hills, OH 44131


-Original Message-

On Fri, 6 Sep 2002, Adrian Lynch wrote:

> I've posted this to CF-Talk, sorry for any who get both and don't like
cross
> posts...
> 
> Is there anyone out there that's built reliable login/logout
> functionality into their site? Something that works on ALL browser 
> combinations?
> 
> This is what we're doing...
> Client vars stored in a DB
> Using the usual code to kill a session on close of the browser CFMX,
> SQL Server 7 Testing on most combinations of browser.
> 
> Trying to figure out what's going wrong wouldn't be so bad if we could
just
> have some consistency in the way it's going wrong. We have... Logging
> in on 2nd, 3rd, 4th, 5th try instead of the 1st Not able to log out, 
> trying both reseting the client vars back to their original state and 
> deleting them altogether Having to change a cflocation to a 
> window.loc

RE: Deleting Cookie Name/Value Pairs

2002-09-06 Thread Andre Turrettini

To kill a cookie, youset expires  to the current moment via cf or via js.


-Original Message-
From: Susan Hamilton-Allen [mailto:[EMAIL PROTECTED]] 
Sent: Friday, September 06, 2002 1:59 PM
To: CF-Talk
Subject: Deleting Cookie Name/Value Pairs


Is there a way to delete a name/value pair from a cookie written to disk, as
opposed to setting the value to "" in  (not recommended by MM)?
DeleteClientVariable() does not work.  

Susan Hamilton Allen
Web Programmer
Pfingsten Publishing, L.L.C.
Seven Hills, OH 44131



__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Client Vars again

2002-09-06 Thread Andre Turrettini

Hi Susan, 
Can you give full details.  Db, os, whats the applciation,
intranet/extranet/web,cfserver details,cluster/singleserver?  
Have you tried session vars or homegrown client vars?  
Can you consistently set a cookie and across page requests read it properly?
DRE

-Original Message-
From: Susan Hamilton-Allen [mailto:[EMAIL PROTECTED]] 
Sent: Friday, September 06, 2002 12:50 PM
To: CF-Talk
Subject: RE: Client Vars again


Adrian:

I posted to CF-Talk several times yesterday (with no useful results) with a
similar problem regarding client vars.  We are now re-engineering to write
cookies instead.  I had posted a notice from MM about  incrementing CFID.  Look at your CFID table; we had new rows
being written for each write to the client state, with incremented CFIDs. We
changed to "addtoken=no" and all of a sudden only one user could write to
the database at all.  We tried, as you have, to find a common denominator to
explain the inconsistent behavior among 5 machines; browser versions, os
versions, etc. After much trial and error, I uninstalled CFMX, reinstalled,
and are now using cookies instead.  Hope you have better luck than us; like
I said, take a look at your db and you may see the same symptoms.

Susan Hamilton Allen
Web Programmer
Pfingsten Publishing, L.L.C.
Seven Hills, OH 44131


-Original Message-

On Fri, 6 Sep 2002, Adrian Lynch wrote:

> I've posted this to CF-Talk, sorry for any who get both and don't like
cross
> posts...
> 
> Is there anyone out there that's built reliable login/logout 
> functionality into their site? Something that works on ALL browser 
> combinations?
> 
> This is what we're doing...
> Client vars stored in a DB
> Using the usual code to kill a session on close of the browser CFMX, 
> SQL Server 7 Testing on most combinations of browser.
> 
> Trying to figure out what's going wrong wouldn't be so bad if we could
just
> have some consistency in the way it's going wrong. We have... Logging 
> in on 2nd, 3rd, 4th, 5th try instead of the 1st Not able to log out, 
> trying both reseting the client vars back to their original state and 
> deleting them altogether Having to change a cflocation to a 
> window.location to get it to log in on IE5 (don't ask)
> 
> I've just said to the guy I'm building it with, "shall we pass cfid 
> and cftoken in all the links and redirects, see if that cures it". 
> What does everyone else think. It's not the easiest thing to debug 
> something that
you
> can't reliably replicate :O(
> 
> 
> Adrian Lynch
> Thoughtbubble Ltd
> --
> United Kingdom
> http://www.thoughtbubble.net
> Ph: +44 (0) 20 7387 8890
> --
> The information in this email and in any attachments is confidential 
> and intended solely for the attention and use of the named 
> addressee(s) . Any views or opinions presented are solely those of the 
> author and do not necessarily represent those of Thoughtbubble. This 
> information may be subject to legal, professional or other privilege 
> and further distribution of it is strictly prohibited without our 
> authority. If you are not the intended recipient, you are not 
> authorised to disclose, copy, distribute,
or
> retain this message. Please notify us on +44 (0) 20 7387 8890
> 
> 
> 


__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Cfmodule and Links

2002-09-06 Thread Andre Turrettini

I see three solutions.
On is to use an absolute path which is fairly obvious.
Second is to pass the relative path into the custom tag.  This might be
dynamically generated by the calling template.
Third is to use the var getBaseTemplatePath in the custom tag.

You'll have to do a bit of calculation to figure out the url part of the
path youre looking for from the machine root path returned.  
DRE

-Original Message-
From: Michael Wilson [mailto:[EMAIL PROTECTED]] 
Sent: Friday, September 06, 2002 9:27 AM
To: CF-Talk
Subject: Cfmodule and Links


Hi all,

My apologies in advance; I am sure this has been discussed before and I have
tried searching the archives with no luck.

I have a directory structure something like this:

TEST CODE (root)
resources (sub dir of root)
includes (sub directory of resources) 
cfmodule1.cfm
cfmodule2.cfm

dir1 (sub directory of root) 
template1.cfm

dir2 (sub directory of dir1) 
template2.cfm

dir3 (sub directory of dir2) 
template3.cfm

How does one place links (navigation perhaps) in either cfmodule1.cfm or
cfmodule2.cfm, and resolve them to work properly when ed into
template1.cfm, template2.cfm and template3.cfm? Is there a custom tag or a
resource you can point me to for more information on this?

Am I making any sense?

Best regards,
Michael Wilson - IQMax



__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Statement of Work

2002-09-04 Thread Andre Turrettini

Thanks Michael, I was just looking for examples myself.  Actually, anybody
got a sample hosting contract?  Thanks.  DRE

-Original Message-
From: Michael Wilson [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, September 04, 2002 7:53 AM
To: CF-Talk
Subject: RE: Statement of Work


Hi,

Someone else had asked about this yesterday and I forwarded them the stuff I
had. I have posted it at http://961.dns2go.com/Contracts.zip.
The .zip file contains a development contract, statement of work for a
client, statement of work for a freelancer, sample project scope, sample
copyright, sample freelancer agreement and a sample work made for hire
agreement.

All of this stuff was prepared by an attorney's however I will take no
responsibility for how you use this information or these sample documents
and I make no warranties about the legality of their contents.
:)

Hope this helps!

Regards,
Mike Wilson

-Original Message- 
Subject: Statement of Work

Does anyone have an example of a Statement of Work?




__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CF_EmbedFields and Double Quotes

2002-09-03 Thread Andre Turrettini

Exactly what I was thinking!  
The only thing I would improve upon is loosing all those evaluates.  It's a
good thing to know when not to use them because they are fairly slow.  Don't
forget the faster array syntax if your cfserver is current: form[formname].
In this case, I don't think you need any of them.  Lastly(jeez am I long
winded or what?), It might be wise to copy and rename the custom tag.  Maybe
CF_EmbedFieldsEncoded or something. That way nobody will try and use it
without knowing about your changes.
DRE
Oops.  Wait I've got more(he keeps going and going. . .)!  That last loop is
a bit dangerous since you don't know what the user will type in.  I think
from your description, you know what fields will be so I would probably just
hardcode the urlencodedformats into the insert qry.  Finally, FYI, theres
also the javascript function called escape() which is the equivalent of
urlencodedformat.

-Original Message-
From: Kamie Curfman [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, September 03, 2002 3:45 PM
To: CF-Talk
Subject: RE: CF_EmbedFields and Double Quotes


Thanks, Dre.  I modified the custom tag to:



   
  
   
  
   


and then right before the insert do (I'm using
Fusebox):


   
  
   


and all appears well.  Thanks!

Kamie

--- Andre Turrettini <[EMAIL PROTECTED]>
wrote:
> Just urlencodedformat them when you put them back in
> the form fields.  You
> may need to modify your custom tag a bit.  DRE

=
Kamie Curfman, Web Developer, FGM Inc.
45245 Business Court, Suite 400
Dulles, VA 20166
http://www.fgm.com

__
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com

__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Session problem

2002-09-03 Thread Andre Turrettini

I think you can avoid the proxy server issues by adding a random url var.
Then it thinks it's a different page.  Maybe like
index.cfm?r=#getTickCount()# or such.  DRE

-Original Message-
From: Everett, Al [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, September 03, 2002 3:18 PM
To: CF-Talk
Subject: RE: Session problem


Seen plenty of things like that caused by the user's proxy server. Novell's
old proxy server (the name escapes me at the moment) was notorious for that.

Also seen it in cases where the user had ghosted one machine to the other.
They ended up sharing temporary internet files and, thus, cookies. Clearing
the temporary internet files or at least the CFID and CFTOKEN cookies for
the domain fixed the problem.

> -Original Message-
> From: Robertson-Ravo, Neil (REC) 
> [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 03, 2002 4:56 PM
> To: CF-Talk
> Subject: Session problem
> 
> 
> Anyone had problems with session variables being the same for
> two different
> users who have logged in with different ID's?
> 
> basically the situation is this :
> 
> user A logs on and then user B logs on  they have the
> same IP to the
> server and when B logs on he gets A's details...
> 
> locking is applied througoute etc...
> 
> wierd.
> 
> N
> 

__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CF_EmbedFields and Double Quotes

2002-09-03 Thread Andre Turrettini

Just urlencodedformat them when you put them back in the form fields.  You
may need to modify your custom tag a bit.  DRE

-Original Message-
From: Kamie Curfman [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, September 03, 2002 1:01 PM
To: CF-Talk
Subject: CF_EmbedFields and Double Quotes


I have several forms in an application I'm working on.
 In all but one of them, I can enter single and double
quotes in the input boxes and textareas and have them
insert and display just fine.  In one of the forms,
though, I'm allowing the users to preview the data. 
As such, I'm using the CF_EmbedFields custom tag on
this page to hold/hide the form data before I insert
it.  Although the form data (double quotes and all)
displays just fine on the preview page, the double
quotes cause the data to get chopped off come insert
time (using CF 5, SQL 2000 on NT).  Again, this isn't
a problem with the other forms.

I can get around this by replacing the double quotes
with single ones before the CF_EmbedFields tag is
called, but later -- when admin goes to edit the info
-- there's a chance the data will look inconsistent
(sometimes single quotes, sometimes double).  Any way
around this short of me creating a bunch of
session/client variables or a temp table?

Kamie

=
Kamie Curfman, Web Developer, FGM Inc.
45245 Business Court, Suite 400
Dulles, VA 20166
http://www.fgm.com

__
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com

__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: programmer vs. developer

2002-08-29 Thread Andre Turrettini

Don't forget, you'll be spending lots of time with this person if you work
directly with them.  If they are equal in every way, wouldn't you take the
bonus of being able to have interesting conversations as opposed to talking
only about code?  Whatcha gonna do on thanksgiving weekend?  Go over to his
house and code or go over to his house and drink a beer and watch a couple
of games?  Or maybe learn to fish?  DRE

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, August 29, 2002 12:06 PM
To: CF-Talk
Subject: Re: programmer vs. developer


Dave,

I'm surprised to see such a response from you.  You're one of the few people
I see on this list 24/7.  I'm on the west coast and see you post at 12:42am.
If memory serves me correctly you're on the east coast... 3:42am

You got up early to go fishing didn't you?  ;-)

Seriously though...  I should have worded my original statement better. That
question by no means is a "catch all" or a "disqualifying" question. But I
have found it to be a valuable question during the interviewing process.
And you're absolutely right... just because someone spends a lot of time in
front of the screen doesn't make them a good programmer.  But their
willingness to learn and improve their skills both at work and at home are
certainly a bonus.

So if you have two people... equally qualified, equal personalities, equal
in every way except one goes fishing and one likes to program in his spare
time... who would you choose.  The short and simple answer to that question
is the guy at home... if for no reason other than he doesn't have to dock
the boat before logging into the server to fix the "problem code" that only
rears it's head on the weekends. ;-)

-Novak

- Original Message -
From: "Dave Watts" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, August 29, 2002 12:42 AM
Subject: RE: programmer vs. developer


> > One question that is always worth asking during the interviewing 
> > process is "What types of things/programs do you work on in your 
> > spare time?" If you get an answer like "...not much really, I go 
> > fishing on the weekends..." then chances are you've got a 
> > "programmer" who's in it more for the money than the love of 
> > programming.
>
> I find it odd that people in the field of programming are expected to 
> be
so
> different from people in other fields. Do most doctors, lawyers or
plumbers
> practice their skills in their spare time? Why do we expect 
> programmers to do so? Would you use that as a criteria when hiring any 
> other
professional?
>
> Also, just because someone enjoys what they do doesn't make them good 
> at
it.
> In fact, I think programming is a field which many people enjoy 
> working in even when they're not especially suited to it. Finally, I 
> think this expectation that most of us have about being a programmer 
> 24/7
demonstrates
> the relative immaturity of our field; after all, it really should be 
> just like any other job, instead of being a hobby that you happen to 
> get paid for. Sure, it's nice to enjoy your work, but work is just one 
> part of the life of a well-rounded person.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> voice: (202) 797-5496
> fax: (202) 797-5444
>
> 

__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Hover doesn't work with CFMX?

2002-08-16 Thread Andre Turrettini

using the built in webserver only hitting port 8500?  Hmm. Thats
interesting. 

-Original Message-
From: Jesse Houwing [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 16, 2002 11:11 AM
To: CF-Talk
Subject: Re: Hover doesn't work with CFMX?


Andre Turrettini wrote:
> I've noted that javascript behavior links(htc I think) didnt work either.

> DRE

I've tried it on my local system, and it works in IE, Moz and Opara, in 
CFMX and IIS.

It should not matter which server you use, as this is all redered by the 
client.

Just make sure all #'s are escaped when between  but as you 
said you were not yet using any CFML, so the #'s should be no problem 
either.

Have you tried looking at the source as they're in the browser (eg "view 
source from the display menu) and compared those?

Also, use the w3c validator to check the page from CF5 and CFMX, maybe 
you made a typo somewhere.

Jesse



__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: rotating mail servers - cfmail...

2002-08-16 Thread Andre Turrettini

you could have a mailserver recordset listing your mailservers, then use a
counter in your loop that gets reset when it reaches the
mailserverrecordcount.  Then your loop would write the mailserver into the
cfmail tag.  
DRE

-Original Message-
From: Buddy [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 16, 2002 10:33 AM
To: CF-Talk
Subject: rotating mail servers - cfmail...


Hey everyone, I'm writing a mail app and looking for suggestions for a cool
way to handle part of the app:

I am sending a bunch of emails out with CFMAIL. I am looping over a list of
the addresses, it could be from a query or a struct or an array, doesn't
really matter to me or the app, anyway, as I loop over the emails I would
like to have the app evenly distribute the mails between any number of my
mail servers, to keep the load lighter on all of them. It could be any
number, but right now it is 3: mail, mail2, and mail3. Anyone have any
thoughts about a really cool or elegant way to do this? Thanks y'all.
Buddy


__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Hover doesn't work with CFMX?

2002-08-16 Thread Andre Turrettini

I've noted that javascript behavior links(htc I think) didnt work either.  
DRE

-Original Message-
From: Ryan Kime [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 16, 2002 10:24 AM
To: CF-Talk
Subject: RE: Hover doesn't work with CFMX?


No Ben, the way James is doing it is correct too.

-Original Message-
From: Ben Densmore [mailto:[EMAIL PROTECTED]] 
Sent: Friday, August 16, 2002 11:07 AM
To: CF-Talk
Subject: RE: Hover doesn't work with CFMX?


I think the correct way is 
TOC A:HOVER{
  color : #CC9933;
text-decoration : underline;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
}

Ben


-Original Message-
From: James Johnson [mailto:[EMAIL PROTECTED]] 
Sent: Friday, August 16, 2002 11:59 AM
To: CF-Talk
Subject: A:Hover doesn't work with CFMX?

Hi,

CF MX installed on my development (localhost:8500) system. I have a simple
page with some styles declared; A.TOC, A.TOC:HOVER, A.TOC:VISITED. This is a
prototype page, with no CFML in it. When viewing through CFMX
(localhost:8500) the HOVER style doesn't work. When viewed through CF 5, the
HOVER style works.






What 
we do


Any ideas? Thanks,
Jim
***
James Johnson
SMB-Studios
Innovative Online Learning for Spirit, Mind and Body www.smb-studios.com
[EMAIL PROTECTED] 




__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Article: A Wealth of Woe at Macromedia

2002-08-13 Thread Andre Turrettini

I'd hate to be in that profession!  In one sentence he says macromedia
experienced a 5 % revenue decline.  Then "adobe announced that demand had
been much weaker than expected across all products and geographic areas".
This sounds like more than a 5% revenue decline.  But then he makes adobe
look like the hands down winner.  Nice spin!  Also note the investor panic
keywords in bold.  


Also I've never gotten the p/e ratio.  Whats the price of a single share got
anything to do with anything in a ratio?  If it costs 10 and you want to
invest 100$, you get 10, if it costs 50$, then you buy two.  I guess it
stems from investors wanting a nice number between 20 and 100 or something.
Kinda like me liking the plants on my desk between 5 and 15 inches high.
Now earnings per employee is a good meaningful one.


Ha Nice Rant Dre.  
Please forgive my rant and don't flame my stock market ignorance. 

-Original Message-
From: BEN MORRIS [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, August 13, 2002 7:32 AM
To: CF-Talk
Subject: Article: A Wealth of Woe at Macromedia


Article from Business Week:
A Wealth of Woe at Macromedia 
August 9, 2002

This is article focuses on stock prices, but still pretty interesting.

http://www.businessweek.com/investor/content/aug2002/pi2002089_8261.htm?c=bw
techaug13&n=link5&t=email


__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Deployment software?

2002-08-02 Thread Andre Turrettini

Brian ,
The most interesting solution I've heard about is having a single server as
the source for the code for all your machines.  So, you have your laod
balancing as usual but cfm maps its file requests to this one machine.
Eventually however all of your servers have the pcode in their own memory
space and are functioning independently.  So, you have the best of
maitaining code on a single server whilst having the power of a cluster
almost as large as you want.  The biggest drawback is if that one machine
goes down but this can be a very ligthly loaded machine I don't think it
even needs cf on it!  If if that happens though, you can quickly move the
mapping to another machine that you've got the correct files on.
If you figure it out and implement it, can you remind me the mappign schema.
DRE

-Original Message-
From: Brian Fox [mailto:[EMAIL PROTECTED]] 
Sent: Friday, August 02, 2002 8:49 AM
To: CF-Talk
Subject: Deployment software?


Any recommendations for a multi-server deployment program?  I'm loosing
sleep on a new project I just finished that has multiple revisions/fixes a
week, a half dozen servers to mirror, and a client who wants it mirrored
after 10:00 PM.

Thanks,
Brian 
__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: How to append a string to a string?

2002-07-29 Thread Andre Turrettini

Cfsavebodycontent will do this nicely with a bunch less fuss!  DRE

-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]] 
Sent: Monday, July 29, 2002 3:35 PM
To: CF-Talk
Subject: Re: How to append a string to a string?


> whats an easy way to append a string to a string?

> I'm trying to do this:

> // php
> $output  = ""; $output .= "  
> ";
> $output .= "";
> etc...

> .  in CF.

> I don't want to use  though.



or

">

or ( CF5 only )





All of these will give you roughly the same results... and when building
larger strings which include html formatting ( tables in particular ) I tend
to go with the latter, since it eliminates the need to escape double or
single quotes.

Isaac Dealey
Certified Advanced ColdFusion Developer

www.turnkey.to
954-776-0046

__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



  1   2   >