Re: consistancy

2003-07-30 Thread Sean A Corfield
On Tuesday, Jul 29, 2003, at 22:33 US/Pacific, Matthew Walker wrote: Problem is that CF developers (and the MACR docs -- look up cffunction) then go ahead and call these functions inside components methods. So really the inconsistency has just moved to a new location. That's exactly what I

RE: Mach II

2003-07-30 Thread Mike Brunt
Sean, sounds great, thanks. Kind Regards - Mike Brunt Webapper Services LLC Web Site http://www.webapper.com Blog http://www.webapper.net Webapper Web Application Specialists -Original Message- From: Sean A Corfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 10:35 PM To:

RE: Hiding Javascript Source

2003-07-30 Thread Peter Harrison
Yes, Brad, I'd like to see your hiding technique please. Of course, we know it's just reversable obfuscation or making it a _little_ more work to find. Also, have you seen this: http://www.jimworld.com/tools/javascript-encrypt/ It obfuscates the JavaScript code, but the trick to decrypting the

calculating the date and time.

2003-07-30 Thread Allan Clarke
Hi All, I was hoping somebody could help me. I'm trying to display the date and time. This is how I want to display it: If the current time is 10:05, I want to display the time in this format: In the last hour (09:05 - 10:04) If the current time is 10:05 and the date is 30.July, I want to

RE: calculating the date and time.

2003-07-30 Thread Philip Arnold
I was hoping somebody could help me. I'm trying to display the date and time. This is how I want to display it: If the current time is 10:05, I want to display the time in this format: In the last hour (09:05 - 10:04) If the current time is 10:05 and the date is 30.July, I want to

calculating the date and time.

2003-07-30 Thread ColdFusion Programmer
How do I get the calculate the from time to start at 01:00 am and the to time to end at 00:59 am. Can you please show me how to get the date and time in the format mentioned below In the last 7 days (23 Jul 2003 01:00 - 30 Jul 2003 00:59) I was hoping somebody could help me. I'm trying to

Re: [cftalk] calculating the date and time.

2003-07-30 Thread Allan Cliff
CFIF LookingAt IS Week CFSET Today = CreateDateTime(Year(Now()),Month(Now()),Day(Now()),0,59,0) CFSET LastWeek = DateAdd(N,1,DateAdd(D,-7,Today)) /CFIF I haven't tested this so there maybe small errors but something like this?? - Original Message - From: ColdFusion Programmer

Finding recently modified files in subdirectories

2003-07-30 Thread Calvin Ward
Hey all, I'm looking for a way to find all files that were modified in a directory and it's subdirectories. The trick is that it has to be very fast, and ColdFusion MX has to be able to talk to it. Has anyone found such a solution? Thanks, Calvin

Re: Finding recently modified files in subdirectories

2003-07-30 Thread Stephen Moretti
I'm looking for a way to find all files that were modified in a directory and it's subdirectories. The trick is that it has to be very fast, and ColdFusion MX has to be able to talk to it. Has anyone found such a solution? Look at CFDirectory. This returns a query set with one of the

[cftalk] calculating the date and time.

2003-07-30 Thread ColdFusion Programmer
Spot on Allan, this is what I was trying to do. Can you show me how to calclulate the from-to date time in the last 24 hours In the last 24 hours (29 Jul 2003 10:00 - 30 Jul 2003 09:59) Many Thanks Allan CFIF LookingAt IS Week CFSET Today =

Re: Finding recently modified files in subdirectories

2003-07-30 Thread Michael T. Tangorre
Calvin, I am working on somethign in C# that does something similar. Basically I am listening to a directory to see when files are created, deleted, edited, etc... It writes the results to an XML file. I am still quite a ways away from being done, but you are welcome to it when I am done. You'll

Re: [cftalk] calculating the date and time.

2003-07-30 Thread Allan Cliff
CFIF LookingAt IS Day CFSET Today = CreateDateTime(Year(Now()),Month(Now()),Day(Now()),9,59,0) CFSET LastWeek = DateAdd(N,1,DateAdd(D,-1,Today)) /CFIF - Original Message - From: ColdFusion Programmer To: CF-Talk Sent: Wednesday, July 30, 2003 12:48 PM Subject:

Re: Finding recently modified files in subdirectories

2003-07-30 Thread Calvin Ward
Stephen, CFDirectory fails the speed consideration, when enumerating sub directories it isn't fast enough, especially when you can't count on Windows 2000 delivering a last modified date that is relevant to all files in all subdirectories for a given directory. If Win2k did that, then it would be

Re: [cftalk] calculating the date and time.

2003-07-30 Thread Allan Cliff
That should have read Yesterday and not LastWeek but you know what i mean CFIF LookingAt IS Day CFSET Today = CreateDateTime(Year(Now()),Month(Now()),Day(Now()),9,59,0) CFSET Yesterday = DateAdd(N,1,DateAdd(D,-1,Today)) /CFIF - Original Message - From: Allan Cliff To:

[cftalk] calculating the date and time.

2003-07-30 Thread ColdFusion Programmer
not quite as I was expecting. Take the current time, its 11:55 am GMT, I want the result to be (29 Jul 2003 11:00 - 30 Jul 2003 10:59) CFIF LookingAt IS Day CFSET Today = CreateDateTime(Year(Now()),Month(Now()),Day(Now()),9,59, 0) CFSET LastWeek = DateAdd(N,1,DateAdd(D,-1,Today))

RE: Finding recently modified files in subdirectories

2003-07-30 Thread webguy
And you can use a QoQ on the result Select * From mydirectoryresult Where dateLastModified = yourcondition WG -Original Message- From: Stephen Moretti [mailto:[EMAIL PROTECTED] Sent: 30 July 2003 11:43 To: CF-Talk Subject: Re: Finding recently modified files in subdirectories I'm

Re: [cftalk] calculating the date and time.

2003-07-30 Thread Allan Cliff
It is just a matter of paying with the individual time values to get what you need. The hour is always 59 minutes past the current hour minus 1. CFIF LookingAt IS Day CFSET Today = CreateDateTime(Year(Now()),Month(Now()),Day(Now()),Hour(DateAdd(H,-1,Now(,59,0) CFSET LastWeek =

RE: [cftalk] calculating the date and time.

2003-07-30 Thread Philip Arnold
not quite as I was expecting. Take the current time, its 11:55 am GMT, I want the result to be (29 Jul 2003 11:00 - 30 Jul 2003 10:59) Do you want it from the end of the previous hour? BTW, the reason I pointed you at DateAdd() and no further is that you should be able to work it out for

[cftalk] calculating the date and time.

2003-07-30 Thread ColdFusion Programmer
Thank you Allan for helping me out with this, I know this is stuff I should be doing, I just don't have the time to put my focus on this, am doing multiple tasks at the same time. Appreciate your comments Phillip but as I say having to work under a lot of stress Thanks guys It is just a

Re: Finding recently modified files in subdirectories

2003-07-30 Thread Stephen Moretti
Ok... How about CFExecute with dir /s /t:w /o:D /A:-D | FIND 30/07/2003 You probably going to need to tinker with this to get exactly what you want and you're still going to have to parse the output, but its pretty quick. Just remember that the number of subdirectory is going to be a

Re: Finding recently modified files in subdirectories

2003-07-30 Thread Michael T. Tangorre
Id say that a program on the server such as the one I mentioned is the way to go then... read the XML file which contains ONLY the files and dirs (files for now) that have been changed. If you know C# you could also have a DB entry made into a table for the file or dir name. you do have a lot

Re: Finding recently modified files in subdirectories

2003-07-30 Thread Calvin Ward
Mike, Thanks :) Sounds awefully close to what I need, but probably won't be soon enough :( Say, did you get my email btw? - Calvin - Original Message - From: Michael T. Tangorre [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 6:46 AM Subject: Re: Finding

Re: Finding recently modified files in subdirectories

2003-07-30 Thread Calvin Ward
Actually that's what I did to achieve my current speed. The problem is that Windows 2000 doesn't update modified dates on parent directories of a directory that has a file change event within it :( - Calvin - Original Message - From: webguy [EMAIL PROTECTED] To: CF-Talk [EMAIL

RE: Hiding Javascript Source

2003-07-30 Thread Brad Roberts
See what you guys think... any comments appreciated. http://www.becomenew.com/jsGuard/ -Brad -Original Message- From: Peter Harrison [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 3:26 AM To: CF-Talk Subject: RE: Hiding Javascript Source Yes, Brad, I'd like to see your

RE: Finding recently modified files in subdirectories

2003-07-30 Thread Craig Dudley
I have a java cfx which resurses through directories and returns a cf query object, it's very similar to cfdirectory apart from the recursion, you can have the code if you want, it shouldn't be that hard to get it to simply not return any files/directories that have not been modified since a date.

RE: Here's An Example: WAS [Hiding Javascript Source]

2003-07-30 Thread Brad Roberts
Just wanted to change the subject so you wouldn't think it's another you can't do it message. http://www.becomenew.com/jsGuard/ -Brad -Original Message- From: Brad Roberts [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 7:32 AM To: CF-Talk Subject: RE: Hiding Javascript

RE: Hiding Javascript Source

2003-07-30 Thread Ryan Emerle
Erm.. i just did a view source and copied the JS src URL to the browser and the JS was displayed. After i hit refresh on that page, though, it said Trying to steal my javascript source? Is that UUID supposed to expire after one request? -Ryan -Original Message- From: Brad Roberts

RE: Finding recently modified files in subdirectories

2003-07-30 Thread webguy
You could also use find as part of the www.cywgin.com packages find /c/dir -ctime -60 will give all file created in the last hour.. -mtime +60 will give you files modified in more than 60 minutes ago, etc. etc... Lots of other options there too. man find will give you the help. Its very fast

RE: Hiding Javascript Source

2003-07-30 Thread Brad Roberts
Yeah... you shouldn't have seen it the first time... I'll have to check into that. You actually saw the complete Javascript source? -Brad -Original Message- From: Ryan Emerle [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 8:00 AM To: CF-Talk Subject: RE: Hiding Javascript

RE: Hiding Javascript Source

2003-07-30 Thread Tim Blair
Is that UUID supposed to expire after one request? Looks like it does, but that doesn't take into account the browser's cached version: - //Presentational Slideshow Script- By Dynamic Drive //For full source code and more DHTML

Re: Hiding Javascript Source

2003-07-30 Thread Michael T. Tangorre
http://www.becomenew.com/jsGuard/myJavascript.cfm?id=C3536466-B1FB-4845-95F49CB07C3672EB click view source, and u have the source. :-) - Original Message - From: Brad Roberts [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 7:32 AM Subject: RE: Hiding

RE: Here's An Example: WAS [Hiding Javascript Source]

2003-07-30 Thread Philip Arnold
Just wanted to change the subject so you wouldn't think it's another you can't do it message. http://www.becomenew.com/jsGuard/ If you set your Check for newer versions of stored pages to Never, then you can view it It's stored in cache, so it won't try to re-get the page Nice idea though

RE: Hiding Javascript Source

2003-07-30 Thread Brad Roberts
I think your browser may have cached it... hmmm... I'll add some code to prevent the page from being cached. May not fully solve the problem, however -Brad -Original Message- From: Ryan Emerle [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 8:00 AM To: CF-Talk Subject:

RE: Hiding Javascript Source

2003-07-30 Thread Thane Sherrington
At 08:01 AM 07/30/03 -0400, Brad Roberts wrote: Yeah... you shouldn't have seen it the first time... I'll have to check into that. You actually saw the complete Javascript source? This is what I get: //Presentational Slideshow Script- By Dynamic Drive //For full source code and more DHTML

Re: Hiding Javascript Source

2003-07-30 Thread Thane Sherrington
At 08:07 AM 07/30/03 -0400, Michael T. Tangorre wrote: click view source, and u have the source. :-) Isn't javascript cached locally, so if I really wanted the source, I could find it in my cache? T Tired of your bookmarks/favourites being limited to one computer? Move them to the Net!

RE: Hiding Javascript Source

2003-07-30 Thread Brad Roberts
Yeap! There's the loophole. Is there a sure-fire way of preventing the browser from caching the page? -Brad -Original Message- From: Tim Blair [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 8:06 AM To: CF-Talk Subject: RE: Hiding Javascript Source Is that UUID

Re: Hiding Javascript Source

2003-07-30 Thread Michael T. Tangorre
you can not hide it. - Original Message - From: Brad Roberts [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 8:05 AM Subject: RE: Hiding Javascript Source I think your browser may have cached it... hmmm... I'll add some code to prevent the page from

RE: Hiding Javascript Source

2003-07-30 Thread Mike Townend
Copy of the file sitting in my Temporary Internet Files dir ;) -Original Message- From: Brad Roberts [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 12:32 To: CF-Talk Subject: RE: Hiding Javascript Source See what you guys think... any comments appreciated.

RE: Hiding Javascript Source

2003-07-30 Thread Neil Middleton
By the fact that the user has to download the script to their own machine there is absolutly nothing you can do to prevent a user from stealing the code. Neil Isn't javascript cached locally, so if I really wanted the source, I could find it in my cache?

RE: Hiding Javascript Source

2003-07-30 Thread Brad Roberts
Again, is there a way to prevent the cached file? -Brad -Original Message- From: Mike Townend [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 8:14 AM To: CF-Talk Subject: RE: Hiding Javascript Source Copy of the file sitting in my Temporary Internet Files dir ;)

RE: OT - IIS in 2000

2003-07-30 Thread Robert Orlini
Thanks. -Original Message- From: Dan Phillips (CFXHosting.com) [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 4:33 PM To: CF-Talk Subject: RE: OT - IIS in 2000 The exe is located at System32\Inetsrv\iis.msc Or Right Click on My Computer and choose Manage. Expand the Services

RE: Here's An Example: WAS [Hiding Javascript Source]

2003-07-30 Thread Peter Harrison
I downloaded the script with no problem, as follows: 1. Viewed the URL for your jsguard example. 2. Right click in page, choose View Source. 3. Copied the JS file into clipboard, i.e.: myJavascript.cfm?id=1BE8AD56-8DC2-4255-8AB5F51A580DD683 4. Paste clipboard to end of current URL, i.e.

Re: Here's An Example: WAS [Hiding Javascript Source]

2003-07-30 Thread Jochem van Dieten
Brad Roberts wrote: Just wanted to change the subject so you wouldn't think it's another you can't do it message. http://www.becomenew.com/jsGuard/ Doesn't work. In FireBird, I changed the URL in the address bar to view-source:http://www.becomenew.com/jsGuard/ which tells me the name of

RE: OT - IIS in 2000

2003-07-30 Thread Robert Orlini
No. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 4:26 PM To: CF-Talk Subject: RE: OT - IIS in 2000 Is it not under Administrative Tools (off the programs list) Regards, Eric Datastream Connexion -Original Message- From:

RE: Here's An Example: WAS [Hiding Javascript Source]

2003-07-30 Thread Brad Roberts
Well... if there's no way of preventing the browser from caching the page, then I guess it's definitely not fool proof. But heck, it sure beats the no right click method! -Brad -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 8:16 AM

RE: Here's An Example: WAS [Hiding Javascript Source]

2003-07-30 Thread Brad Roberts
The problem lies in the browser caching the page... anyway to get around that? You really can't rely on http_referrer... Here's what I'm doing (in a nutshell). Caller page: - cfset server.id = createUUID() script language=Javascritpt src=myJavascript.cfm?id=#id# Javascript

RE: Hiding Javascript Source

2003-07-30 Thread Peter Harrison
True. A quick sniff and wget with crafted headers will take care of anything. - Peter -Original Message- From: Neil Middleton [mailto:[EMAIL PROTECTED] Sent: 30 July 2003 13:15 To: CF-Talk Subject: RE: Hiding Javascript Source By the fact that the user has to download the script to

RE: Hiding Javascript Source

2003-07-30 Thread Philip Arnold
Yeap! There's the loophole. Is there a sure-fire way of preventing the browser from caching the page? Don't put it on the Internet g ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription:

RE: Hiding Javascript Source

2003-07-30 Thread Brad Roberts
You're right! It was worth a try... it's still better than the no right click deal. :) -Brad -Original Message- From: Neil Middleton [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 8:15 AM To: CF-Talk Subject: RE: Hiding Javascript Source By the fact that the user has

RE: Here's An Example: WAS [Hiding Javascript Source]

2003-07-30 Thread Philip Arnold
What does this one do to hide it? I think I missed the feature by mistake. Your browser was cacheing it Set your browser to Never cache pages and it works... Pity that most people won't have their browsers set to Never ~|

RE: Hiding Javascript Source

2003-07-30 Thread Brad Roberts
LOL... yeah, kindof like making your server hacker proof, unplug it! Thanks for all the tips... it seemed like a good thought when I thought of it... and don't ask where I was when I thought of it :) \ \. |`\_\ |` || __--__ |

Re: Here's An Example: WAS [Hiding Javascript Source]

2003-07-30 Thread Jochem van Dieten
Brad Roberts wrote: The problem lies in the browser caching the page... anyway to get around that? You really can't rely on http_referrer... Here's what I'm doing (in a nutshell). Caller page: - cfset server.id = createUUID() script language=Javascritpt

Re: Here's An Example: WAS [Hiding Javascript Source]

2003-07-30 Thread Michael T. Tangorre
wow thats a lot of work to hide JS. Brad.. what is in your JS that you want to hide it that bad? - Original Message - From: Jochem van Dieten [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 8:41 AM Subject: Re: Here's An Example: WAS [Hiding Javascript

OT: Crystal Reports

2003-07-30 Thread Josh Remus
I'm making my first attempt at building a crystal report for contract printing from our internal web site. I'm having a little difficulty with a couple of things, so I was wondering: A. Are there any good web/mailing list resources for crystal reports? B. Are there any good web/mailing

Re: Here's An Example: WAS [Hiding Javascript Source]

2003-07-30 Thread Jochem van Dieten
Michael T. Tangorre wrote: thats a lot of work to hide JS. I think the amount of work really isn't that bad. For instance, if we take XOR encryption (not really very strong) and use Google we quickly find sourcecode in Javascript: http://www.eng.uwaterloo.ca/~ejones/software/xorcrypt12.js I

Re: Here's An Example: WAS [Hiding Javascript Source]

2003-07-30 Thread Doug White
Anyone ever consider doing it al server-side - using CFScript and NOCACHE? == 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

Re: Here's An Example: WAS [Hiding Javascript Source]

2003-07-30 Thread Michael T. Tangorre
agreed. - Original Message - From: Jochem van Dieten [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 9:02 AM Subject: Re: Here's An Example: WAS [Hiding Javascript Source] Michael T. Tangorre wrote: thats a lot of work to hide JS. I think the

Re: Here's An Example: WAS [Hiding Javascript Source]

2003-07-30 Thread Jochem van Dieten
Doug White wrote: Anyone ever consider doing it al server-side - using CFScript and NOCACHE? How do you intent to hide javascript server-side? It has to be sent to the client to be executed. Jochem ~| Archives:

RE: re: Mach-II

2003-07-30 Thread Mark Stewart
I wouldn't say there's a potential to change, I would say it *will* change, eventually. That's just the nature of what we do. The great things we build today will be obsolete eventually. Look at it as, does this framework (fusebox, struts, whatever) help me today build better applications? Just

RE: Dreamweaver MX RDS Backward-Compatibility

2003-07-30 Thread Mark Stewart
What about ftp? -Original Message- From: David Delbridge [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 6:23 PM To: CF-Talk Subject: Dreamweaver MX RDS Backward-Compatibility Hi all, Is Dreamweaver MX backward-compatible with CF 4.5? A user of mine is reporting failure

RE: Qforms N-select related?

2003-07-30 Thread Ihrig Paul E Cont 88 ABW/EM
i would like to see a working cf/database example of this too! i cant hit the happy hacker site form work.. the site is flagged as extreme? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription:

RE: Dreamweaver MX RDS Backward-Compatibility

2003-07-30 Thread Dan Phillips \(CFXHosting.com\)
I've run into the same issue on 4.5, 5.0 and MX. Have yet hear a solution to it. I may just end up opening up a trouble ticket with MM Dan Phillips www.CFXHosting.com 1-866-239-4678 [EMAIL PROTECTED] -Original Message- From: Mark Stewart [mailto:[EMAIL PROTECTED] Sent: Wednesday, July

cfobjectcache for cf5?

2003-07-30 Thread Tyler Silcox
Is there anyway to programically clear the application/server's cache for CF5? I'd like to set up a url to hit to clear out my queries whenever the client makes an update...TIA- Tyler ~| Archives:

RE: cfobjectcache for cf5?

2003-07-30 Thread Raymond Camden
If you are using cached queries, then cfobjectcache will do it, just remember it's unsupported. If you are storing the query in application.whatever, then you can simply do structClear(application,whatever). === Raymond

RE: cfobjectcache for cf5?

2003-07-30 Thread Heald, Tim
structDelete? Depends on the scope in 5. Some were structs and some weren't if I remember correctly. Timothy Heald Information Systems Specialist Overseas Security Advisory Council U.S. Department of State 571.345.2235 -Original Message- From: Tyler Silcox [mailto:[EMAIL PROTECTED]

RE: Here's An Example: WAS [Hiding Javascript Source]

2003-07-30 Thread Dan G. Switzer, II
You can also open any JS debugger and view the code... -Dan -Original Message- From: Philip Arnold [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 8:09 AM To: CF-Talk Subject: RE: Here's An Example: WAS [Hiding Javascript Source] Just wanted to change the subject so you

Re: Hiding Javascript Source

2003-07-30 Thread Charlie Griefer
a friend of mine put this together. i've not been able to crack it. since the discussion at hand is hiding source code (which, for the record, i'm against...just not worth the effort to hide my javascript), I figured some might enjoy it. http://www.lol.dk/quest/default.asp?id=556872444 charlie

RE: Hiding Javascript Source

2003-07-30 Thread Hugo Ahlenius
One doesn't really need to sniff or craft the headers: this worked fine wget.exe -r -l 1 http://www.becomenew.com/jsGuard/ (doesn't matter if there is anything preventing caching or not) - Hugo Ahlenius E-Mail: [EMAIL

Pollster Drk4 (solved...on win2k box anyway...)

2003-07-30 Thread Critz
I was able to fix my login problem using Raymond's suggestion I did have to go thru the code and append dev. to all of the cfc calls, as it is running on a subdomain. now to get it working on my standalone cfmx. Crit --- [This E-mail scanned for viruses by Declude Virus]

RE: Finding recently modified files in subdirectories

2003-07-30 Thread Hugo Ahlenius
If speed is an issue: create a template that gets executed at a convient time (every 30 mins?) and CFDirectory travereses the tree and adds the name/path of modified files to a sessionvar|query|db|xml|text-file (and also make it possible to trigger that on request)

RE: Hiding Javascript Source

2003-07-30 Thread Dan G. Switzer, II
Charlie, a friend of mine put this together. i've not been able to crack it. since the discussion at hand is hiding source code (which, for the record, i'm against...just not worth the effort to hide my javascript), I figured some might enjoy it.

RE: cfobjectcache for cf5?

2003-07-30 Thread Bryan F. Hogan
Unsupported? -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 10:07 AM To: CF-Talk Subject: RE: cfobjectcache for cf5? If you are using cached queries, then cfobjectcache will do it, just remember it's unsupported. If you are storing the

RE: cfobjectcache for cf5?

2003-07-30 Thread Raymond Camden
I believe it is an unofficial tag. It was hidden in earlier versions and wasn't in the docs till cf5 or mx, I can't remember which. Just remember it clears _all_ queries, if you want to clear just that query, simply rerun with a timeout of 0, just be sure your SQL is _exactly_ the same, including

RE: cfobjectcache for cf5?

2003-07-30 Thread Tyler Silcox
Yep, its queries that I'm caching...so it was there, but unsupported in 5? Does the tag behave the same way in CF5 as it does in CFMX? From what I can tell, the tag clears all the cached queries for the whole server, is this the proper behavior? Tyler -Original Message- From: Raymond

ColdFusion Setting Problem

2003-07-30 Thread chad
Has anyone ever come across a setting with coldfusion that causes sites to prompt a username and password request just to view the website? My static sites (not using coldfusion) are displayed fine but any site using coldfusion causes this username and password prompt. Need help ASAP. Thanks

Exception in jrunx.resource.ResourceURLClassLoader

2003-07-30 Thread Oliver Tupman
Hi all, Got a weird one: a CFM file called test.cfm gives the message: Error casting an object of type jrunx.resource.ResourceURLClassLoader to an incompatible type. This usually indicates a programming error in Java, although it could also mean you have tried to use a foreign object in a

RE: cfobjectcache for cf5?

2003-07-30 Thread Raymond Camden
Yea, it nukes everything. Again, if this is bad, just write code to clear just the cache. If you are using MX, this would be very easy in a CFC. === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com)

RE: Finding recently modified files in subdirectories

2003-07-30 Thread S . Isaac Dealey
I suppose you could potentially use cfexecute to run a dos dir /s ... unfortunately the output isn't structured, so then you'd be parsing a text file for the content and that's gonna slow you down again... I don't _think_ the dos comman includes a means of sorting or filtering by modified date,

RE: re: Mach-II

2003-07-30 Thread S . Isaac Dealey
That was basically what I was getting at... My general impression of it was that I don't know how possible it is to predict the potential longevity of any given piece of code, so that's why I found it strange to hear it described as being for consistency across multiple versions. I could be

RE: Mach II

2003-07-30 Thread Haggerty, Mike
Hal - I downloaded MachII and have so far been very impressed with what I have seen. I do have a question about views. Currently, MachII does not support a common layout feature or the ability to nest layouts such as developers have seen in Fusebox. Is there any plan to support this within the

Odd permissions on CFMX-created file

2003-07-30 Thread Jamie Jackson
[CFMX/J2EE on Linux] When doing a cffile create from an app, I get a file with the following permissions: -rw-r--r-- I want to be able to change this to at least -rw-rw-r-- , so that group users can modify the file, but I don't know how to change it. Is it an XML mod, a sandbox thing, an OS

CFMLInterpreterImp::writeEmergencyMessage

2003-07-30 Thread Kola Oyedeji
Hi Occasionally we have an application which every once in a while throws the following error: CFMLInterpreterImp::writeEmergencyMessage It throws it at random times and appears not to be related to any specific code. There is a technote which states that this message can occur as a result of a

CF5 and java 1.4.1

2003-07-30 Thread Robert Shaw
Hi Can anyone tell me if the latest java plugin 1.4.1 works (or is supported) with ColdFusion 5.0? Or does CF 5.0 only work with 1.3.1._01 ? Also, I just applied this cfgrid patch: http://www.macromedia.com/v1/Handlers/index.cfm?ID=23150Method=Full. If I use 1.4.1 with this patch, will it

Re: Odd permissions on CFMX-created file

2003-07-30 Thread Dave Carabetta
[CFMX/J2EE on Linux] When doing a cffile create from an app, I get a file with the following permissions: -rw-r--r-- I want to be able to change this to at least -rw-rw-r-- , so that group users can modify the file, but I don't know how to change it. Is it an XML mod, a sandbox thing, an OS

Re: Finding recently modified files in subdirectories

2003-07-30 Thread Pablo Varando
you could use this: http://tutorial160.easycfm.com but instead of looking for an extension, you could look for lastmodifieddate ;) Pablo - Original Message - From: S. Isaac Dealey [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 10:10 AM Subject: RE:

Re: Odd permissions on CFMX-created file

2003-07-30 Thread Jamie Jackson
On Wed, 30 Jul 2003 11:34:49 -0400, in cf-talk you wrote: [CFMX/J2EE on Linux] When doing a cffile create from an app, I get a file with the following permissions: -rw-r--r-- I want to be able to change this to at least -rw-rw-r-- , so that group users can modify the file, but I don't know how

RE: Mach II

2003-07-30 Thread Stacy Young
I have to agree. My 1st impression: wtf? My 2nd impression: Ah, ok that makes a lot of sense ;) -Original Message- From: Sean A Corfield [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 1:39 AM To: CF-Talk Subject: Re: Mach II On Tuesday, Jul 29, 2003, at 10:17 US/Pacific, Ben

Displaying line breaks in text area

2003-07-30 Thread Stocke, Michael (M.J.)
Good afternoon group. I am new to this group, and although I have some programming experience, I am new to Cold Fusion. Here is my situation: I have a user enter information in a textarea in a form. That text string is stored in a session variable and then displayed later on anther page in

RE: Mach II

2003-07-30 Thread Stacy Young
As a side note...anyone looking to get into RIA development at some point will find a similar approach by many Flash guru's...there will be a lot easier to wrap your head around the concepts. Stace -Original Message- From: Sean A Corfield [mailto:[EMAIL PROTECTED] Sent: Wednesday, July

Caching until updated

2003-07-30 Thread Cedric Villat
I'm sure there is a way to do this, I just can't seem to think through it. Basically, I have a table which isn't going to change much. Instead of pulling this information from the database, I'd like to cache the query in the Application scope. But when a record IS added to that table, I would like

RE: Displaying line breaks in text area

2003-07-30 Thread Bryan F. Hogan
cfset Session.myString1='abcdefg' cfset Session.myString2='abcdefg' cfset Session.myString3='abcdefg' cfoutput textareacfloop from=1 to=3 index=idx#Session['myString#idx#']#cfif idx neq 3#chr(10)##chr(13)#/cfif/cfloop/textarea /cfoutput This works on CFMX. Note: Everything inside the

RE: ColdFusion Setting Problem

2003-07-30 Thread Jim Curran
Sounds like you have a permissions problem... Make sure that: IUSR account has script rights to the directory containing your website. The CF logon account has read/write rights to the directory containing your website. IIS is configured to allow Script access to the site. - j james curran

udf for next working days

2003-07-30 Thread David Collie (itndac)
Anybody point me quickly in the direction of a script that will always be the next _working_ day date (ie if i pass it a date that is a Saturday... it will return the Monday's date) can do logic myself.. but got a demo pretty shortly! tia DC

Dreamweaver MX RDS Backward-Compatibility

2003-07-30 Thread Mike Griffith
What about ftp? Greetings all.. I am the client Dave is talking about. We are using FTP to send files back and forth. We only need RDS access so that we can use Dreamweaver's built-in database connectivity. While we develop on MacOS X, I have tried setting up the account on a PC with the

RE: Caching until updated

2003-07-30 Thread Bryan F. Hogan
cffunction name=getEntries returntype=query cfargument name=updateCache required=true default=1 cfif not IsDefined('Application.myEntries') or Arguments.updateCache cfquery name=getEntries SELECT * FROM

RE: udf for next working days

2003-07-30 Thread Kola Oyedeji
I don't have one to hand but check out www.cflib.org There should be something close to this you can use or amend. Kola -Original Message- From: David Collie (itndac) [mailto:[EMAIL PROTECTED] Sent: 30 July 2003 17:43 To: CF-Talk Subject: udf for next working days Anybody point

Resume Posting Application

2003-07-30 Thread jmauney
Hello all... Does anyone know of any free (or very cheap) CF applications that would allow users to post a resume to a website and list job openings? One of our radio shows wants to offer this as part of a feature they do on air. I need it to be simple and easy to set up. Thanks, Jonathan

RE: Caching until updated

2003-07-30 Thread Raymond Camden
I'd watch out using local variable name w/ the same name as the method. You should probably use another name and var scope it. Also, in general, I wouldn't directly access the application scope from within the CFC. What if you want to use the server scope instead? It would make more sense to just

Caching until updated

2003-07-30 Thread Cedric Villat
Bryan, Thanks. Appears to do exactly what I need. Thanks :) Cedric cffunction name=getEntries returntype=query cfargument name=updateCache required=true default=1 cfif not IsDefined('Application.myEntries') or Arguments.updateCache cfquery name=getEntries

RE: Caching until updated

2003-07-30 Thread John Wilker
You could cache the query using CachedAfter=some date like today or something so that after the first load it is cached. Then on your insert run the same query with cachedwithin=#CreateTimeSpan(0,0,0,-1)# THat should reset the cache. -Original Message- From: Cedric Villat [mailto:[EMAIL

  1   2   3   >