Re: Is CF still relevant?

2001-04-21 Thread Xing Li
The cost of PHP versus CF not counting server license is not that far off. If you want top of the line performance with ZendCache you will need to pay a hefty price (www.zend.com). If you want to use Zend's php editor you have to pay a price too. The caching system is part of CF already. WIth

Re: CF Using 90-100% of processor time (911!)

2001-04-17 Thread Xing Li
Not sure if anyone else has mentioned this yet but there is a very rare and random cfmail bug that cause exactly the cpu usage you have described. Once in a blue moon CF 4.5.X blurps out an empty/0K email queue in the C:\CFUSION\MAIL\POOL folder or wherever you installed CF. Look for a 0K file

Error Catching Overhead - Performance Data?

2001-04-17 Thread Xing Li
Don't want to do more than I need to so I will try to get the answer here first. Has anyone done any performance testing with huge blocks of CF code with and without nested/non-nested CFTRY/CFCATCH code? It would be interesting to see if anyone has experienced any significant difference between

Re: Procedure and Function (Rambling thought)

2001-04-12 Thread Xing Li
I kinda think the new CF functions as poor man's objects without the protection and inheritance stuff. I don't agree with the fact that objects are too complex are not suited for scripting languages. If used right, they actually save tons of work/time long term and can actually make our programs

Re: when is CF5 release? (a little OT)

2001-04-11 Thread Xing Li
Allaire claims that the latest CF builds are dramatically faster and especially on linux. I have not done any formal tests so I can't say it is true or not. But I can safely say that CF is now finally on a bit of diet. Memory usage has been down significantly across the board on 24/7 servers

Re: Which version of MDAC is best with Cold Fusion 4.5.1

2001-02-28 Thread Xing Li
Always get the latest mdac which is at version 2.6 right now. Just go to microsoft.com, select download, select keyword and w2k and type in "mdac" and you see the link for it. It's about a 5mb download. Xing - Original Message - From: "Jeffry Houser" [EMAIL PROTECTED] To: "CF-Talk"

Re: ColdFusion FAQ

2001-02-25 Thread Xing Li
Nice collection. =) I have a question. Why do you say that OLEDB connection is faster for SQL server than ODBC? I always thought that ODBC is native to SQL servers. Xing - Original Message - From: "Aidan Whitehall" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Sunday,

Re: The BETA IS OUT!!! (query a query)

2001-02-02 Thread Xing Li
I'm not questioning whether it's a nice feature or not. I'm just looking for a nice application to put it to good use. From you what you have described, it doesn't save speed or resources in the long run. Currently you'd have to run many queries, but with Query a Query you can run big

Re: The BETA IS OUT!!!

2001-02-01 Thread Xing Li
Hopefully they do not attempt make this a closed beta. I tried my normal login, which I have had for more than a year now, and I don't see it. I register a new account and it doesn't work either. Maybe we just have to wait till Feb2 for all public access. xing The Beta for 5.0 is

Re: The BETA IS OUT!!! (query a query)

2001-02-01 Thread Xing Li
I haven't thought of a kickass problem/solution that would need query a query ability so I'm happy that's it is there to use but not, stoked, at least not yet. =) Have not tested or even had the priv to touch 5.0 yet but isn't just query a query just a search option? So we can do a search for

CF 5.0 (custom functions)

2001-02-01 Thread Xing Li
Visited the beta forum and straight from the horse's mouth: custom function ability is not in beta 1. That kinda killed my anticipation for 5.0 since functions can be a poor man's object oriented approach . So we have heard of query on query. Anything else? It better be worth the wait. If they

Re: Feature of ColdFusion

2001-02-01 Thread Xing Li
Hallo everyone, I want to ask some question that related with ColdFusion's feature. What is the meaning of dynamic load balancing? When the traffic is divided up to separate servers in real time. For example. You have 3 servers that's clustered or load balanced to do the same thing.

Re: Making a noise

2001-02-01 Thread Xing Li
It's possible but you won't get it out of coldfusion since it can't control the client side. What you need is javascript, java, or flash. You can use cf to pick what sounds are played but you can't use cf to play them. Xing - Original Message - From: "Parker, Kevin" [EMAIL PROTECTED]

Re: Date of Birth question

2001-02-01 Thread Xing Li
if you want a lazy answer read the follwoing. Just subtract 1 from your current answer. Xing - Original Message - From: "Peter Tilbrook" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Thursday, February 01, 2001 7:18 PM Subject: Date of Birth question Hey guys/gals! I am

Re: Studio and PHP?

2001-01-19 Thread Xing Li
CF Studio, with the new versions, already has builtin PHP source code highlighting support. Doesn't have debugging support but good enough. Xing A friend tells me that Allaire's Studio might be supporting PHP in the future - is this true, or complete rubbish? Will --

OT: CGI.Remote_Addr and client identification...

2001-01-06 Thread Xing Li
Well..one day I decided I had to add extra security to my custom client storage system and what's a better way to do this than to record the IP (cgi.remote_addr) when creating the client instance and verify the IP stored and real-time IP in addition to the cookie keys stored on the browser.

CF's way of retrieving client data...

2000-12-30 Thread Xing Li
We have several default variables associated client states: LastVisited,HitCount, etc So we have two sets of client variable types: custom and allaire's global set. After watching the queries on the sql server through the sql profiler, CF calls two separate queries for each client request.

Re: Audience Profiling

2000-12-27 Thread Xing Li
It's less programming and a lot of back end crunching at the end. For every page view, record the cgi.http_referr string, the current cgi.querystring and/or cgi.scriptname, and/or other additional parameters such as the userid/ip address, time, etc...as much unique data as you will need in the

Re: OT Java letdown

2000-12-24 Thread Xing Li
Time to throw in my two cents. Java is the best platform, in my opinion, to develop software for mass deployment since you can "almost" have your hava apps run on "most" of the platforms. Mac OS X will bridge the mac gap in the Java race but I do agree that the "write once run anywhere" goal is

Re: [Compress HTML output]

2000-12-24 Thread Xing Li
It's been running like a champ for us over the last three days on a moderately high volume site. I can't imagine that the CFX overhead would be that much higher than ISAPI overhead. CFX_GZip is a good multi-threaded tag... The overhead is most likely on the cache file writes and cache

Re: [Compress HTML output]

2000-12-24 Thread Xing Li
It's compressed at the server and decompressed at the client. Pretty sure all current browsers support both the deflate(an compression algorithm not the expanding part) and gzip. The decompression is very fast so the end user doesn't even see a difference. Xing Could you please explain how

Re: [Compress HTML output]

2000-12-22 Thread Xing Li
Not sure if this has been talked about in detail but with the interest in dynamic html compression I will throw my two cents in. Why use a cfx tag with coldfusion to compress html output when you can use IIS 5.0's builtin gzip/deflate compressors? I bet the cfx/cf overhead is much higher and not

Re: clientVar storage/multiple CFAS/single storage db

2000-12-19 Thread Xing Li
This is a pretty old post but given its importance as related to client variables I want to revist this. I have a system setup where two cf machines are tied together via dns round-robin and share the same database for client storage. As the number of simultaneous users increasesd, the number of

Small companies using CF..=)

2000-12-09 Thread Xing Li
Who says only the big guys can host major cf driven traffic? http://www.fanfiction.net is a pure 100% cf site pushing out 18+million cf page views per month (more accurate than just hits which can be 2x the number of actual page views) on only 2 round-robined dual-pentium3 800 servers with cheap

OT: Netscape 6 and StyleSheets

2000-11-16 Thread Xing Li
Although not CF related many of us use stylesheets everyday so I thought this might save some of you headaches come support time. Netscape 6 is case sensitve when it comes to style class declarations and usage. Netscape 4.7 and IE are not case sensitive when it comes to style class names. For a

CF Client Data Corruption Under Load?

2000-11-09 Thread Xing Li
Just recently people have been logging in but then inadvertantly with other user's account. Basically, if you attempt to login as "joe" you might instead be recognized as "david" once you have passed the authentication. All user verification are through client variables. I have yet to reproduce

Re: cfexecute

2000-10-29 Thread Xing Li
Make sure the "ColdFusion Application Server" service has the priviledges to access the network drive. By default the services is logged on with "local system" account. Xing - Original Message - From: "Tom Langer" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Sunday, October

Re: cflocking.. -- ATTENTION -- MY CASE STUDY

2000-09-17 Thread Xing Li
I totally agree with you Al. The final judgement should be on our shoulders. Give us the extra option and we will know which will be the best strategy for our unique situations. Even though I love speed, I would take stability any day. I don't mind a few a few milliseconds here and there but I

Dreaded Location: 25 error

2000-09-17 Thread Xing Li
I know this has been touched on before but I forgot what the general agreement was on this topic. Can someone refresh me on this? Thanks in advance. For me, this error is directly attributed to volume. After a few days of heavy heavy volume, the servers goes cold with Location: 25. This is

Re: Upload and retrieval of stories?

2000-09-15 Thread Xing Li
Steve Katz, You might want to check out www.fanfiction.net for pointers. Archiving/Publishing of stories from lesser known authors is exactly what we do there. The stories are uploaded by the user and the content, no matter how large, is stored into MS SQL 2000b2 database. You can save and serve

Re: Upload and retrieval of stories?

2000-09-15 Thread Xing Li
of allocating/opening a file, etc, then saving/retrieving a few sectors in the file Hmmm... this is very important. Got any performance stats? I'll looked at the fanfiction site... interesting Dick At 2:17 AM + 9/21/09, Xing Li wrote: Steve Katz, You might want to check out

Re: Upload and retrieval of stories?

2000-09-15 Thread Xing Li
If you want to break up the stories into multiple pages I would suggest breaking them up at the database level and don't store everything in one field. You currently have one table which holds all the contents of the stories uploaded. If you want to have a paging scheme its probably better to go

Re: Upload and retrieval of stories?

2000-09-15 Thread Xing Li
But, then, why doesn't it, also, make sense to use static html pages (processed and cached by the web server) and avoid CF SQL altogether. I agree. The best, fastest, and most scaleable way to push pages is to push pre-generated "static" pages as much as possible. I personally would love to

Re: Debugging an undefined DB

2000-09-15 Thread Xing Li
You might be experiencing the "comment" bug in your code. If you did not complete the cf comment tags, nothing below the faulty comment tag will be executed. It has happend to me quite a few time. =) Xing From: Gene Kraybill [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Fri, 15 Sep

CF 5.0 and misc questions...

2000-07-19 Thread Xing Li
Anyone here knows the timetable for CF 5.0? As for the pharoh engine, is it going to compile CFML straight to java bytecode or it it gonna translate it to JSP as show in the tech roadmap pdf? On to misc questions. =) 1) Has anyone gotten or know the meaning behind "Pure virtual function call

Re: SQL or PHP with CF for this problem?

2000-05-11 Thread Xing Li
Britta, I don't think PHP or mySQL would help your situation since the problem is strictly database related and mySQL does not support nested queries which is helpful at times. TO ADD A NEW PRODUCT from "new" to "Products2" if not already listed in "Products2": INSERT INTO Products2

Re: how to separate 400 query resutls into 20 pages?

2000-05-11 Thread Xing Li
Ins, I would recommend Ben Forta's CF books since he has a very clear section on how to implement that. In the simplist form, you have something like this: CFPARAM Name="Url.Page" default="1" CFPARAM Name="Variables.MaxPerPage" default="50" CFQUERY Name="myData" CFLOOP Quey="myData"

CF and MS Index server?

2000-05-11 Thread Xing Li
I'm curious. Is it possible to use the built-in indexing engine bundled with IIS and then access/search through the stored data via some CF recognizable interface? COM? Soemthing other than CFCOLLECTION is what I'm trying to get at... Xing

Help with broken CLIENT storage and CFADMIN area

2000-05-11 Thread Xing Li
I have a VERY annonying problem on my hands. ME: 1) In the CF admin, set an odbc db to use as CLIENT storage. 2) Everything works fine. Good. 3) After a week or two: hey, I don't need CLIENT storage! 4) Go in to CF Admin and remove the db as CLIENT storage. CF ADMIN: 5) Bam! "Error

Re: Macs, PC's, and Cold Fusion

2000-05-10 Thread Xing Li
Joel, There is an undocumentated bug with Mac IE in conjunction with CF's cflocation tag. I have found the problem to only exist when you are submitting a form and attemp to cflocate after some action. It does not happen with all forms but only the critical ones you need to have working by some

Re: Preventing file download.

2000-04-13 Thread Xing Li
Guy, Move the CAD files out of the web folder and use CFCONTENT to push the cad files. The CFCONTENT script will be programmed to accept and validate an encrypted phrase passed by the calling file (applet). Now here is the worse part. The key used to validate and encode (CFENCRYPT) the phrase

Re: cftransaction and cfserver 4.5.1 MY MISTAKE...

2000-04-12 Thread Xing Li
Are you sure the "cut-off" error message is not the result of broken html code as result of the abrupt stoppage of the content generation? I get those a lot and especially on pages with nested tables. View the html source to see if the error is there. Xing HOWEVER... the problem of not

RE: Security holes revisited -- reward offered

2000-04-04 Thread Xing Li
Wrap CFTRY and CFCATCH Type="ANY" around your CF applications so he can't view partial "source code" through error messages. Not a physical bug but I think it can lead to more serious intrusions. Xing Ok, fellow Listees, here's the deal... My boss's daughter has a boyfriend.. (can you

Re: Help refresh in frame

2000-04-04 Thread Xing Li
I think this might work. If you want to use a link to refresh the page but fear the browser might cache the individual pages try the following: Append and pass a bogus url variable containing a unique value to all the frames in your frameset. myframeset.cfm?bogusvar=#UUID()# You will never