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 JSP

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: 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 and

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 pumpi

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" <[E

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, Febr

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

2001-02-03 Thread Xing Li
What you suggest is a very dangerous idea. "If you don't use it, don't pick holes in it." Don't know about that one since the a big part of using something is to know when not to use it or the consequences of using it. Xing > > The benefits listed below diminishes if application operates under

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

2001-02-02 Thread Xing Li
The benefits listed below diminishes if application operates under a load balanced environment since it's very hard to synchronize large cached queries or, any cached query for that matter, between servers. You can call all other servers when one is being updated but performance wise not a good

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 quer

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! > >

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]> T

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. W

Re: (Admin) NDA Reminder

2001-02-01 Thread Xing Li
This hasn't stopped discussion regarding 4.5.1sp2 beta or other prior betas as well. =) And if they come after me I will have a peanut to throw at them. I don't think speculation on my part would count as under the NDA since I have yet to touch 5.0. When it comes out, we will see. =) Let's get a

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 c

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 ar

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 availab

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. Howeve

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. O

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 lo

A CF bug leading to another bug?

2000-12-25 Thread Xing Li
I just had a very strange experience. My CF server was chewing up major cpu slowing down the entire site and since I know the traffic at this time should not warrant the major resource usage I did some digging to find out why it was acting up and here is what I found. I stopped ALL web services s

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 thi

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: 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 n

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 th

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, Octobe

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 pretty

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

2000-09-16 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 do

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 Se

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

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
ctors > 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

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

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 exc

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 Diagnos

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 ---

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: All you need to pass in is the incremented page counter (Url.Page) and calculate the offsets depending on how many recor

Re: SQL or PHP with CF for this problem?

2000-05-10 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 (Pro

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 d

Re: cfapplication

2000-05-01 Thread Xing Li
Aren, Are you sure app_globals.cfm is executed before any session scoped variable calls? Seems like there might be some code that are executed before the app_globals script. Xing > Hi all, > > I'm writing a fusebox-app and I've put the -tag > (sessionmanagement="yes") in the app_globals.cfm in

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 mu

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 be

Re: Survey Again

2000-04-04 Thread Xing Li
On the cf page that actually receives the form data, use to make sure that all the variables you expect are at least defaulted to a specified value even if they are not passed from the survey form. Xing > > I am creating hidden form fields for all the questions. But what should I > do with

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

RE: Security holes revisited -- reward offered

2000-04-04 Thread Xing Li
Wrap and 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 smell the trouble > al

Re: Apple formfields problem

2000-04-04 Thread Xing Li
Can you be more specific in how the extra "garbage" is introduced in the form fields? What type of form fields? text, textarea, select? Or just type="file"? IE on the mac is notorious for having problems when you need to upload a file via . I would suggest using Netscape 4.7.2 on the mac. Xi