Re: (Admin) Blogging CF-Talk

2006-05-11 Thread Tony
then don't complain about money EVER again :) ray camden is VERY open about his clicks, and his wishlist, and compensation. i know you are VERY into the community aspect of it... but dog, the money is nice. it will put little hinda tovah (sp? out of memory) through college a whole lot easier!!!

Re: (Admin) Blogging CF-Talk

2006-05-11 Thread Michael Dinowitz
Given a choice between making someone go through 3 steps to get to content or 1, I'd rather go for the 1. Yes, the 3 has a greater chance of them seeing an ad they may want, but that ad will distract them from the content and that's the main focus. And it shows up in my logs as a hit from a spe

Re: (Admin) Blogging CF-Talk

2006-05-11 Thread Tony
color me crazy, but wouldnt someone doing a search (1 page load), and then loading the search result page (1 page load), and then clicking on the link to get to the thread (1 page load) produce three of those for you, where clicking on a link in a blog would eliminate your chance of 3 hits, and low

(Admin) Blogging CF-Talk

2006-05-11 Thread Michael Dinowitz
While I appreciate people blogging about specific topics and discussions that come up on CF-Talk, I'd appreciate it if the bloggers would put a link to the discussion along with their analysis. Not everyone reads every CF-Talk post and when something interesting is mentioned on a blog, I see a b

Re: Session Variables

2006-05-11 Thread James Holmes
This will only work if you pass the session ids in all of your URLs. The cookies set by CF won't carry from one domain to the other. On 5/12/06, Jacob <[EMAIL PROTECTED]> wrote: > So.. if I have the CFAPPLICATION the same name for www.domain.com and > www.example.com, the both domain will be able

Re: Session Variables

2006-05-11 Thread Tony Hicks
Late entrance in, but I've found much faster performance, and no multi-server issues with client variables... So much better performance that I'm wondering whether the most recently added server was necessary.. On 5/11/06, Dawson, Michael <[EMAIL PROTECTED]> wrote: > > Yeppers. You should be good

Re: JRun hang, how to detect and restart service automatically

2006-05-11 Thread Douglas Knudsen
As Neil mentioned, you could write some script or Java service to monitor and play the needed net stat commands. A better option is to track down why this is occuring. There are several threads in the archives here on tuning this sort of issue. Also good to check out blogs, in no particular orde

Re: Barcode Generation

2006-05-11 Thread James Holmes
This relies on the client having the right font, which may or may not be a problem. We implemented Barbeque (a free, open source Java app) for this and it works very well. http://sourceforge.net/projects/barbecue/ On 5/12/06, Michael Traher <[EMAIL PROTECTED]> wrote: > Probably an over-simplific

Re: Barcode Generation

2006-05-11 Thread Michael Traher
Probably an over-simplification, but certain barcodes can be generated just by fonts. i.e. you output 12345678 but print that with a barcode font and hey presto. This is the simplest and cheapest way to go about it. On 5/11/06, David Milhoan <[EMAIL PROTECTED]> wrote: > > Has anyone generated ba

Looking for some code

2006-05-11 Thread Matt Williams
So I've been slapped with a project that has quite the extensive admin and quite the short timeframe. Instead of reinventing the wheel, I'm going to see who has some good code I could use for various parts of this. I do have a budget and would be willing to pay for some existing code, if there aren

RE: Timing Out Work Around

2006-05-11 Thread Munson, Jacob
Good question, but I don't see that you can disable the cfsetting tag when using sandbox security. There might be some other way to do it. But that does seem like it could cause a host problems. > -Original Message- > From: Josh Nathanson [mailto:[EMAIL PROTECTED] > Sent: Thursday, May

RE: Session Variables

2006-05-11 Thread Dawson, Michael
Yeppers. You should be good to go. As long as you are... using CF Pro and the domains/sites are on the same server (single-instance). or using CF Ent and the domains/sites are in the same instance (multi-instance). M!ke -Original Message- From: Jacob [mailto:[EMAIL PROTECTED] Sent:

RE: Timing Out Work Around

2006-05-11 Thread Ian Skinner
Cool, that's good to know. Doesn't that introduce an issue though, if someone is on a shared server and uses cfsetting requesttimeout to override the cf admin setting, they could bog down the server quite badly, and the server admin wouldn't have control over that? Just curious. Not 100% sur

Re: Timing Out Work Around

2006-05-11 Thread Josh Nathanson
Cool, that's good to know. Doesn't that introduce an issue though, if someone is on a shared server and uses cfsetting requesttimeout to override the cf admin setting, they could bog down the server quite badly, and the server admin wouldn't have control over that? Just curious. >> > > Will

RE: Timing Out Work Around

2006-05-11 Thread Ian Skinner
> Will that override the CF Administrator setting though? If Randy doesn't have access to cf admin, don't know if that would help. - -Josh Yes it will. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko |

RE: Timing Out Work Around

2006-05-11 Thread Munson, Jacob
> > > > Will that override the CF Administrator setting though? If > Randy doesn't > have access to cf admin, don't know if that would help. Yes, that overrides the cf admin setting, but only for this page. That's what it was built for. :) This transmission may contain information that is p

RE: JRun hang, how to detect and restart service automatically

2006-05-11 Thread Stephen Cassady
Hey Neil - It's definitely JRUN - IIS will still return pages. For ColdFusion sites it says the JRUN Service is (forget the exact wording) unavailable or inaccessible at the time, maybe "can not be reached". Restarting the JRun service manually will restart the availability of the CF sites (they c

Re: How do I detect day lights savings?

2006-05-11 Thread Jim McAtee
This will tell you if a date/time is currently in DST, assuming it's in an area with the most common US DST rules. // // Determine if a date/time falls within Daylight Savings Time period // - 2AM on the first Sunday in April to 2AM on the last Sunday in October // function IsDST(dt) { var

Re: Timing Out Work Around

2006-05-11 Thread Josh Nathanson
> Will that override the CF Administrator setting though? If Randy doesn't have access to cf admin, don't know if that would help. - -Josh - Original Message - From: "Jacob" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Thursday, May 11, 2006 1:49 PM Subject: RE: Timing Out Work Around

Re: Anyone done this before?

2006-05-11 Thread rhymes with 'loud'
>We want to start auditing the database changes made in our home grown >CMS app. Anyone on here done this or have suggestions on where to >start with some thing like this? > >-- >Phil Hi Phil. I work with a homegrown audit system that does the job pretty well. There exists a single table (Audit

RE: Timing Out Work Around

2006-05-11 Thread Jacob
At the top of the template, add: X = seconds before timeout -Original Message- From: Randy Messer [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 1:30 PM To: CF-Talk Subject: Timing Out Work Around Client uploads Access Db, then script runs a qry to grab zip, loop thru SQL to

RE: Timing Out Work Around

2006-05-11 Thread Munson, Jacob
If it's ColdFusion that is timing out, you can increase the timeout just for this process. Not the best answer, but it's an effective bandaid. :) > -Original Message- > From: Randy Messer [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 11, 2006 2:30 PM > > Client uploads Access Db, the

RE: DAO CFC and NULL values

2006-05-11 Thread Munson, Jacob
This is a good point, people use null way too much. Check out this article to see the problems of using null for blank values instead of known missing values: http://www.sqlservercentral.com/columnists/mcoles/fourrulesfornulls.asp > -Original Message- > From: Ben Nadel [mailto:[EMAIL PROT

Timing Out Work Around

2006-05-11 Thread Randy Messer
Client uploads Access Db, then script runs a qry to grab zip, loop thru SQL to find assoc. Dealer, it emails the dealer and then updates the Access. Problem is it times out. I'm looping 50 records at a time and thought this would cure it, but doesn't. The loops are using the original qry - woul

Re: DAO CFC and NULL values

2006-05-11 Thread Ryan Guill
So then you write your own method called isValueNumeric() that will return true for an empty string. you will then just need to set the type to any and then check on the inside of your methods. Sucks, but its about the only way I know... at the end of the day its going to be some sort of logic...

RE: An issue with CFC output

2006-05-11 Thread Ian Skinner
Thanks I thought that the default was false. if output="false" is not in the function tag the extra charaters show up. I just had: IIRC there was once an issue where if there is no output parameter, one got behavior that was neither true or false, but something sort of in between. This ma

RE: Barcode Generation

2006-05-11 Thread Ian Skinner
Has anyone generated barcodes with ColdFusion? I have never needed to generate barcodes with ColdFusion, but we use them extensively so as a hedge against the day when I might, I keep this product bookmarked. http://www.fusionzone.com/applications/barcode/overview.cfm -- Ian Ski

RE: DAO CFC and NULL values

2006-05-11 Thread Ben Nadel
In that case you should probably modify your SQL so that it cannot return a NULL, but instead a default value: SELECT id, ISNULL( cost, 0 ) AS cost FROM product Now, you know that no matter what, your SQL will return a valid number... I would think that a NULL value would require chaning t

Re: Barcode Generation

2006-05-11 Thread Nick Tong - TalkWebSolutions.co.uk
http://www.fusionzone.com/applications/barcode/tour.cfm On 11/05/06, David Milhoan <[EMAIL PROTECTED]> wrote: > > Has anyone generated barcodes with Coldfusion? > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:2

Re: DAO CFC and NULL values

2006-05-11 Thread Cutter (CFRelated)
That's cool, unless the argument of your set function is numeric (as one of mine is), in which case I get an error "The argument [arg] passed to function Set[arg]() is not of type numeric." I could set the argument's type attribute to 'any', but then there's no catch for the wrong data type bei

RE: Session Variables

2006-05-11 Thread Andy Matthews
Client variables should be able to be accessed, but they can only store simple variable types. No Structures, arrays, etc. -Original Message- From: Jacob [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 2:52 PM To: CF-Talk Subject: RE: Session Variables How about using client var

RE: An issue with CFC output

2006-05-11 Thread Andy Matthews
What about Trimming the result? #Trim(Myobject.myfunction(oldstring))# What happens when you do this:? [#Myobject.myfunction(oldstring)#] -Original Message- From: Bruce, Rodney S C-E LCMC HQISEC/Signal Solutions [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 2:44 PM To: CF-Ta

RE: Barcode Generation

2006-05-11 Thread Snake
Yea, there is a tag that does it actually, might even be on cfdev.com If not, google it -Original Message- From: David Milhoan [mailto:[EMAIL PROTECTED] Sent: 11 May 2006 21:07 To: CF-Talk Subject: Barcode Generation Has anyone generated barcodes with Coldfusion?

Re: An issue with CFC output

2006-05-11 Thread Paul Kenney
If you do not specify the output attribute, it will behave like a normal block of cf code that is not between tags and generate all sorts of white space. If you specify output="true", the cffunction tags will act just like tags and evaluate any text that is between #s. If you specify output="fals

RE: Session Variables

2006-05-11 Thread Jacob
So.. if I have the CFAPPLICATION the same name for www.domain.com and www.example.com, the both domain will be able to read the session variable? All I need to know.. I can go from there. I just wanted to know if it was possible before going down a dead end. Thanks Jacob -Original Message

Barcode Generation

2006-05-11 Thread David Milhoan
Has anyone generated barcodes with Coldfusion? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240272 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/

RE: DAO CFC and NULL values

2006-05-11 Thread Ben Nadel
I believe that CF will treat SQL nulls as empty strings. ... Ben Nadel Web Developer Nylon Technology 350 7th Avenue Floor 10 New York, NY 10001 212.691.1134 212.691.3477 fax www.nylontechnology.com "You know, like nunchuck skills, bowhunting skills, computer hacking skill

RE: An issue with CFC output

2006-05-11 Thread Bruce, Rodney S C-E LCMC HQISEC/Signal Solutions
Thanks I thought that the default was false. if output="false" is not in the function tag the extra charaters show up. I just had: -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 12:52 PM To: CF-Talk Subject: RE: An issue with CFC output

RE: Session Variables

2006-05-11 Thread Snake
It works, try it. -Original Message- From: Jacob [mailto:[EMAIL PROTECTED] Sent: 11 May 2006 20:48 To: CF-Talk Subject: RE: Session Variables Hmm... -Original Message- From: Snake [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 12:20 PM To: CF-Talk Subject: RE: Session V

DAO CFC and NULL values

2006-05-11 Thread Cutter (CFRelated)
I've seen the following code used in 'read' methods of a DAO CFC: What do you do if the value returned for that column is sql NULL? Cutter http://blog.cutterscrossing.com ~~~

RE: Session Variables

2006-05-11 Thread Dawson, Michael
Use the same CFAPPLICATION name. -Original Message- From: Jacob [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 2:48 PM To: CF-Talk Subject: RE: Session Variables Using Standard. The domains are on the same server, with many servers on the load balancer. But I do have sticky se

RE: An issue with CFC output

2006-05-11 Thread Ian Skinner
Without seeing more of your CFC code, I would hazard a guess that you need to add output="false" to your function declarations. Otherwise white space generated in the function can be passed onto the calling page. HTH If not, give us a better example of your CFC and relevant function. ---

RE: Session Variables

2006-05-11 Thread Jacob
How about using client variables? Or is that a wash? -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 12:04 PM To: CF-Talk Subject: RE: Session Variables If you've using Enterprise edition CF server then you've got access to JSession IDs which

RE: Session Variables

2006-05-11 Thread Jacob
Hmm... -Original Message- From: Snake [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 12:20 PM To: CF-Talk Subject: RE: Session Variables You can't do it directly, but you can actually access all session for every site on the server by taking advantage of CF's security holes. See

RE: Session Variables

2006-05-11 Thread Jacob
Using Standard. The domains are on the same server, with many servers on the load balancer. But I do have sticky set for 60 minutes. -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 12:04 PM To: CF-Talk Subject: RE: Session Variables If yo

An issue with CFC output

2006-05-11 Thread Bruce, Rodney S C-E LCMC HQISEC/Signal Solutions
Hi all Hope I can explain this. Has anyone encountered an issue with outputing a returned string from a CFC method? I have a CFC that has a function that returns a string. The function use to just be on a .cfm page that I . We have just recently upgraded to CFMX 7, so I wanted to get my functio

RE: Session Variables

2006-05-11 Thread Snake
You can't do it directly, but you can actually access all session for every site on the server by taking advantage of CF's security holes. See this for an example. http://russ.michaels.me.uk/index.cfm/2005/11/25/JRUN-Creeping-Death russ -Original Message- From: Nick Tong - TalkWebSoluti

Re: Session Variables

2006-05-11 Thread Nick Tong - TalkWebSolutions.co.uk
domains not machines - doh! -- Nick Tong web: http://talkwebsolutions.co.uk blog: http://succor.co.uk shorturls: http://wapurl.co.uk ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240260 Archives: http://www.house

Re: Session Variables

2006-05-11 Thread Nick Tong - TalkWebSolutions.co.uk
Not sure but if the machines are on the same server maybe you could use the server scope? As i say i'm not sure though? On 11/05/06, Ian Skinner <[EMAIL PROTECTED]> wrote: > > Can I access session variables across multiple domains? > > For example.. if a customer logs into www.domain.com and I cr

RE: Session Variables

2006-05-11 Thread Andy Matthews
If you've using Enterprise edition CF server then you've got access to JSession IDs which allow you to share session variables across clustered servers. Of course, that only helps YOU if both domains in question are on the same cluster. If you're asking though if Amazon.com can access ebay.com ses

Re: How do I detect day lights savings?

2006-05-11 Thread Tony
:) never is so fun to say tho' tw On 5/11/06, Paul Hastings <[EMAIL PROTECTED]> wrote: > Tony wrote: > > it works here in america, where the application i use it for will > > ALWAYS reside :) > > in the i18n world you just violated a big honking taboo, "never say > never". now you're screwed. pro

RE: Anyone done this before?

2006-05-11 Thread Jeff Garza
Just remember that if you are using triggers on SQL Server, be careful with your use of @@IDENTITY to return the last inserted ID... @@IDENTITY can and will pick up the ID from your trigger instead of the initiating transaction. Use SCOPE_IDENTITY () instead. Jeff -Original Message- Fro

Re: Regex Dash

2006-05-11 Thread Jerry Johnson
There is a "remove anything that is not one of these characters" That is what the ^ is for in the beginning. If you want a - to stay, add it in as the very last character (after the ()/ and before the ]) On 5/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Is there a remove dash(-) eleme

RE: Session Variables

2006-05-11 Thread Ian Skinner
Can I access session variables across multiple domains? For example.. if a customer logs into www.domain.com and I create a session variable, can the domain www.example.com access that variable? Hope this makes sense. This will actually be the first time I will use session variables... should

RE: Anyone done this before?

2006-05-11 Thread Munson, Jacob
You can do this with Transact SQL as well (SQL Server). I've setup triggers to monitor specific fields, or you can just store a record for any change on a table. Email me off-line if you'd like some code examples. > -Original Message- > From: Turetsky, Seth [mailto:[EMAIL PROTECTED] > S

Session Variables

2006-05-11 Thread Jacob
Can I access session variables across multiple domains? For example.. if a customer logs into www.domain.com and I create a session variable, can the domain www.example.com access that variable? Hope this makes sense. This will actually be the first time I will use session variables... should be

Re: How do I detect day lights savings?

2006-05-11 Thread Paul Hastings
Tony wrote: > it works here in america, where the application i use it for will > ALWAYS reside :) in the i18n world you just violated a big honking taboo, "never say never". now you're screwed. probably have to make it i18n first thing tomorrow ;-) > and yeah, congress... ill change it when it

Re: How do I detect day lights savings?

2006-05-11 Thread Tony
it works here in america, where the application i use it for will ALWAYS reside :) and yeah, congress... ill change it when it comes to that. so no, its not i18n friendly, but i bet you could help me get it there! tw On 5/11/06, Paul Hastings <[EMAIL PROTECTED]> wrote: > Tony wrote: > > >

Re: embedding flash into Secure pages

2006-05-11 Thread Crow T. Robot
Well, that is pretty easy. Duh. Thx. Jim wrote: > we have an ssl site with flash on, we just used: > > https://www.macromedia.com/go/getflashplayer > https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab > > > -Original Message- > From: Ray Champagne [mailto:[EMAIL PROT

Re: embedding flash into Secure pages

2006-05-11 Thread Patrick Forsythe
change em to https > >I assume that the "pluginspage" and "codebase" attributes are what is >causing the warnings, because if I comment this block of code out, the >warnings stop. Any ideas on how to fix this? > > -- Patrick Forsythe Tech Support Smallville Communications http://www.toto.n

Re: embedding flash into Secure pages

2006-05-11 Thread Tony
ray ray, call me dog, i got a script for ya to help make this work. tw On 5/11/06, Ray Champagne <[EMAIL PROTECTED]> wrote: > I have a flash header that I need to embed into a page that is going to > be under a secure cert. The problem that I'm having is that some of the > attributes of the obje

Re: How do I detect day lights savings?

2006-05-11 Thread Paul Hastings
Tony wrote: >"04/01/#dateFormat(arguments.dateFeed,'')#"> >"11/01/#dateFormat(arguments.dateFeed,'')#"> won't work in oz, etc. what happens when congress changes DST again? ~~

RE: embedding flash into Secure pages

2006-05-11 Thread Jim
we have an ssl site with flash on, we just used: https://www.macromedia.com/go/getflashplayer https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: 11 May 2006 18:38 To: CF-Talk Subject: embedding flash

embedding flash into Secure pages

2006-05-11 Thread Ray Champagne
I have a flash header that I need to embed into a page that is going to be under a secure cert. The problem that I'm having is that some of the attributes of the object tag refer to non-secure pages, which is throwing security warnings. Here's the embedded code: http://fpdownload.macromedia.c

Re: How do I detect day lights savings?

2006-05-11 Thread Tony
here is what i came up with. may have been an adaption of someone elses something, but its what i use

RE: Anyone done this before?

2006-05-11 Thread Ian Skinner
Well u don't want to slow down the db by keep all the old data in there, which will have to be searched through in your queries. So prob best to copy out the data to another table or even another DB when it is changed. If you have a sophisticated enough database, this can be done inside the da

RE: Take on eBay!!

2006-05-11 Thread Munson, Jacob
I saw a thread about this recently on this list, you might hit the archives. > -Original Message- > From: Nick Tong - TalkWebSolutions.co.uk [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 11, 2006 10:01 AM > > forgot to mention i've looked at > http://www.cfmsource.com/pages/cfauction.

RE: Anyone done this before?

2006-05-11 Thread Turetsky, Seth
What database? On important apps, we have pl/sql triggers that store all of the changes in log tables Basically, the table is just the field name, old value, new value and who changed it -Original Message- From: Phill B [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 12:42 PM To:

Re: How do I detect day lights savings?

2006-05-11 Thread Aaron Roberson
I just downloaded and am picking it apart - thanks! On 5/11/06, Paul Hastings <[EMAIL PROTECTED]> wrote: > Aaron Roberson wrote: > > I have a banner that displays on the site every Wednesday at 2:00 > > p.m.. However, I am afraid that when daylight savings time ends in > > October I am going to ha

RE: Anyone done this before?

2006-05-11 Thread Snake
Well u don't want to slow down the db by keep all the old data in there, which will have to be searched through in your queries. So prob best to copy out the data to another table or even another DB when it is changed. -Original Message- From: Phill B [mailto:[EMAIL PROTECTED] Sent: 11 M

RE: How do I detect day lights savings?

2006-05-11 Thread Dawson, Michael
My first guess would be "no". getTimeZoneInfo() will only pull the "time zone" for the server on which it us called. You would need to do some date math and then you may be back to the original problem where you began. If I can think of anything, I'll post back. M!ke -Original Message

RE: Anyone done this before?

2006-05-11 Thread Ben Nadel
Phil, In one application where I have done this, I do it in a somewhat "ganky" way. Basically I have an UserActionTracker and what it does is everytime I submit a FORM for DB committing, I also send the FORM object to the Tracker component: UserActionTracker.TrackAction( SESSION.User, FORM, [...]

Re: How do I detect day lights savings?

2006-05-11 Thread Paul Hastings
Aaron Roberson wrote: > I have a banner that displays on the site every Wednesday at 2:00 > p.m.. However, I am afraid that when daylight savings time ends in > October I am going to have to rewrite my code. > > It's a matter of chaning the value of a single variable, but what > happens when I mov

Re: How do I detect day lights savings?

2006-05-11 Thread Aaron Roberson
If I set the locale to English (US) will that change the results structure of the getTimeZoneInfo() to US time zone? On 5/11/06, Aaron Roberson <[EMAIL PROTECTED]> wrote: > > CF's getTimeZoneInfo() function. > > It looks like getTimeZoneInfo().isDSTOn is what I was looking for but > now another co

Re: Anyone done this before?

2006-05-11 Thread Phill B
That would have been a better way of putting it. Yes We want to track the changes made in the database. We would like to keep it indefinitely. On 5/11/06, Ben Nadel <[EMAIL PROTECTED]> wrote: > By auditing, do you mean tracking changes? If so, how long do you need to > keep the old data for? > >

Re: How do I detect day lights savings?

2006-05-11 Thread Aaron Roberson
> CF's getTimeZoneInfo() function. It looks like getTimeZoneInfo().isDSTOn is what I was looking for but now another complexity arises. The getTimeZoneInfo function gets local time zone information for the computer on which it is called, relative to Universal Time Coordinated (UTC). That means th

RE: Regex Dash

2006-05-11 Thread Ben Nadel
Rob, Its cool, "\" can be very confusing, especially if you are not just in ColdFusion. For instance, "\" is a special character in javascript (or Java) strings. So in CF "\" would be "\\" in Javascript. And "\\" in CF would be "" in Javascript. It can be crazy! Its nice that CF doesn't treat

Re: How do I detect day lights savings?

2006-05-11 Thread Aaron Roberson
I have a banner that displays on the site every Wednesday at 2:00 p.m.. However, I am afraid that when daylight savings time ends in October I am going to have to rewrite my code. It's a matter of chaning the value of a single variable, but what happens when I move on and another developer oversea

Re: Regex Dash

2006-05-11 Thread Rob Wilkerson
I guess what I'm asking is this: are you actually escaping the "-" or are you including the backslash in your character set? I thought it was the latter, but after testing (yes, I finally got off my lazy ass and tested), you're correct. I couldn't remember whether the "\" behaved as an escape cha

RE: How do I detect day lights savings?

2006-05-11 Thread Everett, Al \(NIH/NIGMS\) [C]
Well look at that: I actually learned something today. Thanks all for the responses to this question that were much, much more helpful than mine. -Original Message- The calendar is universal. Daylight Savings Time isn't. In the U.S., DST begins the first Sunday in April and ends the last

RE: How do I detect day lights savings?

2006-05-11 Thread Dawson, Michael
CF's getTimeZoneInfo() function. M!ke ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240227 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4

Re: How do I detect day lights savings?

2006-05-11 Thread Paul Hastings
Aaron Roberson wrote: > Okay, so there is a fucntion (isLeapYear) that checks if the current > year is a leap year, which makes me think that there should be some > way of detecting if the current time is daylights savings. isaac dealy & i were working on that functionality for the TimeZone CFC b

Re: Query regarding COM objects

2006-05-11 Thread Jim Wright
> That reminds me... Cfmx introduced the "releaseComObject()" function to help > with this problem. Good to know, Mark...I still have an app that does some COM, but it is at 4.5. I'll have to give that a try when we migrate it. -- Jim Wright Wright Business Solutions [EMAIL PROTECTED] 919-417-2

RE: How do I detect day lights savings?

2006-05-11 Thread Katz, Dov B \(IT\)
In java you do this: TimeZone.getDefault().inDaylightTime(java.util.Date d) (replace getDefault with something else if you want...) Try something like this in cf-script perhaps? Var tzClass = createObject("java","java.util.TimeZone"); Var dt= createObject("java","java.util.Date"); Dt.init(); Va

RE: Regex Dash

2006-05-11 Thread Ben Nadel
Rob, I think you are correct. Putting a "-" in will work also (at least in the Regex Coach program). However, "\-" also works, and it makes me feel more comfortable to know that it is being escaped... But yes, both will work. ... Ben Nadel www.bennadel.com -Original Mess

Re: Take on eBay!!

2006-05-11 Thread Nick Tong - TalkWebSolutions.co.uk
forgot to mention i've looked at http://www.cfmsource.com/pages/cfauction.cfm but I would like the word on the street :) On 11/05/06, Nick Tong - TalkWebSolutions.co.uk <[EMAIL PROTECTED]> wrote: > > okay so I don't want to take on eBay really but I am after some auction > software - can anyone re

RE: How do I detect day lights savings?

2006-05-11 Thread Everett, Al \(NIH/NIGMS\) [C]
The calendar is universal. Daylight Savings Time isn't. In the U.S., DST begins the first Sunday in April and ends the last Sunday in October (and is changing in 2007 I believe). But not all areas of the U.S. participate in DST. The rules for DST in the UK are different. Then there's every other co

How do I detect day lights savings?

2006-05-11 Thread Aaron Roberson
Okay, so there is a fucntion (isLeapYear) that checks if the current year is a leap year, which makes me think that there should be some way of detecting if the current time is daylights savings. Any ideas on how to do this? Thanks in advance, Aaron ~~

Re: Regex Dash

2006-05-11 Thread Rob Wilkerson
Just placing the dash at the beginning or end of the character class should be sufficient. Otherwise the dash is considered a range delimiter. [-_A-Z] will handle dashes [_a-z-] will also handle them I believe the backslash in a character class is, literally, a backslash in Ben's example and doe

RE: Query regarding COM objects

2006-05-11 Thread Mark A Kruger
Jim, That reminds me... Cfmx introduced the "releaseComObject()" function to help with this problem. -Mark -Original Message- From: Jim Wright [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 10:23 AM To: CF-Talk Subject: Re: Query regarding COM objects On 5/11/06, sunil kumar

Re: Query regarding COM objects

2006-05-11 Thread Jim Wright
Oh yeah...and one more recommendation...don't do it through COM. See if there is another method for producing the letters...perhaps using RTF or HTML...you can search the archives and find those solutions discussed periodically. Automating Word server side is just not a scalable or stable solutio

Re: Query regarding COM objects

2006-05-11 Thread Jim Wright
On 5/11/06, sunil kumar <[EMAIL PROTECTED]> wrote: > Hi all, > In our application we have a process of generating letters(word > documents) and we are getting the following COM object problem. > > An Exception Occured when accessing a COM object feild. The cause of this > exception was tha

RE: Anyone done this before?

2006-05-11 Thread Ben Nadel
By auditing, do you mean tracking changes? If so, how long do you need to keep the old data for? ... Ben Nadel Web Developer Nylon Technology 350 7th Avenue Floor 10 New York, NY 10001 212.691.1134 212.691.3477 fax www.nylontechnology.com "You know, like nunchuck skills, bow

RE: Regex Dash

2006-05-11 Thread Ben Nadel
Yeah, since you are not using "\-" in the [] matching group, it should be replaced out. If you want to keep the "-", add "\-" to the end of the group: REReplaceNoCase(acc_number,"[^a-zA-Z[:space:]'0-9_&:,!()/\-]","","ALL") ... Ben Nadel www.bennadel.com -Original Message

Anyone done this before?

2006-05-11 Thread Phill B
We want to start auditing the database changes made in our home grown CMS app. Anyone on here done this or have suggestions on where to start with some thing like this? -- Phil ~| Message: http://www.houseoffusion.com/lists.cfm/

Regex Dash

2006-05-11 Thread Lee.S.Surma
Is there a remove dash(-) element in this statement? REReplaceNoCase(acc_number,"[^a-zA-Z[:space:]'0-9_&:,!()/]","","ALL") Lee Surma ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240212 Archives: http://www.hous

Take on eBay!!

2006-05-11 Thread Nick Tong - TalkWebSolutions.co.uk
okay so I don't want to take on eBay really but I am after some auction software - can anyone recommend any? TIA. -- Nick Tong web: http://talkwebsolutions.co.uk blog: http://succor.co.uk shorturls: http://wapurl.co.uk ~| Mes

Query regarding COM objects

2006-05-11 Thread sunil kumar
Hi all, In our application we have a process of generating letters(word documents) and we are getting the following COM object problem. An Exception Occured when accessing a COM object feild. The cause of this exception was that: AutomationException:0x800a16c1 - Object has been deleted

RE: Cferror and the site wide handler

2006-05-11 Thread Plunkett, Matthew
Thanks very much for clearing this up Matt and Dave, I was using type="request". -Original Message- From: Dave Watts Sent: Wednesday, May 10, 2006 6:21 PM To: CF-Talk Subject: RE: Cferror and the site wide handler If I recall correctly, this is the execution order for error handlers:

Re: cflocation and HTTPS/HTTP

2006-05-11 Thread Crow T . Robot
Thanks Mike. I figured it was something like that, even if Google didn't give me any love on the subject. I'm going to go ahead and use this method. Does anyone else have a "better" way to redirect between http and https pages without having to hard-code the absolute links? Just making sure I

  1   2   >