Re: Need to hire CF Programmer Vancouver
The point about extended hours is a good one, but I think for now I'm going to try to keep my clients in check. Probably this is something I'll want to offer as a next step in growth. Thanks very much for the info about Vonage.. I've checked this out and it seems like a perfect solution for a widespread team. My graphic designer is remote in Ontario and that works well.. > To bad it's only open to locals. I'm in Montréal and remoting isn't > bad - I've done it for three years now. As for the telephone support, > I've been on Vonage with US telephone number for my clients in the > states. Just to get a number in Vancouver and transfer calls. Also, > since all long distance is included - just x-fer calls on the service > plan. They also have a roming future that will ring multiple numbers > at a time and who ever picks up gets the call. > > Secondly, someone on the East coast could easily extend support hours > to earlier in the morning because of the time difference. Support > starting at 6am PST instead of 9am. Or later depending on the a new > employee's schedule (i.e. night workers, etc.). Sometimes just a > little difference - a longer amount of hand holding with a client - > can make a difference between choosing shop A and shop B. > > Just a thought - some drawbacks with not being local, but some > advantages. Who wants to come into work at 6am PST in Vancouver to > start support hours? > > Peter > [EMAIL PROTECTED] com ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198575 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Need to hire CF Programmer Vancouver
Thank you so much for all your responses... I really appreciate the feedback. Part of the reason for a local person is the fact that I need to be able to juggle calls with someone on an instant basis... "hey Bill, can you get line one, Client B needs X done, can you take care of it for him..." kind of thing. However once I need a tech support person exclusively, the VOIP sounds like a really good option. I certainly will post on CF-Jobs as well, I didn't want to offend anyone by cross posting, and I wasn't sure how much action that list gets. Bryan, I'll call you Monday, I truly appreciate any people you could recommend.. Thanks again! Cheers, Britta ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198574 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Problems at CrystalTech have gotten ugly!
Ahhh... good point on the HTTP request issue... I wasn't thinking in terms of request/response as much as I was thinking of server-side actions. I know CF doesn't have much in terms of session management tools, and I was _assuming_ that J2EE had a way to kill a session so the next request would trigger a new one... the "J2EE Ignorant" tattoo on my forehead is glowing again, isn't it... that's why you're all looking at me like that... ;) In an attempt to rectify this aforementioned ignorance, I was just looking for J2EE session information via google and ran across this: http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19109 I was under the impression that the error came up when the CF session timed out first, but, logically, that makes no sense. If the CF session timed out, it would just ask Jrun for a new one... so the issue pops up when CF expects Jrun to be holding session information and Jrun can only reply with a session undefined error. So I'd set the Jrun sessions to time out, say, 5 minutes past the CF sessions. That way, if CF kills a session and Jrun creates a new one, you've only got a few minutes of overlap. Conversely, since CF sessions will ALWAYS time out before the Jrun sessions, Jrun will never be expected to remember session information for CF that it has already dropped because it times out first. So c'mon, you guys, what's the big issue here? :P I hope I don't get mobbed for that... hehe. Laterz, J On Sat, 12 Mar 2005 20:30:39 -0800, Paul Kenney <[EMAIL PROTECTED]> wrote: > Good points. > > onSessionEnd() would be a good place to do this, except that it does > not run in the context of a HTTP request. In other words, you can't > remove the cookie from the browser. > > The reason I didn't really go for this when using in > Application.cfm, was that simply catching the exception and using > another tag with a session timeout of "0 seconds" > seems good enough. Maybe not... I really don't know :) > > -- > Paul Kenney > [EMAIL PROTECTED] > [EMAIL PROTECTED] -- Continuum Media Group LLC Burnsville, MN 55337 http://www.web-relevant.com http://cfobjective.neo.servequake.com ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198573 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Flex Coldfusion MX 7 Standard
> I wanted to know if Flex 1.5 server can be installed on a > Windows 2000 Server running ColdFusion MX 7 Standard? I know it was possible with the first release of flex to run it on the copy of JRun underneath ColdFusion MX ... I don't believe it needed to be enterprise, since it's simply accessing the underlying JRun instance as a subordinate J2EE platform. It does require some manual configuration -- you have to edit the server's XML config file. There used to be a set of instructions in the documentation... although I'm probably not the best person to answer the question, since it's been a while since I've looked at it -- just figured I'd let you know it was available. s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://macromedia.breezecentral.com/p49777853/ http://www.sys-con.com/author/?id=4806 http://www.fusiontap.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198572 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Application.cfc - why? what's it for?
> What you need is something like this protecting your > initialization: > > > > > > > > I think you may have inadvertently mangled the example... This example code will never result in an initialized application, since it will only execute if application.initalized has been set -- which won't happen until it executes -- which only happens if application.initialized is set -- which wont happen until ... oh nevermind... :P s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://macromedia.breezecentral.com/p49777853/ http://www.sys-con.com/author/?id=4806 http://www.fusiontap.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198572 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Application.cfc - why? what's it for?
Nando, That doesn't quite work, because when you call onApplicationStart, you need to single thread ALL access to the application, which is very difficult to do manually. More specifically, you must ensure that no more than one request executes the initialization code, and that from the time the initialization starts to the time it ends, no other requests execute in the application. What you proposed won't do it. That's part of the wonderfulness of the new event. What you need is something like this protecting your initialization: AND you also need some way of letting currently running requests finish without letting any new requests start, so you can get to a point where there are no requests currently running. Then you delete application.initialized, and then you can let requests start running again. It's a VERY messy process. Really, the bottom line is that under load, you have to either change the application name or restart CF to properly reinitialize the application, whether you're using a home-grown system or onApplicationStart. Really no way around it. I usually opt for the renaming the application, using a incrementing counter at the end, so my application name might be "myApp1", and when I need to reinitialize, I change it to "myApp2". The reason this works is because any requests that are currently executing remain on myApp1 while myApp2 (a completely separate application) starts up. The downside is that if you have a lot of application variables, the variables from myApp1 linger on the server, totally unused until the configured application timeout. cheers, barneyb On Sat, 12 Mar 2005 14:38:00 +0100, Nando <[EMAIL PROTECTED]> wrote: > Barney, > > The docs state that you can call the onStartApplication event, > > "If you call this method explicitly, ColdFusion does not start the > application; it does execute the method code, but does not lock the > Application scope while the method executes." > > What does that leave us with as a "best practice" for reinitalizing > application scoped cfc's during development. I'm wondering about > adding a method to application.cfc immediately under > onApplicationStart, say restartApp, include the same createObject > calls, but lock them. I'm hoping i can add something like > > if (StructKeyDefined(url, "restart")) { > restartApp(); > } > > in onRequestStart - not 100% sure if url scoped variables are > available to onRequestStart tho'. Have to give that a try. -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198570 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFMail -- Formatting To address
Claude, Good point! Thanks, Nick At 04:09 PM 3/12/2005, you wrote: > >>Results in > > >If you CFOUTPUT it, this is what you will see indeed. >It is not CF which is interpreting the < > but the browser, since anything >starting with < >is supposed to be an HTML tag, an invalid one in this occurrence, and any >invalid tag is ignored. >But if you use your variable in a will be ok. > >-- >___ >REUSE CODE! Use custom tags; >See http://www.contentbox.com/claude/customtags/tagstore.cfm >(Please send any spam to this address: [EMAIL PROTECTED]) >Thanks. > > > ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198569 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Problems at CrystalTech have gotten ugly!
Good points. onSessionEnd() would be a good place to do this, except that it does not run in the context of a HTTP request. In other words, you can't remove the cookie from the browser. The reason I didn't really go for this when using in Application.cfm, was that simply catching the exception and using another tag with a session timeout of "0 seconds" seems good enough. Maybe not... I really don't know :) -- Paul Kenney [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.pjk.us ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198568 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Application.cfc - why? what's it for?
You might need to ensure that any cached data is persisted to a place where it can be recalled from when the application restarts. Or perhaps release a connection to "something" that you application maintains, and which you'd rather gracefully terminate rather than just let time out. Or maybe you do some logging on each request, but you just write to memory for performance reasons and the flush to the database en masse every X time, and you want to ensure there is nothing that hasn't been saved before you application shuts down. Of particular interest is that onApplicationEnd is called anytime an application is terminated, whether it be a timeout, or if CF is shutting down. In the last example above, that's of great importance, because it's quite likely that you'll have stuff in memory that you don't want to lose when you shut down. I'm sure there's a million other neat things to use it for, but there's a sample few. cheers, barneyb On Sat, 12 Mar 2005 08:58:19 -0600, Andy Ousterhout <[EMAIL PROTECTED]> wrote: > Barney, > > What are some of the uses of onApplicationEnd? > > Andy -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198567 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Flex Coldfusion MX 7 Standard
I wanted to know if Flex 1.5 server can be installed on a Windows 2000 Server running ColdFusion MX 7 Standard? David ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198566 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: sot: Live Docs 7 Javascript error
No error here, on FF 1.0.1, and lovin livedocs. Dave, FF doesn't interfere with user-requested popups, so I'm not sure what the problem is... care to elaborate? I did, however, use both methods for test and didn't have an issue. Laterz! J On Sat, 12 Mar 2005 12:38:35 -0500, Dave Carabetta <[EMAIL PROTECTED]> wrote: > On Sat, 12 Mar 2005 01:18:54 -0500, Tony Weeg <[EMAIL PROTECTED]> wrote: > > does anyone else get a javascript error when trying to bookmark a page > > in the live docs 7? > > > > accessible from this url.. > > > > http://www.antiwrap.com/?35 > > > > Tony, > > Make sure that you allow popups on the site. When you go to place a > bookmark, a popup window opens with the URL details. This happened to > me too and it's yet another reason why I simply am not a fan of the > new LiveDocs implementation. > > Regards, > Dave. > -- Continuum Media Group LLC Burnsville, MN 55337 http://www.web-relevant.com http://cfobjective.neo.servequake.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198565 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Problems at CrystalTech have gotten ugly!
Paul, I don't understand why that wouldn't work for application.cfm as well? I seem to think that the exact same type of thing could be wrapped around the cfapplication tag, then use the snippet you give to kill the J2EE session and redirect to cgi.script_name, or to a simple error page that says "Your session has expired, please log in again," or... whatever. If the CF session has expired, there should be no harm in killing the Jrun session via the same method, then reinstating a CF session. Admittedly, I've been paying minimal (but some) attention to this thread, but I haven't seen anyone post code snippets that would do that. It seems that this would actually be a viable workaround instead of something as likely to break as the original problem. As far as application.cfc though, why not use the CF onSessionEnd to kill the Jrun session instead of the onError? It would make sense to me that CF could quite easily trap the end of the session and reset the Jrun session to die instantly... then when the next session is instituted, it should start clean... Or... and this is most likely... am I missing something here?? J On Sat, 12 Mar 2005 14:27:40 -0800, Paul Kenney <[EMAIL PROTECTED]> wrote: > Well, for Application.cfc, here is my solution: > > > > > > > > > IsDefined("cookie.jsessionid")> > -1, Now()))> > > > > value="JSESSIONID=;expires=#expirationDateTime#;path=/"/> > > > Sorry, but there seems to have been an error: > #arguments.exception.message# > > > > > I'm using for my own sites at CrystalTech... let me know if this works for you -- Continuum Media Group LLC Burnsville, MN 55337 http://www.web-relevant.com http://cfobjective.neo.servequake.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198564 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: IIS & CFMX6.1
Here's yet another way to do this... I've played with it a bit, but not a lot. I got it to mostly work, except that my URLs were pointed to the wrong directory level, so I could only access the home page. Apparently it takes some tweaking to get the mappings all worked out... but it allows some massive, killer, amazing flexibility in the way you configure your system. Imagine being able to run ONE CF server and having an IIS box, and Apache box, the native CF built-in webserver, any any number of other tools simply using that CF box and the specific version running on it for a rendering engine only. Very. Cool. http://www.macromedia.com/devnet/mx/coldfusion/j2ee/articles/balancing_j2ee03.html It should, however, allow you to leave CF5 managing the whole site and only pass certain sections of the site along to CFMX. The apache stuff is free, and works REALLY REALLY WELL for managing 5, 6.1, and 7... all running on the same hardware, or different hardware, on the same, or different instances of Apache. I know little about the IIS stuff, although I may putter around with it because I'm completely sold on the idea. Abstraction ad insanitarium... J On Sat, 12 Mar 2005 07:30:59 -0500, ColdFusion Developer <[EMAIL PROTECTED]> wrote: > Does anyone know if it is possible in IIS to create the virtual > directory pointing to > a CFMX 6.1 application under: > > CFUSIONMX \ WWWROOT \ THISAPP > > Catch is, I also have CF5 co-existing on the machine. and IIS home > directory points to > a folder of wwwroot which is mainly CF5 applications. > > I would like to be able to do this: > http://127.0.0.1:8500/ThisApp > > Which would point to the directory of: > > F:\CFusionMX\wwwroot\ThisApp\www\ > > Maybe it is just too early for my (drunken) brain to hold this morning. > > -- Continuum Media Group LLC Burnsville, MN 55337 http://www.web-relevant.com http://cfobjective.neo.servequake.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198563 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Casting Error
I hate it when I butcher my Mother Tongue... ugh. > Sometimes the loose typing of CF conflicts with other languages that > have more stringent typing requirements. Int() effectively casts your > value as a a numerical datatype. It's not uncommong for a a CF > "numerical" value is being seen as a string by other > languages/environments. SHOULD read: Sometimes the loose typing of CF conflicts with other languages that have more stringent data typing requirements. Int() validates what's passed to it as a number... it's the first thing that comes to mind, anyway. It's not UNCOMMON for a CF "numerical" value to be seen as a string by another language or environment where the recipient requires tighter typing. Something that's important to remember though... if you declare a variable like this: CF is going to remember that as a string, regardless of it's content. However, declaring a variable like this: Will cause CF to treat this variable as natively numeric, rather than a string value that contains a number. That would be my first suggestion... make sure that you treat that value as numeric from the get-go, which means never wrapping it in quotes and only assigning number values to it. I just re-read the livedocs on the Int() function and it returns a number as a string... so that probably won't help. JavaCast returns a typed Java value... hmmm... might work, it's worth a try. I'm sure there's someone around who can provide a better answer... I've not worked with COM objects much at all, so it's not an issue I've run across before now. Laterz, J -- Continuum Media Group LLC Burnsville, MN 55337 http://www.web-relevant.com http://cfobjective.neo.servequake.com ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198562 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Casting Error
Hmmm... Try this: Sometimes the loose typing of CF conflicts with other languages that have more stringent typing requirements. Int() effectively casts your value as a a numerical datatype. It's not uncommong for a a CF "numerical" value is being seen as a string by other languages/environments. I'm not sure if this is helpful because you're using a COM object and not a Java object, but javaCast() might work too... it would take a little experimentation to see if javaCast() can help a COM object when the COM object is expecting an Int value. Hope that helps. If it doesn't, check the liveDocs (http://livedocs.macromedia.com) under the CF version you use. The Functions can be viewed by category, and one of the categories is "View Functions by category" (http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/functio2.htm#wp3532194) and you can look under conversion or mathematical. Good luck! J On Sat, 12 Mar 2005 18:44:55 -0600, Eric Hoffman <[EMAIL PROTECTED]> wrote: > Here's a weird one: > > I am attempting to update a com object. If I use cold fusion variables in my > call as designed: > #attributes.conID#)> > > I get an error. > > If I replace the second variable with any integer it works. > > > > When I cfoutput I get the correct connectstring variable and the second > variable actually is 65! What gives? > > This is the exact error: > > Error casting an object of type 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 different way than it was designed. > > I don't understandCF should be outputting an integer there. Manually > done, it works. CF'ed no. Cfoutput shows the same number as I put in > manually. Is there some trick to it? > > Thanks. > -- Continuum Media Group LLC Burnsville, MN 55337 http://www.web-relevant.com http://cfobjective.neo.servequake.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198561 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Casting Error
Here's a weird one: I am attempting to update a com object. If I use cold fusion variables in my call as designed: I get an error. If I replace the second variable with any integer it works. When I cfoutput I get the correct connectstring variable and the second variable actually is 65! What gives? This is the exact error: Error casting an object of type 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 different way than it was designed. I don't understandCF should be outputting an integer there. Manually done, it works. CF'ed no. Cfoutput shows the same number as I put in manually. Is there some trick to it? Thanks. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198560 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Application.cfc - why? what's it for?
Jim, Thanks that is definitely something to try on my next project. Actually that check session code today is in a header file that's cfincluded into every page by default. So it's only ever in one place anyway, but I get the idea. I've also thought of the idea of having code that runs at the end of every page by default. You could build a table of who is logged in. Course you would have to remove people that haven't selected a page in say twenty minutes or so. Rick Mason On Sat, 12 Mar 2005 13:29:00 -0500, Jim Davis <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Rick Mason [mailto:[EMAIL PROTECTED] > > Sent: Saturday, March 12, 2005 1:10 PM > > To: CF-Talk > > Subject: Re: Application.cfc - why? what's it for? > > > > Jim, > > > > So lets say I have code at the top of every page in my application > > that checks for the existence of certain session variables and if it > > doesn't find them redirects the user to a login page. > > > > You're saying that I could define this once in application.cfc and set > > the behavior for the entire application? Tthis could be a huge > > timesaver for me in building portals. > > Exactly - you would probably do this in the "request start" method (so that > at the beginning of every request this is checked). > > Of course in this particular case you could also do this in Application.cfm > (which has been around since v3) - there's really never a reason to put > something like that in every file of a site. > > Application.cfm runs as an "auto include" on every request (and > OnRequestEnd.cfm runs as an auto include at the end of every request). > > Application.cfc runs as "auto method calls" but for several more events: > request start/end, session start/end, application start/end, errors, etc. > > Jim Davis > > ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198559 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Problems at CrystalTech have gotten ugly!
Well, for Application.cfc, here is my solution: Sorry, but there seems to have been an error: #arguments.exception.message# I'm using for my own sites at CrystalTech... let me know if this works for you On Sat, 12 Mar 2005 14:04:18 -0600, James Edmunds <[EMAIL PROTECTED]> wrote: > Update. > > No, this isn't good, because once you get past the "Session is > invalid" period (60 minutes), you get sessions that change with each > page load, and are therefore useless as they do not persist from page > to page. > > All the workarounds I have seen for this problem either (1) have you > rename the applicaton, on failure, therefore restarting the entire > application (!!!), or (2) don't let sessions work properly once you > get into the time when J2EE throws the invalid session error. > > Oh, well. > > For now I am letting site visitors see the nice narrative error > message served up from my CFACTCH, and hoping for the best with CT and > MM somehow getting the issue resolved. > > FWIW, here is the text of my error message, whose tone and purpose I > hope are self-explanatory: > > > NEW SOFTWARE UNDER TESTING > > Currently, we are testing the new Version 7 of ColdFusion MX on the > site jamesedmunds.com, prior to deploying it on any of our client > sites. > > This also affects the weblog Poor Clio. > > One issue we have encountered is an "Session is invalid" error when a > page is reloaded on a web browser after a length of idle time, or even > in browsing away from this site and returning to it. If you are > reading this message, it is likely because of that condition. > > A solution that sometimes works during this test period is to > completely exit your browser program, then re-open it and browse to > this site again, at which point it should load normally. > > We are in touch with our CFMX host's support team to attempt to > resolve this issue. Though there are many attractive new features in > this version of ColdFusion, we quite naturally will not move any > client sites into this version of CFMX until all such issues are > resolved. > > Meanwhile, thank you for your patience with the fact that we are > testing the new > software on this site, which will ultimately bring us the benefit of > resolving problem issues so that the attractive features of the new > software are available to our clients. > > > Cheers to all, > > James Edmunds > > On Fri, 11 Mar 2005 21:58:33 -0600, James Edmunds > <[EMAIL PROTECTED]> wrote: > > Yes, I seem to be having good luck with this fix,also. > > -JE > > > > On Fri, 11 Mar 2005 11:20:06 -0700, Connie DeCinko <[EMAIL PROTECTED]> > > wrote: > > > So far, this seems to be working for me. Have not seen an error... Yet. > > > > > > > > > > > applicationtimeout="#createtimespan(1,0,0,0)#" > > > clientmanagement="Yes" > > > sessionmanagement="Yes" > > > sessiontimeout="#createtimespan(0,0,20,0)#" > > > setclientcookies="Yes"> > > > > > > > > > > > applicationtimeout="#createtimespan(1,0,0,0)#" > > > clientmanagement="Yes" > > > sessionmanagement="Yes" > > > sessiontimeout="#createtimespan(0,0,0,0)#" > > > setclientcookies="Yes"> > > > > > > > > > > > > > > > -Original Message- > > > From: Nando [mailto:[EMAIL PROTECTED] > > > Sent: Friday, March 11, 2005 11:10 AM > > > To: CF-Talk > > > Subject: Re: Problems at CrystalTech have gotten ugly! > > > > > > I have the Session is Invalid error happen on my development machine > > > from time to time, and i've seen it on 6.1, so it seems this has > > > nothing to do with the webhost, or with mx 7.0 in particular. I've > > > made a few stabs at fixing it, but since it occurs kinda out of the > > > blue, it's been a little hard for me to figure out what's been going > > > on. > > > > > > Bud, thanks for nailing this issue, at least to the extent that i can > > > deal with it gracefully. > > > > > > :-) > > > > > > Nando > > > > > > > > ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198558 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cf
Re: CFMail -- Formatting To address
>>Results in but the browser, since anything starting with < is supposed to be an HTML tag, an invalid one in this occurrence, and any invalid tag is ignored. But if you use your variable in a http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198557 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Problems at CrystalTech have gotten ugly!
Update. No, this isn't good, because once you get past the "Session is invalid" period (60 minutes), you get sessions that change with each page load, and are therefore useless as they do not persist from page to page. All the workarounds I have seen for this problem either (1) have you rename the applicaton, on failure, therefore restarting the entire application (!!!), or (2) don't let sessions work properly once you get into the time when J2EE throws the invalid session error. Oh, well. For now I am letting site visitors see the nice narrative error message served up from my CFACTCH, and hoping for the best with CT and MM somehow getting the issue resolved. FWIW, here is the text of my error message, whose tone and purpose I hope are self-explanatory: NEW SOFTWARE UNDER TESTING Currently, we are testing the new Version 7 of ColdFusion MX on the site jamesedmunds.com, prior to deploying it on any of our client sites. This also affects the weblog Poor Clio. One issue we have encountered is an "Session is invalid" error when a page is reloaded on a web browser after a length of idle time, or even in browsing away from this site and returning to it. If you are reading this message, it is likely because of that condition. A solution that sometimes works during this test period is to completely exit your browser program, then re-open it and browse to this site again, at which point it should load normally. We are in touch with our CFMX host's support team to attempt to resolve this issue. Though there are many attractive new features in this version of ColdFusion, we quite naturally will not move any client sites into this version of CFMX until all such issues are resolved. Meanwhile, thank you for your patience with the fact that we are testing the new software on this site, which will ultimately bring us the benefit of resolving problem issues so that the attractive features of the new software are available to our clients. Cheers to all, James Edmunds On Fri, 11 Mar 2005 21:58:33 -0600, James Edmunds <[EMAIL PROTECTED]> wrote: > Yes, I seem to be having good luck with this fix,also. > -JE > > On Fri, 11 Mar 2005 11:20:06 -0700, Connie DeCinko <[EMAIL PROTECTED]> wrote: > > So far, this seems to be working for me. Have not seen an error... Yet. > > > > > > > applicationtimeout="#createtimespan(1,0,0,0)#" > > clientmanagement="Yes" > > sessionmanagement="Yes" > > sessiontimeout="#createtimespan(0,0,20,0)#" > > setclientcookies="Yes"> > > > > > > > applicationtimeout="#createtimespan(1,0,0,0)#" > > clientmanagement="Yes" > > sessionmanagement="Yes" > > sessiontimeout="#createtimespan(0,0,0,0)#" > > setclientcookies="Yes"> > > > > > > > > > > -Original Message- > > From: Nando [mailto:[EMAIL PROTECTED] > > Sent: Friday, March 11, 2005 11:10 AM > > To: CF-Talk > > Subject: Re: Problems at CrystalTech have gotten ugly! > > > > I have the Session is Invalid error happen on my development machine > > from time to time, and i've seen it on 6.1, so it seems this has > > nothing to do with the webhost, or with mx 7.0 in particular. I've > > made a few stabs at fixing it, but since it occurs kinda out of the > > blue, it's been a little hard for me to figure out what's been going > > on. > > > > Bud, thanks for nailing this issue, at least to the extent that i can > > deal with it gracefully. > > > > :-) > > > > Nando > > > > ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198556 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFMail -- Formatting To address
I can't find a way to make CF use < and > as text. I changed the format to the below and that did the trick At 02:18 PM 3/12/2005, you wrote: >Gotta double quote it, I think: > >" > >That should work. > >Ray > >At 02:07 PM 3/12/2005, you wrote: > >That is my problem. I don't know? > > > >Using CF 6.1 > > > > > > > > > > >Results in > > > > >6.1 is interpreting "<" and ">" as part of a tag rather than text. I > >thought an escape > >character would tell these are text in this case. But, I can't find an > >escape character that > >works? > > > >Nick > > > > > > > >At 12:46 PM 3/12/2005, you wrote: > > > >>I know the following doesn't work. > > > > > >Why? I do this all the time with no problem. > > > > > >-- > > >___ > > >REUSE CODE! Use custom tags; > > >See http://www.contentbox.com/claude/customtags/tagstore.cfm > > >(Please send any spam to this address: [EMAIL PROTECTED]) > > >Thanks. > > > > > > > > > > > > > > > ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198555 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFMail -- Formatting To address
Nick Baker wrote: > That is my problem. I don't know? > > Using CF 6.1 > > > > > Results in > http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198554 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFMail -- Formatting To address
Gotta double quote it, I think: " That should work. Ray At 02:07 PM 3/12/2005, you wrote: >That is my problem. I don't know? > >Using CF 6.1 > > > > >Results in > >6.1 is interpreting "<" and ">" as part of a tag rather than text. I >thought an escape >character would tell these are text in this case. But, I can't find an >escape character that >works? > >Nick > > > >At 12:46 PM 3/12/2005, you wrote: > > >>I know the following doesn't work. > > > >Why? I do this all the time with no problem. > > > >-- > >___ > >REUSE CODE! Use custom tags; > >See http://www.contentbox.com/claude/customtags/tagstore.cfm > >(Please send any spam to this address: [EMAIL PROTECTED]) > >Thanks. > > > > > > > > ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198553 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Document Literal WebService with CFMX6.1
Robert -- You're not alone in facing the problem of how to invoke a web service that requires as input a complex-within-complex XML document. The documentation does not cover this and, in my opinion, does not even provide any hints as to what direction to head in to resolve this sort of a problem. I've been banging my head against this for quite some time, and more recently I involved my developer, Doug James, who quickly came to share my cephalgia. Fortunately, with a couple of helpful pointers from Tom Jordahl (the guy at Macromedia who, it seems, developed the web services piece of CFMX), Doug finally figured out last week how to represent a complex-within-complex XML document in CF structure form. Doug is in the process of touching up his work and will be posting a "how to" soon on cf-talk and on the support forum, and perhaps the LiveDocs as well. If you can't wait until Doug posts, you're welcome to contact him at [EMAIL PROTECTED], but he may or may not be able to respond depending on how tied up he is at the time. -- Larry Afrin Hollings Cancer Center Medical University of South Carolina [EMAIL PROTECTED] ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198552 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Application.cfc - why? what's it for?
> -Original Message- > From: Andy Ousterhout [mailto:[EMAIL PROTECTED] > Sent: Saturday, March 12, 2005 1:37 PM > To: CF-Talk > Subject: RE: Application.cfc - why? what's it for? > > How would I re-direct the page to login.cfm from a CFC? Same way you would from anything else, really. You could use a CFLOCATION tag (that's probably easiest) or set some variable that indicates your state and check it someplace common (for most sites my pages are always wrapped in a "wrapper" tag but many people also have navigation tags or the like). CFCs really aren't anything super special - don't add anything attributes to them that they don't have. It's easiest to think of them as regular CF pages most of the time. Jim Davis ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198551 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFMail -- Formatting To address
That is my problem. I don't know? Using CF 6.1 " as part of a tag rather than text. I thought an escape character would tell these are text in this case. But, I can't find an escape character that works? Nick At 12:46 PM 3/12/2005, you wrote: > >>I know the following doesn't work. > >Why? I do this all the time with no problem. > >-- >___ >REUSE CODE! Use custom tags; >See http://www.contentbox.com/claude/customtags/tagstore.cfm >(Please send any spam to this address: [EMAIL PROTECTED]) >Thanks. > > > ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198550 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFMail -- Formatting To address
>>I know the following doesn't work. Why? I do this all the time with no problem. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198549 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Application.cfc - why? what's it for?
How would I re-direct the page to login.cfm from a CFC? -Original Message- From: Jim Davis > -Original Message > > Jim, > > So lets say I have code at the top of every page in my application > that checks for the existence of certain session variables and if it > doesn't find them redirects the user to a login page. Exactly - you would probably do this in the "request start" method (so that at the beginning of every request this is checked). ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198548 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Application.cfc - why? what's it for?
> -Original Message- > From: Rick Mason [mailto:[EMAIL PROTECTED] > Sent: Saturday, March 12, 2005 1:10 PM > To: CF-Talk > Subject: Re: Application.cfc - why? what's it for? > > Jim, > > So lets say I have code at the top of every page in my application > that checks for the existence of certain session variables and if it > doesn't find them redirects the user to a login page. > > You're saying that I could define this once in application.cfc and set > the behavior for the entire application? Tthis could be a huge > timesaver for me in building portals. Exactly - you would probably do this in the "request start" method (so that at the beginning of every request this is checked). Of course in this particular case you could also do this in Application.cfm (which has been around since v3) - there's really never a reason to put something like that in every file of a site. Application.cfm runs as an "auto include" on every request (and OnRequestEnd.cfm runs as an auto include at the end of every request). Application.cfc runs as "auto method calls" but for several more events: request start/end, session start/end, application start/end, errors, etc. Jim Davis ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198547 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
CFMail -- Formatting To address
I am trying to get an email address into a variable of the following form to use in CFMAIL TO: Nick Baker <[EMAIL PROTECTED]> I know the following doesn't work. Any hints, another format, escape characters or ? Thanks, Nick ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198546 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Application.cfc - why? what's it for?
Jim, So lets say I have code at the top of every page in my application that checks for the existence of certain session variables and if it doesn't find them redirects the user to a login page. You're saying that I could define this once in application.cfc and set the behavior for the entire application? Tthis could be a huge timesaver for me in building portals. Rick Mason On Sat, 12 Mar 2005 00:55:58 -0500, Jim Davis <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Tony Weeg [mailto:[EMAIL PROTECTED] > > Sent: Friday, March 11, 2005 11:59 PM > > To: CF-Talk > > Subject: Re: Application.cfc - why? what's it for? > > > > glad you asked mike. > > > > i've been wondering the same! > > Take this with a grain of salt since I've not started using it myself but... > > In short all Application.cfc offers you is (some relatively basic) event > handling (specifically application, session, and request start and end > events). > > In other words in the Application.cfc you can say "I want this to happen > when a session starts and this to happen when a session ends" (same for the > application and request). > > Many of us have home grown systems to do this in earlier versions, but this > is infinitely simpler. > > Since CF manages the calls to the methods you're code ends up being much, > much cleaner if you were used to doing this stuff yourself. Ever see code > like the following: > > >... Do a bunch of App set up ... > > > > I thought so - that code is completely unnecessary with application.cfc: CF > "knows" when the first request to an application is made and it calls the > application start method for you. No checking, no clutter: you (in theory!) > can rest assured that all the code in that method has been run. > > Same for sessions and requests - these, in particular where huge pains in > the ass in previous versions. Now you just create a few methods that CF > calls automatically. > > It doesn't really do anything else: that's it. Nice, simple and elegant (at > least I think so). > > As I said - I might be way off here, but that's the way I understand it. > > Jim Davis > > > ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198545 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: sot: Live Docs 7 Javascript error
On Sat, 12 Mar 2005 01:18:54 -0500, Tony Weeg <[EMAIL PROTECTED]> wrote: > does anyone else get a javascript error when trying to bookmark a page > in the live docs 7? > > accessible from this url.. > > http://www.antiwrap.com/?35 > Tony, Make sure that you allow popups on the site. When you go to place a bookmark, a popup window opens with the URL details. This happened to me too and it's yet another reason why I simply am not a fan of the new LiveDocs implementation. Regards, Dave. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198544 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Need to hire CF Programmer Vancouver
The payment is a little low in USD - however, $16 CAD is more like $13.33 USD. I haven't heard of Taco Bell paying that wage - at least yet! I'm sure Britta like for a local for specific reasons unknown to us. However, some of the best people I've worked with have been by remote. Best, ...peter ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198543 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: IIS & CFMX6.1
I have done this, not the co-exist with CF5 part though. Its a PITA but doable. I use the J2EE install on JRUN. 1) create an instance of JRun server and install CFMX by way of the ear file with a context root of / call it CFMX 2) start the instance CFMX 3) create a new site in IIS on a different port, say port 99, call it CFSITE. Note I said site, not virtual dir. 4) start wsconfig and associate the CFMX instance with this IIS site called CFSITE. 5) test this new IIS site with CF. THis code is a nice test server name #servername# 6) provided 5 passed the test, create your virtual dir, call it MYCF in IIS IN YOUR DEFAULT SITE, not in the CFSITE site. 7) Now, in the IIS mmc snapin, right click on your virtual dir choose properties. Hit the tab and choose configuration to modify file extension mappings. Make all your extension mappings the same as for the IIS site CFSITE. 8) Now in your virtual dir MYCF create another virtual directory called JRunScripts mapped the same as for the virtual dir called JrunScripts under your IIS site CFSITE. 9) drop the code above into your virtual dir area and test. That was a very brief outline I know, you will need to know abit about IIS and JRun/CFMX. I'm planning to draw this all up in detail someday, just don't have the time at the moment. Using this approach you could have several virtual directories pointing to different CFMX instances. I've had to do this to avoid redirecting a few thousand users to a different site. I don't know how this will work with CF5 around though. D On Sat, 12 Mar 2005 09:08:38 -0500, ColdFusion Developer <[EMAIL PROTECTED]> wrote: > hmm but wont that that the CFM file and process it through the CF5 > Application server > since IIS has the .cfm config setup for the CF5 dll? > > Can you specify a different DLL for various sites? > > > jonese wrote: > > >i think i understand you and i'm pretty sure this can be done with > >the IIS virtual directory action. > > > >jonese > > > > > >On Sat, 12 Mar 2005 07:30:59 -0500, ColdFusion Developer > ><[EMAIL PROTECTED]> wrote: > > > > > >>Does anyone know if it is possible in IIS to create the virtual > >>directory pointing to > >>a CFMX 6.1 application under: > >> > >>CFUSIONMX \ WWWROOT \ THISAPP > >> > >>Catch is, I also have CF5 co-existing on the machine. and IIS home > >>directory points to > >>a folder of wwwroot which is mainly CF5 applications. > >> > >>I would like to be able to do this: > >>http://127.0.0.1:8500/ThisApp > >> > >>Which would point to the directory of: > >> > >>F:\CFusionMX\wwwroot\ThisApp\www\ > >> > >>Maybe it is just too early for my (drunken) brain to hold this morning. > >> > >> > >> > >> > > > > > > ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198542 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Application.cfc - why? what's it for?
Barney, What are some of the uses of onApplicationEnd? Andy -Original Message- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Saturday, March 12, 2005 5:01 AM To: CF-Talk Subject: Re: Application.cfc - why? what's it for? A lot of it depends on how you currently use Application.cfm, and how important the features that you can only get from Application.cfc are. If you're just using Application.cfm for your CFAPPLICATION tag and setting global variables, then Application.cfc isn't going to really do anything for you. The only difference will be that you have to type a bunch of extra CFC-related stuff. However, repackaging Application.cfm in a new way isn't the reason for Application.cfc. With the CFC, you can do a lot of new things that are simply impossible with Application.cfm. For instance, you get events for application end, and session end, neither of which you've the ability to access before. The session end event, in particular, can be very useful for certain applications You also get events for application start, session start, request start/end, and errors. Those are places that you've already had access to, though with the the CFC, the access is much more controlled and abstracted. Application start, moreso than the others, is quite nice, because it lets you iniitalize all your application-scope variable without having to worry about single threading access. Very handy for avoiding subtle little bugs when you're starting up under load. Of course, by leveraging the new events, you do lose a little bit of "ad hoc-ness". For example, if you're using a pair of CFIF tags and a CFLOCK tag to protect your application initialization in Application.cfm (the usual way of doing it), it's trivial to "restart" your application on the fly by simply adding a "false" to those conditionals. With onApplicationStart, however, you can't do that, becuase CF is internally taking care of the nitty-gritty stuff, so you have to change your application name, or restart CF. Bottom line, Application.cfc has some nice features that you may or may not be useful to you. It also lets you package your app framework code in a far more abstracted way than Application.cfm, which may or may not tickle your fancy. However, even if you don't use any of the cool new things Application.cfc brings to the table, you don't really move backwards at all by starting to use it. And more importantly, when you do need some of the things you can only get with the CFC, you'll already be using it, so you won't have to switch things over at that point. As neat as CF7's feature set is, Application.cfc is probably the best new thing in the release. It doesn't get the press that some other features have gotten, because it's 100% devoid of "flashiness", but it's definitely a Good Thing. cheers, barneyb On Sat, 12 Mar 2005 15:27:02 +1100, Mike Kear <[EMAIL PROTECTED]> wrote: > I think the full implications of using application.cfc rather than > application.cfm has escaped me. Can someone please elaborate on it > for me? > > Is there a significant added usefulness in handling application-level > things in the cfc or is it merely a different way of doing things that > we were already doing in the application.cfm? > > -- > Cheers > Mike Kear > Windsor, NSW, Australia > Certified Advanced ColdFusion Developer > AFP Webworks > http://afpwebworks.com > ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month > -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198541 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: IIS & CFMX6.1
hmm but wont that that the CFM file and process it through the CF5 Application server since IIS has the .cfm config setup for the CF5 dll? Can you specify a different DLL for various sites? jonese wrote: >i think i understand you and i'm pretty sure this can be done with >the IIS virtual directory action. > >jonese > > >On Sat, 12 Mar 2005 07:30:59 -0500, ColdFusion Developer ><[EMAIL PROTECTED]> wrote: > > >>Does anyone know if it is possible in IIS to create the virtual >>directory pointing to >>a CFMX 6.1 application under: >> >>CFUSIONMX \ WWWROOT \ THISAPP >> >>Catch is, I also have CF5 co-existing on the machine. and IIS home >>directory points to >>a folder of wwwroot which is mainly CF5 applications. >> >>I would like to be able to do this: >>http://127.0.0.1:8500/ThisApp >> >>Which would point to the directory of: >> >>F:\CFusionMX\wwwroot\ThisApp\www\ >> >>Maybe it is just too early for my (drunken) brain to hold this morning. >> >> >> >> > > ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198540 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: IIS & CFMX6.1
i think i understand you and i'm pretty sure this can be done with the IIS virtual directory action. jonese On Sat, 12 Mar 2005 07:30:59 -0500, ColdFusion Developer <[EMAIL PROTECTED]> wrote: > Does anyone know if it is possible in IIS to create the virtual > directory pointing to > a CFMX 6.1 application under: > > CFUSIONMX \ WWWROOT \ THISAPP > > Catch is, I also have CF5 co-existing on the machine. and IIS home > directory points to > a folder of wwwroot which is mainly CF5 applications. > > I would like to be able to do this: > http://127.0.0.1:8500/ThisApp > > Which would point to the directory of: > > F:\CFusionMX\wwwroot\ThisApp\www\ > > Maybe it is just too early for my (drunken) brain to hold this morning. > > ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198539 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Application.cfc - why? what's it for?
Barney, The docs state that you can call the onStartApplication event, "If you call this method explicitly, ColdFusion does not start the application; it does execute the method code, but does not lock the Application scope while the method executes." What does that leave us with as a "best practice" for reinitalizing application scoped cfc's during development. I'm wondering about adding a method to application.cfc immediately under onApplicationStart, say restartApp, include the same createObject calls, but lock them. I'm hoping i can add something like if (StructKeyDefined(url, "restart")) { restartApp(); } in onRequestStart - not 100% sure if url scoped variables are available to onRequestStart tho'. Have to give that a try. Mike, if you haven't already, i'd read the livedocs about Application.cfc in the Developer's guide. Look under Designing and Optimizing a ColdFusion Application. The section on Application.cfc is particularly good. I know what you mean about the high level overview tho'. It really helps to get an detailed overview before you dive into "Now what would be useful to implement here ..." I was at a presentation by Ben Forta about CFMX 7 and it was very good for just that. I'd suggest looking for a breeze presentation online by him on CFMX 7 - i think there's one available. > Of course, by leveraging the new events, you do lose a little bit of > "ad hoc-ness". For example, if you're using a pair of CFIF tags and a > CFLOCK tag to protect your application initialization in > Application.cfm (the usual way of doing it), it's trivial to "restart" > your application on the fly by simply adding a "false" to those > conditionals. With onApplicationStart, however, you can't do that, > becuase CF is internally taking care of the nitty-gritty stuff, so you > have to change your application name, or restart CF. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198538 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
IIS & CFMX6.1
Does anyone know if it is possible in IIS to create the virtual directory pointing to a CFMX 6.1 application under: CFUSIONMX \ WWWROOT \ THISAPP Catch is, I also have CF5 co-existing on the machine. and IIS home directory points to a folder of wwwroot which is mainly CF5 applications. I would like to be able to do this: http://127.0.0.1:8500/ThisApp Which would point to the directory of: F:\CFusionMX\wwwroot\ThisApp\www\ Maybe it is just too early for my (drunken) brain to hold this morning. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198537 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: sot: Live Docs 7 Javascript error
No error on my end. Will ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198536 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Application.cfc - why? what's it for?
A lot of it depends on how you currently use Application.cfm, and how important the features that you can only get from Application.cfc are. If you're just using Application.cfm for your CFAPPLICATION tag and setting global variables, then Application.cfc isn't going to really do anything for you. The only difference will be that you have to type a bunch of extra CFC-related stuff. However, repackaging Application.cfm in a new way isn't the reason for Application.cfc. With the CFC, you can do a lot of new things that are simply impossible with Application.cfm. For instance, you get events for application end, and session end, neither of which you've the ability to access before. The session end event, in particular, can be very useful for certain applications You also get events for application start, session start, request start/end, and errors. Those are places that you've already had access to, though with the the CFC, the access is much more controlled and abstracted. Application start, moreso than the others, is quite nice, because it lets you iniitalize all your application-scope variable without having to worry about single threading access. Very handy for avoiding subtle little bugs when you're starting up under load. Of course, by leveraging the new events, you do lose a little bit of "ad hoc-ness". For example, if you're using a pair of CFIF tags and a CFLOCK tag to protect your application initialization in Application.cfm (the usual way of doing it), it's trivial to "restart" your application on the fly by simply adding a "false" to those conditionals. With onApplicationStart, however, you can't do that, becuase CF is internally taking care of the nitty-gritty stuff, so you have to change your application name, or restart CF. Bottom line, Application.cfc has some nice features that you may or may not be useful to you. It also lets you package your app framework code in a far more abstracted way than Application.cfm, which may or may not tickle your fancy. However, even if you don't use any of the cool new things Application.cfc brings to the table, you don't really move backwards at all by starting to use it. And more importantly, when you do need some of the things you can only get with the CFC, you'll already be using it, so you won't have to switch things over at that point. As neat as CF7's feature set is, Application.cfc is probably the best new thing in the release. It doesn't get the press that some other features have gotten, because it's 100% devoid of "flashiness", but it's definitely a Good Thing. cheers, barneyb On Sat, 12 Mar 2005 15:27:02 +1100, Mike Kear <[EMAIL PROTECTED]> wrote: > I think the full implications of using application.cfc rather than > application.cfm has escaped me. Can someone please elaborate on it > for me? > > Is there a significant added usefulness in handling application-level > things in the cfc or is it merely a different way of doing things that > we were already doing in the application.cfm? > > -- > Cheers > Mike Kear > Windsor, NSW, Australia > Certified Advanced ColdFusion Developer > AFP Webworks > http://afpwebworks.com > ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month > -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198535 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Application.cfc - why? what's it for?
Thanks Jim, that helps a bit. I'm still not sure what I'd do with application.cfc instead of what I'm doing now, but you've given me something to look for. Tony, that link just takes me to the livedocs MX developers guide. The reason I asked the question in the first place, is I was looking for a document somewhere that explains the new features of CFMX7 in more detail than the broad-brushstroke marketing bumph on the Macromedia site, yet not in such lengthy intricate detail as the livedocs. I find it near impossible to learn general techniques from the CFMX documentation. It's perfect for learning the specifics of a tag, or a function, but for understanding things like this, it's too hard. Does anyone know of any resource on the net anywhere that is a bit more comprehensive than the marketing stuff on the MM site and yet not so detailed as the CFMX documentation? Cheers Mike Kear Windsor, NSW, Australia Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On Sat, 12 Mar 2005 01:09:36 -0500, Tony Weeg <[EMAIL PROTECTED]> wrote: > check this link out... > > there is a lot of good documentation on this ... and lots of other cfmx7 > stuff! > > http://www.antiwrap.com/?35 > > tw > ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198534 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54