Re: ColdFusion Calendar
Try Cold Calendar at http://coldgen.com Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year - Original Message - From: Marco Antonio C. Santos [EMAIL PROTECTED] Date: Fri, 17 Sep 2004 18:24:36 -0300 Subject: ColdFusion Calendar To: CF-Talk [EMAIL PROTECTED] Is there an open souce Calender component available for ColdFusion MX? I'm looking for a CF Calendar for our Management High School Courses Application... Cheers Marco [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Javascript submit button vs html submit button
How true is the following statement? : [quote] If you use a _javascript_ form submit button, you have to make sure your form variables dont get too large because the _javascript_ function passes the input to the action page using the GET method, and the total length of a URL and all the URL Variables is limited.If you have a very large amount of form input, you had better use HTML submit buttons and the POST method [/quote] Is this true?Its brought about by an application I'm working on where we might have a hidden form field with as many as 40,000 userIDs passed to the action page in a comma delimited list. Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Javascript submit button vs html submit button
Heheh Andy I didnt believe it myself either.However it's sort of historical to some extent.We have to live with some aspects of the system we're working with.The user gets to select all or some of the members in the membership database, and there are more than 40,000 members.So it's possible they could say yes all of those! and click the Select all button. Anyway, thats how the guy with the money says it's going to work, and there's no money to pay to change the way it works, so we're living with that.I agree with you, Andy i'd rather see those 40,000 refIDs going into even a temporary table or something, just in case there's a hiccup at the moment of submitting the form. Thanks for your thoughts. I'm going to have a try with a set of 40,000 ID numbers and see what happens. Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year - Original Message - From: Andy J [EMAIL PROTECTED] Date: Wed, 15 Sep 2004 13:27:35 +0100 Subject: Re: _javascript_ submit button vs html submit button To: CF-Talk [EMAIL PROTECTED] Wow, one question, do you need to actually pass 40,000 user id's, thats make you page site huge? [snip] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
OT: Gmail isnt the be-all and end-all for flashcoders
I've found out that you can't post to flashcoders from gmail apparently, because gmail doesnt offer any way to send text-only mail. Since flashcoders apparently rejects html email, and gmail only sends html email, you can't post to flashcoders if you use gmail. that's a lesson to learn if it's ever proposed to ban html email on cf-talk.It'll mean all those people who scrambled to get gmail accounts wont be able to post. Or have i got the wrong end of the stick again? -- Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Preparing to upgrade from CF5 to CFMX6.1
I have a client who's about to decide to make the leap to the 21st century andupgrade to CFMX6.1 It's a while since I did it, and I've forgotten all the things that broke and/or had to be redone in a better way. is there a preparation checklist anywhere for upgradeing?to check we've upgraded our code to the right standard before we move?That we've taken account of all the gotchas? Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Download link broken on Macromedia.com
I've been trying to update my FLASH MX2004PRoand all I get from http://download.macromedia.com/pub/flash/updates/mx2004/flmx2004_702update_en.exe is page is not available Does anyone have another link to the Flash updater please? (before you send 'works for me messages,I've tried it in three different browsers,using both click on the link and right-click and select 'save target',and i've typed the url into a browser and this has been over a few days now.All to the same effect - page not found) Anyone able to help me please? - Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Download link broken on Macromedia.com
I also tried it using FlashGet, which also told me the file is not available.A big red X. I've downloaded other .exe files recently,so it's not a firewall issue I dont think. Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Download link broken on Macromedia.com
I dont know why it wouldnt work from this PC.I ended up downloading it from another pc about 20 minutes ago. The only thing that's changed between these two machinesis i have installed WInXP SP2.But I didn't think that affected this if the WIndows Firewall is turned off. It didnt prevent me downloading it with a warning 'warning - downlading things like this can make you sterile and cause your plants to wilt ... kind of thing.Oh no it gave me a page could not be found error. On IE, Netscape, Opera, and Firefox, and also on FlashGet. Anyone know why this could be? Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year - Original Message - From: Sean Corfield [EMAIL PROTECTED] Date: Mon, 13 Sep 2004 22:21:35 -0700 Subject: Re: Download link broken on Macromedia.com To: CF-Talk [EMAIL PROTECTED] On Tue, 14 Sep 2004 09:34:30 +1000, Mike Kear [EMAIL PROTECTED] wrote: I've been trying to update my FLASH MX2004PRoand all I get from http://download.macromedia.com/pub/flash/updates/mx2004/flmx2004_702update_en.exe is page is not available It downloads just fine for me... the 68Mb file took about three minutes to download. -- Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Need flash help ...
I need some help with a flash application ... is there a flash list similar to CF-TALK where I can ask my questions? Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Need flash help ...
Thanks Dave,actually it's not ColdFusion I need help with.The Flash has to use an XML file, and that can be generated by anything. Thanks for the warning,I'll make sure I dont mention ColdFusion at all g I've found PHP people get in a tizz before if you mention ColdFusion. Instead of discussing the issue at hand, you waste time debating over whether PHP is better than ColdFusion.(In that case I wanted to try to have a PHP user consume a web service but never did get any help, even after 4 months of trying.I ended up giving up on it). Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year - Original Message - From: dave [EMAIL PROTECTED] Date: Sun, 12 Sep 2004 03:36:15 -0400 Subject: Re: Need flash help ... To: CF-Talk [EMAIL PROTECTED] what do u need help with? there is dave watts flash list at figleaf but its predominantly php ppl whos panties get all wadded up if u breathe the word coldfusion cause its not free and everyone has to pay $1200 to use cfm, lol this is a good one http://www.flashmx2004.com or if u want personal service join up at www.communitymx.com, they have very good forums [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
CF5.0 and XML
How easy is it to produce XML in CF5.0?I know that in CFMX there are a host of great XML-related tags, to make it easy, but what about turning a query into XML in CF5.0? It is straightforward?Are there any tutorials? -- Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
I HATE Technical Book Authors!!!!!!!!!!!!
[rant mode on] Well not ALL technical book authors.I have been trying to get my head around a flash problem today,and I spent three valuable hours, while the deadline clock ticked away looking through books about flash, and NOT ONE of them actually MENTIONS the version of flash it's written for. Oh I know why ... they want to keep on selling their book to mugs who dont know the product doesnt match their old version of the book. But that doesnt help me as a developer. For example, I saw a book called Flash and XML - A Developers Guide, by Dov Jacobson and Jesse Jacobson.NOWHERE does it mention the version of flash it's written for.The only way to tell it's not for FlashMX is the screenshots in the text, which dont look like WindowsXP, and the publish date, hidden away in the VERRY small fine print on page viii.What use is that?How many people, thinking XML is pretty new, and up to date, will be duped into buying the book only to find that it's totally useless for their FlashMX because few of the commands for FlashMX are where they used to be in Flash 5? Part of the trouble with Flash is that every new version has commands in a new place.I can never remember from one month's end to the next how the hell to do anything.For example it took me 4 hours today to produce a simple rollover effect on an object. I tried 4 different tutorials only to give up on them because either the author of the tutorial assumed the reader had more than a passing knowledge of the product, or it was for a different version and there was no mention of what version it was written for.So after half an hour of working through his tutorial I had to give it away as a waste of time because I couldn't follow it. The bottom line I've never once been able to produce anything worthwhile in flash, aside from a simple banner. Compatible with the other macromedia products?Common user interface?RUBBISH IT's NOTHING like it! [/rant mode off] -- Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Calendar of Events
That calendar is at Coldgen.com.And it's free.It's a good'un and built in Fusebox And it works on CF5/SQL2000. Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year - Original Message - From: Donna French [EMAIL PROTECTED] Date: Thu, 9 Sep 2004 15:26:42 -0500 Subject: Re: Calendar of Events To: CF-Talk [EMAIL PROTECTED] forgot to say CF5 and SQL 2000 - Original Message - From: Tim Laureska [EMAIL PROTECTED] Date: Thu, 9 Sep 2004 16:12:10 -0400 Subject: RE: Calendar of Events To: CF-Talk [EMAIL PROTECTED] Here's a couple basic ones: http://www.londonderryeaston.com/calendar/calendar_public.cfm (I saw this code posted on the list at some point and modified it... think it was done in fusebox originally) http://208.249.126.159/calendar/webcalendar_first.cfm -Original Message- From: Donna French [mailto:[EMAIL PROTECTED] Sent: Thursday, September 09, 2004 3:52 PM To: CF-Talk Subject: Calendar of Events We have a lot of events here at our retail store coming up and I'm considering implementing a calendar for our web site. Just need something to post on the home page and then link to a full size calendar where people can click and view full details. I'm sure some of you have already implemented this or found something. Would like some suggestions. TIA -- Donna French [EMAIL PROTECTED] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: any issues with XP sp2 on your CF development machine?
I've been using mine on two machines for 2 days - no issues at all so far.I've got a IIs web server, and CFMX6.1 and SQLServer2000 all running on it - no negative effects at all, and remarkable drop in internet annoyances - popups, ads, unwanted cookies etc. But all the same,follow Mr Gates's advice on backing up your system before you do it.Other wiseyou are relying on the wits of some tired, jaded, coding monkey (!) in Redmond to know what ought to be backed up. Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year - Original Message - From: Daniel Farmer [EMAIL PROTECTED] Date: Mon, 06 Sep 2004 05:25:36 -0400 Subject: any issues with XP sp2 on your CF development machine? To: CF-Talk [EMAIL PROTECTED] -- [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Anyone know what to do about this please? Error Establishing Socket
We're getting the error as follows: [Macromedia][SQLServer JDBC Driver]Error establishing socket. Connection refused: connect I think this is to do with the hosting company - is there anything we might do as site owners and developers to cause this?I think its something we're going to have to get WebCentral onto fixing, but is there anything else we can look at in our own code that might cause this error? Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Cannot establish socket -
We're getting the error as follows: [Macromedia][SQLServer JDBC Driver]Error establishing socket. Connection refused: connect I think this is to do with the hosting company - is there anything we might do as site owners and developers to cause this?I think its something we're going to have to get WebCentral onto fixing, but is there anything else we can look at in our own code that might cause this error? Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Anyone know what to do about this please? Error establishing socket
We're getting the error as follows: [Macromedia][SQLServer JDBC Driver]Error establishing socket. Connection refused: connect I think this is to do with the hosting company - is there anything we might do as site owners and developers to cause this?I think its something we're going to have to get WebCentral onto fixing, but is there anything else we can look at in our own code that might cause this error? Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Anyone know what to do about this please? Error establishing socket
I think most people are pointing to the same root cause then..The ip address is set in the CF Adminstrator by the hosting company when we set up the site, andsince we havent changed the Application.cfm file (which passes the username and password as application variables) for over 18 months,that looks like the cause of the problem is at the hands of the hosting company (Let me hasten to add this client is not hosting with my company.ok?NOT MY COMPANY!!) Thanks for your help everyone.Looks like i have a call booked for tomorrow to WebCentral. Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year - Original Message - From: Dave Watts [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] We're getting the error as follows: [Macromedia][SQLServer JDBC Driver]Error establishing socket. Connection refused: connect I think you usually get that error when you're not specifying the right IP address and port to connect to the database (or, of course, when the database listener isn't running). Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Suggestion for Windows HTML editor
I can't see where Dreamweaver wont do everything you want.Just change to code view and you're home and hosed. If that's still not what you want, try UltraEdit.It has most of what you want. It's lightweight, fast,can handle files sizes as big as your hard drive, has syntax highlighting, an FTP inbuilt,can search and replace over entire directories or disks ifyou want.It's notepad on steroids, or Dreamweaver without the extras.If you want an all-purpose editor for a machine without a lot of RAM, UltraEdit's the way to go.(http://www.ultraedit.com) Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year - Original Message - From: Damien McKenna [EMAIL PROTECTED] Date: Tue, 7 Sep 2004 15:07:33 -0400 Subject: Suggestion for Windows HTML editor To: CF-Talk [EMAIL PROTECTED] I'm looking for a HTML/CFML editor for Windows with the following requirements: [snip] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
CF5.0 - sending many emails
I seem to recall that in CF5.0 there was a problem that occasionally the server would send an email dozens, even hundreds of times to the same person if there was a hiccup between CFMAIL and the OS mail server.Does anyone remember this? We have this problem and need to find a solution.The client's saying we'll need to buy another mail server, but I think i recall that was one of the fixes that was incorporated in the 5.1update. Does anyone else remember? And is the CF5.1update still available? I'm sorry I dont remember myself.It's all so long ago. ah ... how time passes! -- Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Displaying a dynamic map - how?
Claude, this looks great.I think it'll do the job well.Our static map is at http://www.tallwoods.com.au/r_stages/r_stage6plan.html and as you can see it's got less than 100 lots to sell, so therere would be room for allocating that many colours to the tag.I guess one of the problems with this approach is if you have too many colours taken up for the tag to modify, you dont have anything left to draw the non-dynamic parts with.But in this case it looks like the approach will work. And it will get us around a problem the client dropped on us last night - it's a retirement village, and a lot of his prospective buyers have netscape4 browsers.So things like using CSS2 or flash arent goin to work.any browser should be able to display a gif though, and all the processing is done on the server.I like it. Please let me know when it's on the tag gallery. Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year - Original Message - From: Claude Schneegans [EMAIL PROTECTED] Date: Mon, 06 Sep 2004 21:11:27 -0400 Subject: Re: Displaying a dynamic map - how? To: CF-Talk [EMAIL PROTECTED] Ok, you can see a preview of the tag here: http://www.contentbox.com/claude/customtags/mapdata/mapdataDoc.cfm It should be available at tagStore in a couple of days, when the docs is completed. In your case, you would just need a table for all your blocs, each bloc should use a specific color in the palette and have the color index in a column, finally, each bloc could have all possible values in a status column, ie: 1 = sold, 2 = available 3 = on holding deposit, etc... Use a STEP of 1 -- [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Displaying a dynamic map - how?
Thanks for your advice Jim.I never cease to be amazed at the amount of knowledge on this list.Collectively, I think CF-Talk comprises all there is to know about ColdFusion and its applicatoins. Anyway, Jim, I spoke to the client today again and he has a vector version of the map graphic.It's either a Illustrator file or a Freehand file,either way I can import it into Freehand and then work on it from there.I think image files can go directly into Flash2004Pro from Freehand.Or if not, saving it to EPSformat will allow it to be imported into almost anything.But having a vectorised drawing will most definitely cut down the amount of work i have to do, and if i'm careful it'll make sure i dont have to verify the accuracy of every detail, because it's the client's work not mine. Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year - Original Message - From: Jim Davis [EMAIL PROTECTED] Date: Tue, 7 Sep 2004 00:52:50 -0400 Subject: RE: Displaying a dynamic map - how? To: CF-Talk [EMAIL PROTECTED] You don't have to tell me how much of a pain the ass maps can be.;^) The New Year's Eve site I do (www.firstnight.org http://www.firstnight.org/ ) needs a fairly complex map of Boston with locations and special markers which of course change every year.I've been doing the site going on nine years and the map is always one of the most challenging aspects. If you do what to vectorize it then I would first try to eliminate as much detail as you can from the map.For the conversion process you don't need any of the text, doted lines or cars for example.You might then posterize the image to cut down on the number of colors (it'll make for a cleaner trace). This looks like a surveyors map - you might want to see if you can get a hold of the pure lot map without the trees - that would make things much simpler. In fact if you might see if there's a digital original.It doesn't look to me like this was hand-drawn - many of the features are exact clones of each other.(Of course I still want to date Jessica Rabbit so my grasp of what's real and what's generated is tenuous at best).At the very least see if you can snag a higher resolution version to do the trace. After the trace most programs offer a node reduction tool (hopefully automated) that will simplify the vector at the cost of some detail. Once you've got the trace you could just use the lot shapes as an overlay using the real map as the base layer.If you did go with Flash you could make some very nice transparency effects using them. It's tedious as hell, but do the kind of thing you're talking about you're going to have get into this map pretty deeply anyway and a lot of this stuff just needs to be done by hand. Jim Davis [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
I have 6 GMAIL invitations too.
If you want GMAIL, just respond off-list to this address.If you respond on-list I wont give them to you. Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Displaying a dynamic map - how?
I have a prospective client - a real estate developer who has a subdivision we're proposing a site for. He wants a map of his subdivision and wants to have the colours of the various blocks change depending on their sale status showing in a query when the page is called. (i.e. sold, available,on holding deposit etc). What's the best way to be changing the colours of the blocks, given that they're not rectangular and all different sizes? Before you yell FLASH REMOTING!it's CF5.0 only, not CFMX so flash remoting isn't an option. IS DHTML a way to go here, with layers changing colour based on the value of the 'status' field?or perhaps CSS? How would you do it in flash without using remoting? Any ideas? -- Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
K@ verity issues upgrading to CFMX?
A client is considering upgrading from CF5 to CFMX, but they're worried about whether their K2 Verity functionality is going to break. Has anyone had to handle this aspect before?Is the upgrade as reliable with K2 Verity as it is with everything else? Any gotchas? Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
OT How to prevent someone changing my home page
( Sorry for the Off Topic post, but you're the guys who will know what I'm looking for ) There's a spyware app or trojan or something changing the home page on my browser all the time and it's giving me a lot of heartburn.Every time I delete the app that changes it, and all references to it in the registry, it finds its way back again. I'll track it down eventually but in the mean time, is there a way to disable the changing of the home page on IE, so while I might not get rid of this damn application, at least it can't keep on altering my home page? (My home page is set to the home page of my intranet, which has a whole screen full of my oft-used links) Cheers Mike Kear AFP Webworks Windsor, NSW, Australia http://afpwebworks.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: OT: Mach-II
The original question was does your organisationuse Mach-II? and so far lots of people have said we don't or we made our own but no one's said yes we do. Does anyone actually use it? Has Mach-II really missed the mark then? Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: user control - permissions - roles...
[Original message]--- From: Nick Han [mailto:[EMAIL PROTECTED] Sent: Saturday, 22 May 2004 6:51 AM I would recommend using permission objects-base framework over roles-based.Problem with relying on roles is that when you need to allow another role to insert or update, you have to go through the templates where inserts or updates are referenced and change the code.Very inflexible. But if you're using permision objects-based model, you assign that object id to any number of roles, and if the loggin user has the role which contains that ID, then access is granted. You can write a udf that could do something like this. cfif isAllowed(update user record) show update link here /cfif Nick, I'm trying to understand how this would appear in practice.Does this mean you'd have a table of authority levels or groups, a table of things they could do, and a many-many table linking them together? In which case a user would have a record in the user table,a number of records in the user-groups table linking the user to one or more groups? Is this how it would be?: Tbl_USERS(All user information) Userid Username etc Tbl_GROUPS(Group names) GroupID Groupname Tbl_AUTHORITYLEVELS (Authority Levels) AuthorityLevelID Authorityname Tbl_TASKS(The tasks different groups can perform) TaskID TaskName Tbl_USERSGROUPS(allocates users to groups) UserGroupID UserID GroupID Tbl_GROUPAUTHORITIES(allocates authority levels to different groups) GroupAuthorityID GroupID AuthoritylevelID Tbl_TASKSAUTHORITIES(Allocates tasks to different authority levels) TaskAuthorityID TaskID AuthorityLevelID Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: user control - permissions - roles...
[Original message]--- From: Nick Han [mailto:[EMAIL PROTECTED] Sent: Saturday, 22 May 2004 6:51 AM I would recommend using permission objects-base framework over roles-based. Problem with relying on roles is that when you need to allow another role to insert or update, you have to go through the templates where inserts or updates are referenced and change the code. Very inflexible. But if you're using permision objects-based model, you assign that object id to any number of roles, and if the loggin user has the role which contains that ID, then access is granted. You can write a udf that could do something like this. cfif isAllowed(update user record) show update link here /cfif Nick, Im trying to understand how this would appear in practice. Does this mean youd have a table of authority levels or groups, a table of things they could do, and a many-many table linking them together? In which case a user would have a record in the user table, a number of records in the user-groups table linking the user to one or more groups? Is this how it would be?: Tbl_USERS (All user information) Userid Username etc Tbl_GROUPS (Group names) GroupID Groupname Tbl_AUTHORITYLEVELS (Authority Levels) AuthorityLevelID Authorityname Tbl_TASKS (The tasks different groups can perform) TaskID TaskName Tbl_USERSGROUPS (allocates users to groups) UserGroupID UserID GroupID Tbl_GROUPAUTHORITIES (allocates authority levels to different groups) GroupAuthorityID GroupID AuthoritylevelID Tbl_TASKSAUTHORITIES (Allocates tasks to different authority levels) TaskAuthorityID TaskID AuthorityLevelID Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Daily Tip help...
I have several of these things,displaying random tips or random quotes. They all work flawlessly in SQLServerwith a query like: Select top 1 Tipid, Tip, Source, SourceEMail from Tips Order By NEWID() Each time the query is run, it produces a query containing a single record taken at random from the table.If you wanted to run it only once per day, you could put it in a scheduled task, and put the result into an application variable, or perhaps have a CACHEWITHIN parameter set in the CFQUERY tag. Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com _ From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Tuesday, 18 May 2004 12:52 PM To: CF-Talk Subject: RE: Daily Tip help... or, actually... cfquery name=set_new datasource=myDSN UPDATE tips SET active_tip = 1 WHERE tip_id = #randRange(1-100) --if you have 100, or whatever your total is /cfquery since you probably will not have a 0 :) also, your integer mismatch was most likely on the new() creating a uuid there, and not an INT which that column seems to be. tony [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: ANNOUNCE: WorldWide Macromedia User Group meeting, sneak peaks and Community week.
It costs me half a day's production from my one-man shop because I have to make a 1.5 hour trip each way.They are therefore quite expensive for me, even though there's no ticket price.So I don't go to these things unless they give some idea of what it's about. The last one I went to was not quite a waste of time, but was ruined by poor sound hookup, and right at a critical point in the QA, when a question was asked I needed the answer to, someone decided that was a good time to finish the presentation and started making noise handing out tshirts and pens and other stuff.So the thing I'd travelled all that way to find out about, was the very thing I didn't get to hear Unless I hear something about what's in the meeting I wont be going. Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com http://afpwebworks.com/ _ From: Adrocknaphobia [mailto:[EMAIL PROTECTED] Sent: Thursday, 13 May 2004 9:37 AM To: CF-Talk Subject: Re: ANNOUNCE: WorldWide Macromedia User Group meeting, sneak peaks and Community week. Jeah, that last one was pretty pointless. They just kept going on and on about CSS.. you'd think they had just invented it! -Adam -Original Message- From: Irvin Gomez [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 11:29 PM To: 'CF-Talk' Subject: Re: ANNOUNCE: WorldWide Macromedia User Group meeting, sneak peaks and Community week. If history is any indicator, 4/5 of whatever they announce will be garbage. No reason to get too excited. Irvin In case you haven't heard about this yet. On Wednesday, May 19th, come see the Macromedia Worldwide User Group meeting for sneak peaks of new products. During the rest of the week of May 17th attend chats and seminars online with Macromedia product managers. For more details and speakers go to http://www.cfconf.org/CommunityWeek/ and click on the Community Week logo on the top left of the page. When: Wednesday, May 19th, 2004, 6:30 PM Where: At a Macromedia user group near you (see URL above for listing). Some of Macromedia's Product Managers will be broadcasting to us (and other user groups around the world) via Breeze Live, with never seen before sneak peaks on upcoming product releases! I would love to tell you more but I have no CLUE!!! That's because this stuff is top secret. Members of Team Macromedia don't know. User Group Managers don't know. Only Macromedia knows what will be shown. And you can be among the first outside Macromedia to learn about the new stuff! -- Michael Smith, TeraTech Inc - Tools for Programmers(tm) TeraTech voted Best Consulting Service by CFDJ readers! CF/ASP Web, VB, Math, Access programming tools and consulting 405 E Gude Dr Ste 207, Rockville MD 20850 USA Please check out http://www.teratech.com/ - email mailto:[EMAIL PROTECTED], or call us for more information; in the USA at 1-800-447-9120, +1-301-424-3903 International, Fax 301-762-8185Thanks! _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Shanje refugees
The big thing about Shanje's plan is that they DON'T nickel and dime you. They charge one price and don't care how many domains you have.YOU pay for the disk space, bandwidth etc you use not per domain.Anything you need, you add yourself through the control panel.Ive found the same thing with the setup I have.Almost all the support questions I had disappeared when we installed the current control panel, because the clients could do their own modifications to the plan any time they like - extra databases, additional disk space, additional mailboxes, subdomains,sqlserver2000 databases, mySQL databases,the lot. Give me a day to sort out how to do the practical stuff like issue control panel access and I'll have a plan modelled on Shanje's structure.(although perhaps not the same actual amounts). Karl, If you want to discuss this further, you can email me or find me on MSN Messenger. Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com _ From: ColdFusion Developer [mailto:[EMAIL PROTECTED] Sent: Tuesday, 11 May 2004 8:43 PM To: CF-Talk Subject: Re: Shanje refugees Unlinkearth..(http://www.uplinkearth.com) I have the Quantim plan. WHich allows me, 10 domains and 10 sub-domains. Both Access SQL are available and I have to say, adding Sub-domains on the fly with their control panel is a breeze! Not to mention their support is excellent. Most all cases are answered within minutes. - Original Message - From: Karl Simanonok To: CF-Talk Sent: Tuesday, May 11, 2004 5:57 AM Subject: Shanje refugees I was just notified today that Shanje.com will no longer be supporting its ColdFusion customers after June 1.They even have a web page where they seem to seriously suggest that I should drop everything else I'm doing and rewrite tens of thousands of good, functioning CF code before June 1 so that I may have the privilege of migrating to their new .NET platform. Can anyone suggest an alternative CF host that has most of the best features that Shanje.com offered?I need SQL Server support and lots of domains and subdomains hopefully without getting nickel-and-dimed to death for each new database, domain and email address I set up.I liked Shanje's Web Control Panel even if it was a bit clunky. Regards, Karl S. _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: http_referer
You can't rely on cgi.http_referer.Not all browsers pass it.Either because the software just doesn't, or because the users disable it for privacy reasons. If you really need to pass that across, then I'd suggest creating a hidden field on the previous page containing cgi.Script_Name that gets passed across.That way you're controlling it yourself, and can guarantee the information. Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com _ From: Andrew Grosset [mailto:[EMAIL PROTECTED] Sent: Tuesday, 11 May 2004 11:23 AM To: CF-Talk Subject: http_referer Is there an alternative to cgi.http_referer when checking that a form submission originated from the form page? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Web Service - this gets error . can anyone see why?
I want to consume a web service for converting currencies(at http://www.webservicex.net/CurrencyConvertor.asmx?wsdl )and I used the EXCELLENT implementation in DreamweaverMX to write the code.That drag and drop is an absolute gem for this! Anyway, the resulting page give an error and I cant see why because what's going in seems perfectly logical for what the web service is supposed to do. Here's the code that Dreamweaver wrote: cfinvoke webservice=http://www.webservicex.net/CurrencyConvertor.asmx?WSDL method=conversionRate returnvariable=conversionRateRet cfinvokeargument name=fromCurrency value=GBP/ cfinvokeargument name=toCurrency value=USD/ /cfinvoke Which (I thought) should take the input value GBP and work out a conversion to USD, and return a variable #conversionRateRet#which will be a number such as 1.02, being the conversion rate. However here's what I get: [quote] Could not perform web service invocation conversionRate because java.lang.IllegalArgumentException: argument type mismatch [/quote] And it's highlighting the toCurrency line as the one with the error.Huh? If the 'fromCurrency line is correct, how come the next line isn't?Can anyone see what's wrong?Or is there something else I have to do on the page? Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
PHP site consuming my cfc web service?
I have a friend who is used to consuming RSS feeds, and has a PHP site.I want to let him use my web service, built on CFMX6.1 using a CFC, but the syntax is not what he's used to. The web service is at http://bluegrass.org.au/_cfcs/anniversaries.cfc?wsdl and the method for him to use is getthisweeksevents I know it works because I'm using it myself on another coldfusion site, but he says it has to be one line only, and when he sends my url to his rss feed validator it comes up invalid.(Surprise surprise - its not RSS) Rather than get into a yes-it-works/no-it-doesn't argument with him, what I'd like to do is I'd like to give him the php syntax to make it work. Can anyone tell me please? Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
OT: Need help with Batch file
Here's one for some of you older fellas, who still remember DOS: I needsome help with a batch file for using FTP.(I can't use CFFTP, because it fails at the change to directory - the directory we want includes a space in the name and no matter how I try it won't include the space as part of the name) The commands I'm having trouble with is the get or mget.I don't know the exact file name I need to retrieve because it contains the date.The filename will always be in the form: p_mth_choice_mag_ddmmm_nn.zip where dd is the date, mmm is the month, is the year, and nn is a serial number of some sort.So I was hoping to have the ftp file use get or mget to retrieve p_mth=choice*.zip. When I do this using manual commands,get doesn't work because it doesn't support wildcards, but mget does.However mget wants a y confirmation for each file.How to I put in the batch file to answer Y? Here's the batch file I've written so far: ftp -d -s:C:\Inetpub\wwwroot\project\ftpconfig.txt ftp.comain.com.au And the ftpconfig.txt file contains the following: username password cd Custom extracts\ ourfolder lcd \inetpub\wwwroot\project\files mget p_mth_choice*.zip y quit But this fails because it hasn't got any Y response to the prompt.I know there's a way to have the batch file submit the Y to the script but I'm at a block.Can't remember how to do it, and my old DOS manuals went in the recycle bin years ago. Can anyone help? Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Need help with Batch file
Thank you Dirk!That did the trick.Although a slight correction - there's no need to add the Y response at the end of the next line.The prompt command eliminates the need for a response. I do appreciate your help. It's been a long time since I tinkered with batch files. Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com _ From: Dirk De Bock - Lists [mailto:[EMAIL PROTECTED] Sent: Thursday, 8 January 2004 8:12 PM To: CF-Talk Subject: Re: Need help with Batch file I think you can issue the 'prompt' command before the mget, this enables or disables prompting for an mget download so something like username password cd Custom extracts\ ourfolder lcd \inetpub\wwwroot\project\files prompt mget p_mth_choice*.zip y quit good luck [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Rss feed chokes at the registered trademark symbol. Now what?
I'm taking afeed from http://www.cybergrass.com/newsrss10.php and the file recovered by cfhttp url="" method=get chokes at the registered trademark symbol, giving me an error message instead of a nicely formatted news page. Can anyone tell me what to do about this? I have already tried setting the next line after the CFHTTP to be as follows: Cfset temp = #replace(cfhttp.filecontent, reg;, , ALL)# but it doesn't fix the problem.#temp# is still truncated at the point where the registered trade mark symbol appears. How else can I strip out the symbol, or alternatively get around the fact the feed truncates at that symbol? I'm using ColdFusionMX6.1 and Win2k. Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Rss feed chokes at the registered trademark symbol. Now what?
Thanks for your suggestion Jochem.How would that work though, because at least according to Ben Forta's book, there's no Charset attribute. Is that an addition on v6.1? And what setting should I give it? Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com _ From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Friday, 26 December 2003 9:24 PM To: CF-Talk Subject: Re: Rss feed chokes at the registered trademark symbol. Now what? Mike Kear said: I'm taking afeed from http://www.cybergrass.com/newsrss10.php and the file recovered by cfhttp url="" method=get chokes at the registered trademark symbol, giving me an error message instead of a nicely formatted news page. Can anyone tell me what to do about this? Use the charset attribute of cfhttp. Jochem _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Rss feed chokes at the registered trademark symbol. Now what?
Yep that did the trick!Thanks Jochem.Charset isn't in Ben Forta's books as one of the attributes of cfhttp.I guess it was added to v6.1 after the books were written.Since I use Ben's books as my guide and mentor,I didn't even think of it. Thanks a lot! Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com _ From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Friday, 26 December 2003 9:24 PM To: CF-Talk Subject: Re: Rss feed chokes at the registered trademark symbol. Now what? Mike Kear said: I'm taking afeed from http://www.cybergrass.com/newsrss10.php and the file recovered by cfhttp url="" method=get chokes at the registered trademark symbol, giving me an error message instead of a nicely formatted news page. Can anyone tell me what to do about this? Use the charset attribute of cfhttp. Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CF Hosting
Do you want to be a reseller of this space or are you the client here, John? We can handle nearly all of that, but we don't have a reseller program - its not in our business strategy.We'll work with you and be as flexible as anyone anywhere, but a reseller program is something we haven't built in yet.So it means the control panel you'll get is the end user control panel not a reseller's one. We have no disabled tags except CFREGISTRY but if you needed it, we could consider it.But no promises.We don't really want to expose everyone to risk of one person making a mistake using it. We will allow any CFX tags, but we want to install it for you and we want to see what it does first.If there's a risk to other clients we'll work to find another way of doing what you want, but so far we've never had to say to anyone 'Nope you can't do that (which was a regular occurrence when I started out hosting). Why do you need IMAP?Will POP3/SMTP do for what you need? Otherwise .. we have Win2K, SQL2000, CFMX6.1users get their own control panel to set up their email accounts etc themselves, set up databases, ftp sites etc. For fuller details see http://afpwebworks.com/index.cfm?fuseaction=DisplayDocument http://afpwebworks.com/index.cfm?fuseaction=DisplayDocumentDocumentID=4 DocumentID=4(NOTE:If you're comparing prices based on this, they are quoted here in Australian dollars including GST.We can bill in any currency if you use a credit card, and if you're not doing business in Australia, that takes 10% off the price because we don't have to charge you GST). As a guide, the prices shown on our page would be about 2/3 if expressedin US dollars for a non-Australian company at today's exchange rate). Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com _ From: Burns, John [mailto:[EMAIL PROTECTED] Sent: Wednesday, 24 December 2003 3:43 AM To: CF-Talk Subject: CF Hosting Ok, I know this has been asked multiple times, but I want to see if anyone has a direction for me based on my specific needs... I need to find a hosting company that meets the following requirements. This can be done through a shared hosting or dedicated server, but I'm trying to find a reliable, low-cost solution for hosting approximately 20 sites (growing in the near future).The hosting must: - CFMX 6.1 - allow the use of ALL CF tags (no disabled tags) - windows server OS preferred - tape backups - company support for hardware and maybe some software issues - MS SQL server - POP/IMAP support I think that covers it.If you have any suggestions, please let me know.I have considered the co-location option, but I'm somewhat afraid of depending on a single server for all of that load.Thanks John _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CF Hosting installing CFX tags
A hosting company that doesn't consider adding CFX tags for a client doesn't really understand ColdFusion, and I'd wonder whether they're serious about supporting it. There are two main concerns with CFX tags - [A]are there likely to be any consequences for other clients of the misuse of this CFX tag?(for example heavy use of the processor, hogging the RAM perhaps, opening up security holes),and [B] since it's installed and available to anyone on the system,what if other clients start using the CFX tag?Will there be any consequences then? Copyright/licensing issues perhaps?Misuse or incorrect use leading to the sorts of problems described above. For the vast majority of CFX tags, these aren't issues and we'd just install them and let the client go ahead and use them.For some we'd want to take a little while and test them or verify the licensing etc. It also depends somewhat on the client.Some clients shouldn't really be allowed to walk the streets without a nanny holding their hands, others know what they're doing and you can leave them to their own devices. But in short, we'd consider any CFX tag (or CFC, mapping, DSN, or any other CFAdministrator settingtoo if it comes to that) and decide whether to do what's asked depending on the circumstances.If the answer has to be 'no', we'll try to find an alternative way to do what the client wants. The default answer is YES.(Unlike when I started hosting - my first sites were at SHANJE.COM where the default answer is NO!and the exception answer is YOU'D BE KIDDING! -NOT A CHANCE!) Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com _ From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Wednesday, 24 December 2003 5:29 AM To: CF-Talk Subject: RE: CF Hosting What is the consensus on the use of custom tags/cfx tags with most CF hosts? Do most work with you? Will they review its use before implementing it? Any thoughts would be appreciated. ~Che [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
CFFTP problem.. anyone see how to get around this?
I'm trying to write a template to retrieve a file from a remote location and process it.The problem is that CFFTP cant find the correct directory on the remote site because the directory name has a space in it.Anyone know how to get around this? I'm wanting it to change to directory /Custom Extractsbut I keep getting a message saying that directory /Custom cannot be found. I've tried replacing the space with %20, and using double quotes - is there anything else I can try? Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
CFFTP problem.. anyone see how to get around this?
I'm trying to write a template to retrieve a file from a remote location and process it.The problem is that CFFTP cant find the correct directory on the remote site because the directory name has a space in it.Anyone know how to get around this? I'm wanting it to change to directory /Custom Extractsbut I keep getting a message saying that directory /Custom cannot be found. I've tried replacing the space with %20, and using double quotes - is there anything else I can try? Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Simple way to check for valid date?
I have a form where users enter dates by selecting from drop-down menus for date, month and year.Is there a simple way to check they have entered a valid date rather than a laborious checking for leap year, if the month is april and date greater than 30 etc etc etc? I get errors if they choose 31 September or 30 February etc as you'd expect but I'd rather handle the error gracefully than just display a nasty database error. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Simple way to check for valid date?
YOU'RE KIDDING!!!I looked at that function and came to the conclusion it wasn't for that, but for checking that the format of the string was really a date.Cool. It checks the calendar too. Sometimes the most simple answers are sitting right in front of you and staring you in the face. Thanks Michael. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Michael Wolfe [mailto:[EMAIL PROTECTED] Sent: Friday, 5 December 2003 8:58 PM To: CF-Talk Subject: RE: Simple way to check for valid date? cfif not IsDate(9/31/2003) !--- error code goes here --- /cfif -- Michael Wolfe [EMAIL PROTECTED] -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 12:49 AM To: CF-Talk Subject: Simple way to check for valid date? I have a form where users enter dates by selecting from drop-down menus for date, month and year.Is there a simple way to check they have entered a valid date rather than a laborious checking for leap year, if the month is april and date greater than 30 etc etc etc? I get errors if they choose 31 September or 30 February etc as you'd expect but I'd rather handle the error gracefully than just display a nasty database error. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. _ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Generating Primary Key in Oracle (part 2)
An example of where a common seq would cause problems is if the seq number becomes an invoice number, and the audit trail requires that every number in a sequence be accounted for.This is pretty outmoded thinking now, but some auditors still stick to the rule - I want to see every invoice,IN SEQUENCE, filed in those binders there to verify they are all accounted for. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, 6 December 2003 1:54 AM To: CF-Talk Subject: RE: Generating Primary Key in Oracle (part 2) Deanna wrote: I use a sequence, but I use the same sequence across an application. It cuts down on the number of objects I need to maintain, and makes it so that any one table probably doesn't have too many consecutive primary keys. That is very interesting I've always had a pk sequence for (just about) every table rather than just having one and using that everywhere. Ever come across a situation where this 'one sequence fits all' has tripped you up? Anyone else got any advantages/disadvantages with regards to this? -- I now know how to delimit my sig :-) -dc _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Question about data validation (beginner)
How about something like this: cfset AcceptableList = pie,bar,line,pyramid,area,cone,curve,cylinder,step,scatter cfif (IsDefined(URL.ChartType)) AND (AcceptableList DOES NOT CONTAIN url.ChartType ) pGet lost you bum!/p cfabort /cfif Chart stuff follows here because you have acceptable values. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: John Munyan [mailto:[EMAIL PROTECTED] Sent: Wednesday, 19 November 2003 8:03 AM To: CF-Talk Subject: Question about data validation (beginner) I have a page which accepts several url variables.I want to make sure if someone manipulated the url in the browser and set the value outside what is handled by the page that this is handled. I was thinking I could check for the existence of the url variable and then if set check for the value not being what I am accepting.If the value is not what I am expecting I take corrective action. I am at a lose to figure out how you handle the 'if it's not what I am expecting ' as opposed to the 'I am expecting this, do that' Below is my failed attempt.Any advice? Thanks, John http://www.houseoffusion.com/banners/view.cfm?bannerid=34 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Multiple versions of IE on the same machine!!!
W really clever-clogs developer in Chicago, with far too much time on his hands has figured out how to have several versions of IE on his machine at once.. Read all about it here . http://www.insert-title.com/web_design/?page=articles/dev/multi_IE Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Attempts at banking fraud
In Australia the Microsoft Action Pack is available only to registered partners.You cannot legally buy the US $299 deal and use it in Australia. The Action pack is intended to allow the Microsoft Sales Partners to have fully legit copies of all the latest software, in production environments (but not web sites) running their businesses on the latest stuff, in order to be fully conversant with it when they come to talk to potential customers.It was a clever way to make it more worthwhile for partners to get the software legitimately than the common practice prevailing before the action pack was released - namely buy a copy for inventory or for customer use and make dodgy copies before delivering to customers. It's a splendid idea I think, because suddenly, all those dealers, resellers, recommenders had not only legal copies of the products they normally sell, but the other things they wouldn't normally sell too.Enough to run a small business on. (Larger businesses could afford to buy their own copies of software, Microsoft reasons). I think this is a logic that could prove profitable for Macromedia too.I develop web sites but every time a new version of software comes out, I have to pay to buy full copies of everything(Unless I happen to fluke a freebie at a CFUG meeting!!).If MM want us all to be selling and recommending their products,what better way than to make sure we're all using the latest versions of everything? They wouldn't have to do it for free, or even near-free, as Microsoft has proved.But the MS Action Pack gives the equivalent of the entire business product line for A$500 a year. How many of us were reluctant to update to MX2004 products because of the expense, and the fact that we'd only recently bought MX?How are we all supposed to talk confidently about MX2004 if we're only using MX ourselves? My suggestion?Macromedia start having NFR software available to legit dealers/resellers.At the moment (as I understand it) it's only available to partners, who have to pay some thousands of bucks to be partners.Makes it right out of the ballpark of us small shops. I'm only a one-man business. I can't afford to pay thousands of dollars for anything, no matter how desirable. Specially not if it's going to be out of date in a year, as all software will. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] Sent: Tuesday, 11 November 2003 12:27 AM To: CF-Talk Subject: Re: Attempts at banking fraud Actually, the Microsoft Action Pack Subscription is legit.For $299 you get a whole boatload of software, along with 10 licenses (or 10 CAL's for server products).The catch is that it's only licensed for 12 months.In all, it's a good deal, sometimes made even better...I got mine for $99 after a $200 coupon. Pete - Original Message - From: Peter Tilbrook To: CF-Talk Sent: Friday, November 07, 2003 6:39 PM Subject: OT: Attempts at banking fraud It staggers me that there are people in the world who will attempt to rob others by cleverly imitating a bank/credit unions email to attempt to gain access to someones funds. They usually attempt this with cleverly crafted HTML email messages. Microsoft has also fallen victim to this atttempt at validity by the look of a message alone. I've received a few of these lately. Keep in mind it is highly unlikely that your own bank would ever send you something via email that would ever ask you for personal information (they would more than likely have it already). In fact your bank would not even really need to know your email address at all. Whenever I receive these bogus messages, and I have received several, I forward them to the Australia Federal Police in their entirety. You should do the same to your respective law enforcers (eg: FBI). PS. I'm not even sure if it was a valid email but Microsoft are offering $25,000 worth of software for $299 through their Partner program. It looks legitimate - clever - but probably not the real deal. Peter Tilbrook ColdFusion Applications Developer [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Attempts at banking fraud
Action pack is for MS Sales Partners to use in their own business.It's to give the partners and their staff real life exposure to the products, to have them using all the latest stuff internally.To sell MS products you have to have a relationship with a distributor, and each distributor makes their own decisions as to who to do business with.Microsoft will give you a list of distributors if you contact the sales partner office where you are. I talked about Action pack originally because I think it's an excellent concept and I think Macromedia would do well to consider a similar concept for their own network.I'm not sure it's a great thing to be talking about Microsoft sales policies on a MM list is it?This is supposed to be a ColdFusion technical list. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Adam Wayne Lehman [mailto:[EMAIL PROTECTED] Sent: Tuesday, 11 November 2003 7:19 AM To: CF-Talk Subject: RE: Attempts at banking fraud You can't. As far as I know ActionPack is licensed for internal use only. Adam Wayne Lehman Web Systems Developer Johns Hopkins Bloomberg School of Public Health Distance Education Division [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Calculate the date next Sunday
What a wonderful thing this list is.Here we are, less than 30 minutes after I asked a questionI have an answer from the other side of the globe. This is just magic. Thanks Spike! Looks exactly what I want. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Spike [mailto:[EMAIL PROTECTED] Sent: Wednesday, 5 November 2003 4:53 PM To: CF-Talk Subject: Re: Calculate the date next Sunday Something like this should do: cfset dateOffset = 8-dayOfWeek(Now()) !--- If you want to set the effective date of the transaction as today if the day is sunday --- cfif dateOffset GT 1 cfset targetDate = dateAdd('d',dateOffset,Now()) cfelse cfset targetDate = Now() /cfif !--- If you want to make sure that transactions take at least 24 hours --- cfset targetDate = dateAdd('d',dateOffset,Now()) Spike Mike Kear wrote: I have a task where I have to insert the effective date of a transaction, which is the following Sunday, regardless of the day the form is submitted. Anyone know of a UDF or other functionality that'll work that out? Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Calculate the date next Sunday
Brisbane!Oh,I saw the .co.uk address and assumed you're in the UK lamenting the lack of a rugby team. Instead you're in Brisbane, looking forward to the advent of the twentieth century some time soon. Thanks anyway Spike, your snippet of code is just the bees knees. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Spike [mailto:[EMAIL PROTECTED] Sent: Wednesday, 5 November 2003 5:45 PM To: CF-Talk Subject: Re: Calculate the date next Sunday Not exactly the other side of the globe... I'm in Brisbane at the minute ;) Spike [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: OT- Dynamic Page Layouts
Two ways to achieve what Mickael wants.Remember that Mickael's problem was NOT how to include the code on the page ,but how to make sure it always appears at the lowest point on the page.So he has a layout issue, not a CF Inclusions issue. Method [a]:CSS.Use a DIV=footer tag around the footer text and absolute positioning in the stylesheet so that it's positioned at the bottom of the window.If you don't want to use the modern way to position elements on a page, you'll have to divide up the page using tables... Method [b]Use a table for the overall page structure like this (simplified somewhat for clarity): .!--- header include starts here . --- .body .table .tr .td colspan=3 Header stuff- logo, images, etc. ./td ./tr .!--- header include ends here . --- .!--- Left nav include starts here . --- .tr .td Left nav bar contents/td .td .!--- Left nav include ends here . --- Main body of the page - the big box in the middle of the window .!--- Right column include starts here . --- ./td .tdRight Column contents/td ./tr .!--- Right column include Ends here . --- .!--- Footer include starts here . --- .tr .td colspan=3 Footer stuff- a footer include file ./td ./tr ./table ./body ./html Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: ColdFusion workshop - any ideas?
Based on the topics you are listing, I'm assuming they're pretty well educated in web techniques and dynamic pages, presumably by using .asp and .php or other technologies. My suggestion would be to keep the comparisons low key.Let ColdFusion speak for itself whether it's better than .asp or not.For example,when you're talking about doing a database query, it'll be tempting to say .. and with coldfusion you can connect to a database and do a query with only a couple of lines of code, rather than the .asp you're used to which you have to do all this stuff. . If they know .asp, they'll know how much they have to write to connect to a database and do a query. If you come across as overly preaching, they'll turn off. Just show them how easy it is to do a query in coldfusion and they'll make the comparison themselves.And you wont look like you're trying to ram it down their throats. Of course if one of the attendees wants to say how easy that is compared to what they're doing now, I would give him all the time in the world to say so. Another thing that'll be tempting is to tell them how great CFMX is, in an effort to get a movement going to upgrade.I strongly urge you to hold that in check too.If you tell them too many times .. and with the new CFMX you can do this..you'll come across as telling them lots of things they can't have.A mention of flash remoting perhaps and the easy reuse of code with CFCsbut keep that low key.CFMX will sell itself once you get some of them converted to CF thinking.I would have thought what you want to end up with is a whole lot of disciples who love the CF5 they have and who will start using it.Once they get immersed in CF, the new version will happen, as long as you've planted the seed.If you try to plant a whole forest, I think you'llhit a lot of resistance. Just my thoughts. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, 5 November 2003 2:32 PM To: CF-Talk Subject: ColdFusion workshop - any ideas? G'day, I've been given the un-enviable task of bringing non ColdFusion programmers and total newbies up to speed with ColdFusion - only version 5 at this stage but MX will be plugged. [snip] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Calculate the date next Sunday
I have a task where I have to insert the effective date of a transaction, which is the following Sunday, regardless of the day the form is submitted. Anyone know of a UDF or other functionality that'll work that out? Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. . [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Update: Memory Leak on Win2k/CMX6.1
Tom, thanks for your interest in this issue. First of all let me say that I've had my dev server running flawlessly since installation.I also have clients who have dev servers running CFMX6.1 without problems.So I'm not beating up on CFMX. But there are also lots of people who are having problems, and no one seems to have solutions.My Sysadmin and I have looked around forums including this one, and there are quite a few people who have the same (or perhaps just similar) issues. After a while, CFMX just stops, and brings the whole server to a halt. In our case, jrun.exe grew and grew until there was no space left and it strangled the server.We would reboot the server and everything would be fine.4-5 hours later, everything's stopped again. So .. we started a program of leaving one component of the web server out of the mix each time to see if we could find the culprit that way.I wrote that message the other day when we had started everything except the SMTP server and we'd had nearly 3 days without the box locking up.Now I don't know exactly how the SMTP server related to this issue, but all I know is when SMTP was stopped, the box kept running. (I am but one reseller of several on this box, and the sysadmin isn't subscribed to CF-TALK which is why I post messages here on his behalf.I'm not in a position to say whether the problem could be caused by one of the other users' CF code, but I know I use CFMAIL for simple things.)So we've installed a new mail server last night, and the jury is still deliberating on whether that's working better. I would like if someone from Macromedia would be talking directly to the Sysadmin so more complete and reliable information about the configuration and logs etc can be passed. My reason for posting anything here on CF-Talk about this was NOT to thump Macromedia or to pour scorn on CFMX6.1, because I think it's a great product.I'm currently working on a big project on a very large site that's being rebuilt in CFMX.No problems there either.No, I posted because it was obvious to me that while most CFMX6.1 installations were very robust, there were some that were nothing but problems, and there was areal shortage of solutions around. Looks like that's going to change now, and that's a good thing. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Tom Jordahl [mailto:[EMAIL PROTECTED] Sent: Tuesday, 4 November 2003 12:21 PM To: CF-Talk Subject: RE: Update: Memory Leak on Win2k/CMX6.1 Mike, I am glad to hear that you have identified the problem. What exactly do you mean by stopped the SMTP server? How exactly does the SMTP server relate to your CFMX server? Do you use CFMAIL in your application?Was mail going out? Was there any errors in the mail log?Was the server hanging? Did you specify a backup SMTP server (if running Enterprise)? Do you have a template that can reproduce the problem? Looking forward to more info. -- Tom Jordahl Macromedia [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Update: Memory Leak on Win2k/CMX6.1
It looks as though we might at last have identified the culprit:After our Sysadmin spent ages searching the forums about stalled servers, we thought it might be our mail server, since we're also getting mail issues.So on Friday we stopped the SMTP server and left everything else alone. Now on Monday morning, the sites are all still running fine - in fact they're running fast - and everything else seems to be operating normally.I checked nervously a dozen times during the weekend and everything remained going well. So .. while the jury's still out, it doesn't look good for the SMTP server. More detailed information once we have finally determined that's the cause. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Saturday, 1 November 2003 5:44 PM To: CF-Talk Subject: RE: Memory Leak on Win2k/CMX6.1 Well we have major issues with our server locking up every day.EVERY Day. [snip] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Memory Leak on Win2k/CMX6.1
Well we have major issues with our server locking up every day.EVERY Day. We've applied the SQL Patch,where you revert to the drivers used in 6.0. We've seen jrun.exe grow day after day till it finally pulls the server to a halt and locks everything up.Researching it, there are a gazillion people talking about memory leak problems on forums around the net, but no one has any solutions.I too wonder if MM is looking at this issue, because we are trying to implement some apps using 6.1 code and we can't.We can't load up a site on a server that's going to lock every day and give users timeouts or not founds or page cannot be displayed. Last night we figured we'd try what someone else said they'd tried . we put a script to check the size of jrun.exe every hour, and if it got over 100MB, then the script would stop the services and restart them.But that hasn't helped.Our servers are locked now once again. I've been watching people complaining about memory leaks and servers locking ever since 6.1 was released, and I have not seen a lot of advice or solution information coming from Macromedia. Quite frankly we're at our wits end, and I'm getting sick of losing clients over our flaky server.We haven't had a single day where the server is up all day since we installed 6.1. Not one.And we installed 6.1 two days after it was released.Since we give a performance guarantee, we've had no hosting revenue at all since 6.1 came out. Macromedia?Theserver never ran properly ever since it was installed, and it's a bloody dog.When it runs, its beauty to behold.But 4 hours later I'm fielding angry calls from clients.It's not worth it.When are we going to see some kind of solution for this?Just look at the CF forums around the net and see how many server owners are bitching about memory leaks.Bout time you owned up to it isn't it? Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Adam Churvis [mailto:[EMAIL PROTECTED] Sent: Saturday, 1 November 2003 6:02 AM To: CF-Talk Subject: Re: Memory Leak on Win2k/CMX6.1 Check this out, Joe: http://www.macromedia.com/support/coldfusion/ts/documents/conn_pool_hotfix.h tm I applied it yesterday.Very straightforward.I hope it solves your problems. Respectfully, Adam Phillip Churvis Member of Team Macromedia Advanced Intensive ColdFusion MX Training ColdFusion MX Master Class: January 12 - 16, 2004 http://www.ColdFusionTraining.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
OT: SQLServer2000 and Win2003? any issues?
A question on behalf of my web hosting provider . are there any limitations in installing MS SQLServer2000 with the web edition of Win2003? He says he has heard there are issues but hasn't heard details.Has anyone done it? Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: SQLServer2000 and Win2003? any issues?
So Doug are you saying that you wouldn't recommend using Win2003 as a OS for CFMX either? Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Doug White [mailto:[EMAIL PROTECTED] Sent: Wednesday, 8 October 2003 11:24 PM To: CF-Talk Subject: Re: SQLServer2000 and Win2003? any issues? The provider will need to upgrade to Win 2003 Enterprise, or as an alternative, run the SQL2k server on a separate box on Win2k. The web edition of Win2003 is not a suitable package for a provider, as it is much more suited for supporting a local single web site, or sites limited to static html. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: application.cfm
Here's what I would do: First of all, check that you actually do have session variables set up. Make sure you have session variables turned on in your CFAPPLICATION tag. As a minimum you need: cfapplication name=Applicationname sessionmanagement=yes Then in your application.cfm temporarily put a cfdump of the session vars to see what's in there. cfdump var=#session# Then you'll see if you have a session.init defined or not. You really should use a different test than IsDefined(SESSION.init) Instead use StructKeyExists cfif StructKeyExists(session, Init) stuff /cfif Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Pascal Peters [mailto:[EMAIL PROTECTED] Sent: Tuesday, 7 October 2003 10:20 PM To: CF-Talk Subject: RE: application.cfm It should work. Are you sure you are executing the right application.cfm. Try putting some text in there to verify. You should see the text. application.cfm -- h3Setting session/h3 cfif NOT IsDefined(SESSION.init) ... -Original Message- From: Bushy [mailto:[EMAIL PROTECTED] Sent: dinsdag 7 oktober 2003 14:11 To: CF-Talk Subject: RE: application.cfm If I put the query and cfset SESSION variables into my index.cfm file I can output the results no problem. It won't work if its in my application.cfm? Whats wrong? --Original Message Text--- From: Bushy Date: Tue, 07 Oct 2003 07:53:15 -0400 Why is this not working? I have the following code in my application.cfm application.cfm -- cfif NOT IsDefined(SESSION.init) cfquery name=listenv datasource=database select * from table1 where struser = test /cfquery cfset SESSION.field1 = #listenv.field1# cfset SESSION.field2 = #listenv.field2# cfset SESSION.field3 = #listenv.field3# cfset SESSION.field4 = #listenv.field4# cfset SESSION.init = true /cfif Then in my index.cfm file I'm just outputting the above SESSION variables for testing yet gets displayed except the SESSION.init variable. Why? What's wrong with my syntax? index.cfm cfoutput SESSION.init: #SESSION.init#br SESSION.field1: #SESSION.field1#br SESSION.field2: #SESSION.field2#br SESSION.field3: #SESSION.field3#br SESSION.field4: #SESSION.field4#br /cfoutput _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Hosting Control panel ?
My hosting provider is having some difficulties getting Etrinix to answer support queries for their new Command Matrix v 1.9.1 and I think he should dump it and go for another product. Are there any people using a shared hosting control panel that works with ColdFusion?What direction should I point him to? What he'll needis support for CFMX6.1,MSSQL, MySQL, ASP, ASP.NET, resellers, individual sites, quotas etc.The Etrinix isn't working too well and I'd far rather help him solve that problem than uplift my business again and move it all somewhere else. The key problem we've had with the Ensim we were using before this Etrinix piece of junk was that it didn't allow resellers or users to set up ColdFusion datasources, which made it tiresome getting DSNs going.And also Ensim's email server is unreliable. Any other control panels we should look at? Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Hosting Control panel ?
OH .. thanks Doug, but I should also have said that our environment is Windows2k or Win2003. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Doug White [mailto:[EMAIL PROTECTED] Subject: Re: Hosting Control panel ? Webminhttp://www.webmin.com/and it is free - Original Message - From: Mike Kear [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, October 05, 2003 8:05 PM Subject: Hosting Control panel ? | My hosting provider is having some difficulties getting Etrinix to answer | support queries for their new Command Matrix v 1.9.1 and I think he should | dump it and go for another product. | | | | Are there any people using a shared hosting control panel that works with | ColdFusion?What direction should I point him to? | | | | What he'll needis support for CFMX6.1,MSSQL, MySQL, ASP, ASP.NET, | resellers, individual sites, quotas etc.The Etrinix isn't working too | well and I'd far rather help him solve that problem than uplift my business | again and move it all somewhere else. | | | | The key problem we've had with the Ensim we were using before this Etrinix | piece of junk was that it didn't allow resellers or users to set up | ColdFusion datasources, which made it tiresome getting DSNs going.And also | Ensim's email server is unreliable. | | | | Any other control panels we should look at? | | | [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
OT: Looking for radio station sites
I've been asked to do a site plan for a volunteer radio station, and I'm looking for good, informative, radio station sites. My brief is it has to be totally dynamic, because no one technical will be available on a regular basis to update it.That means I'll be going to run the site by having people on the station log in and use browser forms to update database tables to alter the content. But it's a volunteer station and closely intertwined with the local community, so I need to make a lot of that part - we're part of the local community kind of thing. I have made a plan for much of the site, but I'd love to see what some of you think are really good radio station sites. Any ideas please? Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: OT: Looking for radio station sites
Thanks Jeremy. It's actually a fully-fledged FM station but a community volunteer organisation.We're not going to be streaming at all - that's far too expensive.It costs thousands for the bandwidth to stream broadcast quality content for 24/7.The station has been going for nearly 21 years now, and for the 21stbirthday we're going to rebuild the site. I've been maintaining it for a while now, and it's all static and pretty boring really. I had to make a change to the nav bar the other day and because it's all static, it took me a couple of hours to make and test all the changes.NO!That has to stop. SO . dynamic site.Use coldfusion to build the site from a database.Now. What to put in the site?What would be better to have than we have now? That's the point I'm at. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Jeremy Brodie [mailto:[EMAIL PROTECTED] Sent: Wednesday, 1 October 2003 10:56 PM To: CF-Talk Subject: Re:OT: Looking for radio station sites Mike, I'm a fan a Launch.com, especally the sections where one can customize their own stations. I think they do a great job, through their influencers section of bringing community based radio to the forefront. The hard part of course for delivering Internet radio is gathering the content, encoding the content and streaming the content in a way that ads are played at the right time/place (not the technology of picking the actual songs). This part is extremely tricky to automate, espcally if you're using Windows Media Server to stream. Jeremy Brodie Intelix an Edgewater Technology Solutions Company web: http://www.edgewater.com phone:(703) 815-2500 nasdaq symbol: EDGE [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
How can i test for this?
I have a variable in a struct called session.auth that is related to the idof the article the user is seeing.If the variable #session.auth.100824#exists, the user can visit article 100824 otherwise he's denied access. How can I check that this variable exists?I have tried the following andit throws an error, saying that isdefined has to have a syntactically validvariable name: Where did I get it wrong please? Here's what I've put that throws an error: cfif isdefined(Session.auth[#articleid#])you're incfelseyou're out/cfif Cheers,Michael KearWindsor, NSW, AustraliaAFP Webworks. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: How can i test for this?
Oh well DER!!!#structkeyexists()#I knew about that.I DID!!!Ihadmomentarily forgotten that's all. Thanks folks.blush /me beats himself up for not remembering that! Cheers,Michael KearWindsor, NSW, AustraliaAFP Webworks.-Original Message-From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] could as Paul Hastings suggested (and as I typically suggest) use#structkeyexists(session.auth,100824)# [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
DWMX 2004 Freehand?
I am trying to remember if the presentation on MX2004 said there was goingto be a 2004 version of freehand.Can anyone else remember? If sodoes anyone know when it'll be available?The MX2004 I downloadedthe other day from the Macromedia site had the new versions of Dreamweaver,Fireworks and Flash, but only Freehand MX and ever since I've been trying toremember if there was to be a new version to go with the others. Cheers,Michael KearWindsor, NSW, AustraliaAFP Webworks. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: New email format
Ok you've got me stumped. I've looked around HouseofFusion for ages and can't find any settings I can modify except my password. And yes, I did click on "User Settings" on the bottom of the emails.I see all the text on this list in courier, even though it's plainly coming in as HTML. Where are the rest of you setting things? Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Thane Sherrington [mailto:[EMAIL PROTECTED] Sent: Tuesday, 23 September 2003 8:20 PM To: CF-Talk Subject: Re: New email format At 05:11 AM 9/23/03 -0400, Michael Dinowitz wrote: >There's always the text only option on the subscription page. :) >I want everyone to be happy if possible. I can't find the text only option. The new font isn't bad, but it isn't nearly as readable as the default font in Eudora, I find. T ~| [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: dreamweaver stuff
IN the first version of Dreamweaver I used, (3 I think) there was no dialog box to tweak the code sweeper. We ended up sharing a trick to edit a file, ad I managed to get the sweeper to give me neat and tidy code, EXACTLY how I like it - new line in front of this tag, that tag no new line, this other tag two new lines to make it separate from the other code. For example two lines before a start table tag and two lines after a end table tag meant the table stood out nicely in the code. Anyway, the point is, I can't get the code sweeper to give me exactly what I like - it's a compromise. Is there a way to tweak the code sweeper in DWMX without using the dialog box? Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. ~| Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137924 Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Reading CF-Talk pays off for me
I thought I'd share a benefit that came from reading and learning from you wise people. About 2 years ago, I was reading about how it was important to separate content from logic, the appearance layer from the other layers. At the time this was a concept I hadn't seen voiced before but it made good sense. Until then, my Coldfusion had been making small interactive applications, that weren't connected together in any way. A user puts preferences in a page 1, clicks submit, page 2 executes a datasource query and displays a list of selections based on the user's preferences. I had few common files, and maintaining the common look and feel of all these apps was handled by using snippets in my CFStudio. I hadn't really grasped the full importance of using CFINCLUDE at that time. Then we came to reskin the site to update the appearance, and I decided that this new-fangled idea of separating presentation and content and logic was a good thing. So while we were reskinning the site I separated these elements out. I had a couple of different header.cfm includes, and two footer.cfm includes (with slightly different content). The reskinning then took about the same time as it would have if I'd gone through each of the 70+ apps and updated them with the new appearance. There were times I was wondering if there was really a point. Well this week I proved the point. Time came to update the site's appearance again. The site has about a dozen categories, and different colours and images, menu structures etc for each. Now there are 128 little colfusion applications. This time, to reskin the site I had to redo the header.cfm file, and the footer.cfm file, and tweak the application.cfm to query the SQLDatabase for the category colours, image names etc. The reskin happened with no more than 3 minutes down time, and took me less than a quarter of the time it did 2 years previously. And everything worked fine. We could have a designer give us a new design tomorrow, and I could have the site reflecting the new look the next morning. Thanks CF-TALKERS! Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. ~| Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137944 Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Validating people who register .. how does this work?
I'm building a site where I'm asking people to register (free) as members. Since there's no credit card or money transaction, I still want to ensure the member is using a valid email address, so I want to do what the likes of Yahoo and others do - send an email to the user asking her to activate her account. But what's going on in the background in these systems? Here's what I think happens, but can anyone tell me if this is what is really happening, or if there's a better way to verify their email address? [1] the user fills out the registration form on line [2] on submit, the data is entered in the user data table, with a bit field, say activated set to NO. [3] The user is sent an email asking to click on a link which takes them to a validation page. [4] The user is allocated an id number, perhaps the UserID, the primary key of the User table which is added to the link on the email. [5] when the user clicks on the link, the action page retrieves the user from the data table based on the UserID (which was a field in the table) [6] The action page sets the activated field to YES [7] all restricted access pages have the test cfif (user.activated) to permit access. Is that what's happening there? Is there a simpler way to do it? Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. ~| Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137957 Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
RE: CFC-based GPL web HTML editor
I've implemented that editor on an experimental area of a site I'm working on and it's a beaut! It's simple to use, no heaps and heaps of configuration files to muck about with. It's great for what I think would be the majority of applications for this kind of tag. I like the fact that the formatting options are limited, so non-technical users can't experiment with html tags and wreck the look and feel of my site. I can restrict the html they can use. And it's cfc-friendly. I would like to see the old browsers handled by replacing the tag with a standard textarea tag rather than bump them off to an oldbrowser.htm file. Is this easy to do? Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Thane Sherrington [mailto:[EMAIL PROTECTED] Sent: Wednesday, 17 September 2003 1:58 AM To: CF-Talk Subject: RE: CFC-based GPL web HTML editor At 11:37 AM 9/16/03 -0400, Adam Wayne Lehman wrote: Umm... I hate to break it to you, but people *do* use Macs, and you can't just ignore users just cuz they are a minority. That depends. If 5% of users are non-IE users, then I can't really spend more than 5% of my development time on making things work for them, can I? That's the downside to the non-IE compatible browsers. Remember when word processors *had* to be WordStar file compatible? It's the same thing with browsers. I'm all for competition, but browser companies should take note of OpenOffice - it can read MS Word formats well, and that's what's making it successful. T ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
RE: stupid question (DWMX)
That functionality is there in Dreamweaver, but not as CTRL Click. It's been there since I first saw DW. For example if you click somewhere inside a td tag, you'll see at the bottom of the screen, just above the properties inspector the following: bodytabletrtd Click on one of them and it will select that whole tag. Want to find the beginning and end of the tr? Click on tr and it'll select the whole row in both design and code view. I'd like to have CTRL Click too, because I use that a lot in CFStudio, but I think I can get used to doing it this way. I use it a lot when I'm looking at other peoples' code, that has heaps of nested tables. (I HATE nested tables) and trying to figure out where the different cells start and end, and whether they're in the inner table, the next one out or the one after that isn't always easy. Just click on the tag at the bottom of the screen and you can select the whole content of that tag, including the opening and closing tags. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Massimo, Tiziana e Federica [mailto:[EMAIL PROTECTED] Sent: Wednesday, 17 September 2003 6:56 AM To: CF-Talk Subject: Re: stupid question (DWMX) Speaking of stupid DWMX tricks. In studio ctrl click (I think that's what it was) selected an entire tag pair. I know in DW I have the little list at the bottom but is there anything like ctrl click? No, it's not there, please cast your vote: http://www.macromedia.com/support/email/wishform/ ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
RE: CFC-based GPL web HTML editor
Not for me. I see there is a 'redirect=oldbrowser.htm' parameter in the tag, but if I remove it, the page throws an error in netscape. The notes say if the browser isn't IE5.5+ then the user is redirected somewhere else. I think they should still get the form, but with a textarea instead of the tag. No? Have I done that wrong? Ummm ... we *ARE* talking about tmt_xhtmleditor.cfm aren't we? If not, what's the name of YOUR tag, Mauricio and where can it be got? Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Mauricio Giraldo [mailto:[EMAIL PROTECTED] Sent: Wednesday, 17 September 2003 7:38 AM To: CF-Talk Subject: Re:CFC-based GPL web HTML editor I would like to see the old browsers handled by replacing the tag with a standard textarea tag rather than bump them off to an oldbrowser.htm file. Is this easy to do? Absolutely. It is already implemented. Non-IE 5.5+ browsers will get a plain old TEXTAREA tag :) - mga ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
What's the matter here? RSS feed error
Can anyone see what's the matter with this code? I'm consuming a RSS feed, using the following code ... [quote] cfhttp url=http://cybergrass.com/newsrss10.php; method=get/cfhttp cfset objRSS = xmlParse(cfhttp.filecontent) [/quote] But a CFDUMP of objRSS on the next line gives me the following error: [quote] End of entity not allowed; an end tag is missing. [/quote] The guy generating the feed says he's validated his xml page, and says there's nothing wrong with it. So Before I tell him he's wrong, is there anything wrong with my code? Can anyone else get this RSS code satisfactorily? Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
RE: What's the matter here? RSS feed error
Thanks for your suggestion, Dave. I ran the following: cfhttp url=http://cybergrass.com/newsrss10.php; method=get/cfhttp cfdump var=#cfhttp.filecontent# And the file doesn't end properly. The last few characters of the CFDUMP look like this: [quote] name=Newsamp;file=articleamp;sid=59/link descriptionToday is the 11th birthday for Cybergrass [/quote] The dump is nowhere near long enough. Yet, when I put the same code in a bare-bones .cfm page, with no formatting, tables, other content, just the minimum required for a properly formatted html page, I get a properly formatted struct with the xml content properly arrayed there. What can be truncating the feed? There's nothing special about the page, (which is at http://bluegrass.org.au/Magazine/USANews/index2.cfm ) that I can see that might be truncating the XML. Is this a known problem of some kind? There is no content except a CF/LF between getting the XML file, and CFDUMPing it. I'd have thought any other content wouldn't interfere, even if it had something in it that the XML parser didn't like. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Thursday, 11 September 2003 1:26 AM To: CF-Talk Subject: RE: What's the matter here? RSS feed error Can anyone see what's the matter with this code? I'm consuming a RSS feed, using the following code ... [quote] cfhttp url=http://cybergrass.com/newsrss10.php; method=get/cfhttp cfset objRSS = xmlParse(cfhttp.filecontent) [/quote] But a CFDUMP of objRSS on the next line gives me the following error: [quote] End of entity not allowed; an end tag is missing. [/quote] The guy generating the feed says he's validated his xml page, and says there's nothing wrong with it. So Before I tell him he's wrong, is there anything wrong with my code? Can anyone else get this RSS code satisfactorily? I was able to fetch his RSS file successfully, and it appears to be valid XML to me, as rendered by Internet Explorer. You might use CFDUMP on CFHTTP.FileContent, to see what you're getting back. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
RE: What's the matter here? RSS feed error
AH!!! So it could be a CFMX6.0 bug! We're upgrading to 6.1 in the next couple of weeks, so I might just put that page in the under construction bin till then and see if the problem goes away all by itself. Thanks Dave. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Thursday, 11 September 2003 3:59 AM To: CF-Talk Subject: RE: What's the matter here? RSS feed error Thanks for your suggestion, Dave. I ran the following: cfhttp url=http://cybergrass.com/newsrss10.php; method=get/cfhttp cfdump var=#cfhttp.filecontent# And the file doesn't end properly. The last few characters of the CFDUMP look like this: [quote] name=Newsamp;file=articleamp;sid=59/link descriptionToday is the 11th birthday for Cybergrass [/quote] The dump is nowhere near long enough. Yet, when I put the same code in a bare-bones .cfm page, with no formatting, tables, other content, just the minimum required for a properly formatted html page, I get a properly formatted struct with the xml content properly arrayed there. What can be truncating the feed? ... Are you running CFMX 6.0? I've encountered things like this several times, that may or may not have been fixed by Updaters 1-3. They have supposedly been fixed in CFMX 6.1. Honestly, it's been so long since I've trusted the CFHTTP tag with anything important that I don't have a more specific answer than that. There are lots of HTTP client alternatives, and I've generally used one of those instead. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
RE: What's the matter here? RSS feed error
I've identified the source of the problem. There's a registered trade mark symbol in one of the stories (chr(0174) or HexAE ) and that's where the feed truncates in the production server.As it happens, the feed works fine on my CFMX6.1 dev server so that's encouraging as several of you have indicated. I tried using a regex to strip out the problem character (hex AE) but it still didn't work. I'm assuming it was CFHTTP that was barfing on the character and therefore didn't import the rest of the feed once it got the character it choked on, so the damage was already done by the time the REReplace got a chance to look at the cfhttp content. Does that sound right? (Or since it was the first REReplace I've written maybe I got that wrong) Here's the code with the regex I used ... [quote] cfhttp url=http://cybergrass.com/newsrss10.php; method=get/cfhttp !--- Strip out a character causing problems - the 'registered' symbol Chr(174) --- cfset objRSStemp = REReplace(cfhttp.filecontent, \xAE , reg;, ALL) cfset objRSS = xmlParse(objRSStemp) [/quote] Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Sean A Corfield [mailto:[EMAIL PROTECTED] Sent: Thursday, 11 September 2003 10:27 AM To: CF-Talk Subject: Re: What's the matter here? RSS feed error On Wednesday, Sep 10, 2003, at 11:11 US/Pacific, Mike Kear wrote: AH!!! So it could be a CFMX6.0 bug! We're upgrading to 6.1 in the next couple of weeks, so I might just put that page in the under construction bin till then and see if the problem goes away all by itself. cfhttp received a lot of TLC in CFMX 6.1 - hopefully it will have solved your problems! ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
RE: Can this be done?
Well how do the stats packages come up with the 10 most common search keywords used to find your pages then? There must be some variable passed that appears in the logs somewhere. No? If that goes in the logs somewhere, it can be used, I'd have thought. But certainly I'd be very cautious about using any system that depends heavily on browser information - http_referer or suchlike, because many users block that info by way of their firewalls or because they are behind a router. You can have hundreds of people in a building using only a few ip addresses and that can skew all kinds of systems. I'm just saying don't build any application that REQUIRES info back from the browser in order to function, unless you're ready to deal with the user calls I CAN'T GET INTO YOUR SITE! WHAT DO I DO!? YOU CALL YOURSELF A CUSTOMER ORIENTED ORGANISATION?? I'M GOING TO RESPORT YOU TO THE CONSUMERS ASSOCIATION. NO WAIT .. YOU *ARE* THE CONSUMERS ASSOCIATION! REPORT YOURSELVES THEN. Trust me, I've been there, heard all the jokes. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Monday, September 08, 2003 12:16 PM To: CF-Talk Subject: Re: Can this be done? Hthat would seem to imply that this competitor can read the browser history (and even what was typed)and that's not possible AFAIK because it would be a HUGE security/privacy hole. my 2 cents on a Monday morning ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com - Original Message - From: Che Vilnonis [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, September 08, 2003 9:08 AM Subject: Can this be done? Hello all.. I'm bidding on a job and the client told me something that a competitor does that seems pretty amazing. He said that this competitor can dynamically build certain sections of a homepage based on the search term that was used on the previous page of a search engine site, no matter which one is used. I know you can look at the CGI.HTTP_REFERER value for some search engines, but does anyone know how to do this for all sites. Is there a tool, CFC or UDF that could do this for me? Is there an easy way to parse the info out? Che Vilnonis Application Developer Advertising Systems Incorporated 8470C Remington Avenue Pennsauken, NJ 08110 p: 856.488.2211 f: 856.488.1990 www.asitv.com ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
RE: How do your ISPs handle CF mappings?
-Original Message- From: Adam Churvis [mailto:[EMAIL PROTECTED] If I could impose a bit, I could use y'alls help here: 1) Do your applications typically require a CF mapping? I don't think there are many applications that REQUIRE a mapping, because there are usually several ways to do anything. If you can't use a mapping, you can usually use relative links or some other way around. But using a mapping sure makes many things simpler. 2) How do your ISPs handle requests to create ColdFusion mappings for the applications you host with them? Do they refuse outright, or do they create them for you as needed? I've had my system on a host where they simply didn't allow any changes whatever to the default setup- don't ask, the answer's no whatever your question, also on a system where they didn't have a clue how to do it (yes they were that dumb) and my present system where they're most obliging, and willing to do everything I've asked of them so far. I can testify that being able to have a mapping makes life a LOT easier, specially when it comes to thinks like CFCs and includes and other ways to reuse code. 3) If you work for or operate an ISP, what are your preferences with respect to your customers' use of CF mappings in their code? I'm not sure what the downside is to creating a mapping, apart from the small amount of time required to do it. Are there any security issues that I don't know about? Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FIXED: Session vars not being retained. Any ideas why?
Fixed now. The problem was indeed the CFMX6.0 bug that [EMAIL PROTECTED] said last night ... that is a bug in 6.0 that was fixed it 6.1. If you set domain cookies, CF set's a new cfif and cftoken cookie every request. So I took the setdomaincookies=yes out of the CFAPPLICATION tag, and now the sessions stick from page to page, just like they're supposed to! Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Oliver Tupman [mailto:[EMAIL PROTECTED] Sent: Tuesday, 2 September 2003 6:30 PM To: CF-Talk Subject: Re: Session vars not being retained. Any ideas why? Mike Kear wrote: Can someone else have a look at these pages for me too please make sure it's nothing to do with my browser settings? Took a look and the auth structure was present in all three pages. Tested in both IE 6 and Mozilla 1.5b. I've had an interestingly similiar on a intranet box we install recently running IIS and CF MX 6.1. When using the name of the box provided via WINS IE _always_ lost the session variables. If I use the IP it's fine. I'm currently assuming that IE forgets about the session vars due to a mismatch between IIS's domain name (there isn't one) and the WINS name. Not sure if it's related though, but is bluegrass.org the server you're having the problems on? -- Oliver Tupman Key Systems Geotechnical ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
RE: What's the general approach for using RSS feeds in pages?
This CFDJ article is a good'un. I read it, and it took me 10 minutes to get my first RSS feed on a site. Looking rough, but the only work left to do is CSS and making the feed look pretty. Nice one. I've avoided RSS up to now, thinking it's going ot take more time to learn than I have available right now. (I have HEAPS of stuff to learn - I do far more study than my 15 year old son). But I was very pleasantly surprised at how simple this stuff is. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Jeff [mailto:[EMAIL PROTECTED] Subject: Re: What's the general approach for using RSS feeds in pages? on 9/2/03 11:19 AM, Jillian Carroll at [EMAIL PROTECTED] wrote: This article should help you, it was recently featured in the ColdFusion Developers Journal: http://www.sys-con.com/coldfusion/article.cfm?id=635 It deals with Parsing RSS Feeds Using ColdFusion, and it's very well written. ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
RE: Objects onTap
Isaac, Thanks for posting this about the onTap framework, something I overlooked before, and it's very interesting. I downloaded and installed it on my dev server, and when I look at my server variables, I see that onTap has set up a whole lot of variables at server level. In principle, I don't have a problem with that, but how would it go in a shared hosting environment, where I'm not the only company with a site on the server? Wouldn't there be conflicts? How would you set onTap up so it's scope is only as far as one site? I could foresee the situation where I might have several onTap-based sites on the same server. Then how would it go? I assume a default installation would have to be modified to cope with that, yes? Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] Sent: Monday, 1 September 2003 7:41 AM To: CF-Talk Subject: Objects onTap For anyone who's been interrested in the onTap framework and maybe not sure about it's application on ColdFusion MX, I just put up a new build on the site with added implementation of CFC's. There's also some additional information about the use of CFC's in the onTap framework on my framework blog at: http://www.turnkey.to/ontap/docs/blog.cfm [snip] ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
Session vars not being retained. Any ideas why?
My site is forgetting the session variables between pages, and I'm not sure why. It retains the login info when I use the CFID/CFTOKEN in the URL, but if not, the new page comes up and I'm logged out again. (sigh!) So far, I've explored the possibility that I've got the cfapplication tag wrong (I've pasted it below for you to see) or that my browser has cookies turned off (it doesn't). I've checked that the logout routine isn't getting cfincluded accidentally. I'm definitely getting logged in from the login routine, because on the action page following the login form, I've put a cfdump that displays the session scope, and the login info is shown there. But when I go to any other page on the site, the session scope doesn't include the login info. Is there anywhere else I ought to look? Here's my cfapplication tag, which is in the topmost Application.cfm on the site: Cfapplication name=infomanagement sessionmanagement=yes sessiontimeout=#createTimeSpan(0,0,20,0)# setclientcookies=yes setdomaincookies=yes (We're using CFMX6.0 on a Win2000 SP3 system.) Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
RE: Session vars not being retained. Any ideas why?
Craig, you think enabling client variables would make it remember session variables??? Heck I'll try anything - this is driving me up the wall - but I'm not sure why that would help. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED] Sent: Tuesday, 2 September 2003 12:24 AM To: CF-Talk Subject: RE: Session vars not being retained. Any ideas why? Try adding clientmanagement=Yes And possibly the following deleteing as applicable clientstorage=cookie/dsn/registry -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: 01 September 2003 15:21 To: CF-Talk Subject: Session vars not being retained. Any ideas why? My site is forgetting the session variables between pages, and I'm not sure why. It retains the login info when I use the CFID/CFTOKEN in the URL, but if not, the new page comes up and I'm logged out again. (sigh!) So far, I've explored the possibility that I've got the cfapplication tag wrong (I've pasted it below for you to see) or that my browser has cookies turned off (it doesn't). I've checked that the logout routine isn't getting cfincluded accidentally. I'm definitely getting logged in from the login routine, because on the action page following the login form, I've put a cfdump that displays the session scope, and the login info is shown there. But when I go to any other page on the site, the session scope doesn't include the login info. Is there anywhere else I ought to look? Here's my cfapplication tag, which is in the topmost Application.cfm on the site: Cfapplication name=infomanagement sessionmanagement=yes sessiontimeout=#createTimeSpan(0,0,20,0)# setclientcookies=yes setdomaincookies=yes (We're using CFMX6.0 on a Win2000 SP3 system.) Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
RE: Session vars not being retained. Any ideas why?
I'm sorry Adrian, thanks for your help, but I don't understand. What does link the id and token to your browser mean exactly? It doesn't mention this at all in Ben and Nate's CFWACK book. As I read their discussion of session vars, the placing of any cookies and retaining of session identity is handled automatically by CFMX, and only fails if the user is so paranoid she's denied all cookies from the site. Is that not the correct interpretation? And when you say client vars will do this, what do you mean - that they'll keep track of user sessions without cookies or id and token? Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: Tuesday, 2 September 2003 12:37 AM To: CF-Talk Subject: RE: Session vars not being retained. Any ideas why? For session vars to work you need to link the id and token to your browser, client vars will do this. -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: 01 September 2003 15:33 To: CF-Talk Subject: RE: Session vars not being retained. Any ideas why? Craig, you think enabling client variables would make it remember session variables??? Heck I'll try anything - this is driving me up the wall - but I'm not sure why that would help. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED] Sent: Tuesday, 2 September 2003 12:24 AM To: CF-Talk Subject: RE: Session vars not being retained. Any ideas why? Try adding clientmanagement=Yes And possibly the following deleteing as applicable clientstorage=cookie/dsn/registry -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: 01 September 2003 15:21 To: CF-Talk Subject: Session vars not being retained. Any ideas why? My site is forgetting the session variables between pages, and I'm not sure why. It retains the login info when I use the CFID/CFTOKEN in the URL, but if not, the new page comes up and I'm logged out again. (sigh!) So far, I've explored the possibility that I've got the cfapplication tag wrong (I've pasted it below for you to see) or that my browser has cookies turned off (it doesn't). I've checked that the logout routine isn't getting cfincluded accidentally. I'm definitely getting logged in from the login routine, because on the action page following the login form, I've put a cfdump that displays the session scope, and the login info is shown there. But when I go to any other page on the site, the session scope doesn't include the login info. Is there anywhere else I ought to look? Here's my cfapplication tag, which is in the topmost Application.cfm on the site: Cfapplication name=infomanagement sessionmanagement=yes sessiontimeout=#createTimeSpan(0,0,20,0)# setclientcookies=yes setdomaincookies=yes (We're using CFMX6.0 on a Win2000 SP3 system.) Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
RE: Session vars not being retained. Any ideas why?
AH! I think we've found the problem. I checked with the sysadmin and he had session vars turned off in the CFMX administration console. That would kind of put the kybosh on any session-based authentication wouldn't it. Now I'll have another go at it and see where we go from here. Thanks for your offer Andy, but I'll work on the site again now and if it's still not working I might take you up on it. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. (sheesh! Never occurred to me that we might have session vars turned off in the administrator!!) -Original Message- From: Andy Ousterhout [mailto:[EMAIL PROTECTED] Sent: Tuesday, 2 September 2003 12:49 AM To: CF-Talk Subject: RE: Session vars not being retained. Any ideas why? Is your site available to me? Could it be made available to me? Perhaps it is something with your browser. Andy ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
RE: Session vars not being retained. Any ideas why?
Well I still have the problem with session vars not being carried across from one page to another. I verified that the server has session vars turned on and the timeouts are still the installation defaults. I have set up 3 pages, containing nothing but links to each other, and a cfdump of the session struct. The pages are: http://bluegrass.org.au/1.cfm and 2.cfm and 3.cfm. On the first page, 1.cfm I have also put the following code to simulate setting the session vars when someone logs in: cfset session.auth = StructNew() cfset session.auth.UserLastName = 'Kear' cfset session.auth.UserEmail = '[EMAIL PROTECTED]' When you look at 1.cfm, you can see the auth struct in the session CFDUMP right underneath it. Yet when you go to 2.cfm right after it, the auth struct is gone. Can someone else have a look at these pages for me too please make sure it's nothing to do with my browser settings? Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Monday, September 01, 2003 9:55 AM To: CF-Talk Subject: RE: Session vars not being retained. Any ideas why? AH! I think we've found the problem. I checked with the sysadmin and he had session vars turned off in the CFMX administration console. That would kind of put the kybosh on any session-based authentication wouldn't it. Now I'll have another go at it and see where we go from here. Thanks for your offer Andy, but I'll work on the site again now and if it's still not working I might take you up on it. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. (sheesh! Never occurred to me that we might have session vars turned off in the administrator!!) -Original Message- From: Andy Ousterhout [mailto:[EMAIL PROTECTED] Sent: Tuesday, 2 September 2003 12:49 AM To: CF-Talk Subject: RE: Session vars not being retained. Any ideas why? Is your site available to me? Could it be made available to me? Perhaps it is something with your browser. Andy ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
RE: Session vars not being retained. Any ideas why?
Here's another thought. ... when I first talked to my sysadmin he said he didn't have session vars enabled in the CF administrator. Then when I asked again a short while later to confirm, he said they were definitely enabled. (I got him to tell me the settings he had and they were the installation defaults). If he's actually turned them on between times, should he restart the CF Server too or does the administrator enable them immediately when you click update changes? Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Tuesday, 2 September 2003 4:06 AM To: CF-Talk Subject: RE: Session vars not being retained. Any ideas why? Well I still have the problem with session vars not being carried across from one page to another. I verified that the server has session vars turned on and the timeouts are still the installation defaults. I have set up 3 pages, containing nothing but links to each other, and a cfdump of the session struct. The pages are: http://bluegrass.org.au/1.cfm and 2.cfm and 3.cfm. On the first page, 1.cfm I have also put the following code to simulate setting the session vars when someone logs in: cfset session.auth = StructNew() cfset session.auth.UserLastName = 'Kear' cfset session.auth.UserEmail = '[EMAIL PROTECTED]' When you look at 1.cfm, you can see the auth struct in the session CFDUMP right underneath it. Yet when you go to 2.cfm right after it, the auth struct is gone. Can someone else have a look at these pages for me too please make sure it's nothing to do with my browser settings? Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Monday, September 01, 2003 9:55 AM To: CF-Talk Subject: RE: Session vars not being retained. Any ideas why? AH! I think we've found the problem. I checked with the sysadmin and he had session vars turned off in the CFMX administration console. That would kind of put the kybosh on any session-based authentication wouldn't it. Now I'll have another go at it and see where we go from here. Thanks for your offer Andy, but I'll work on the site again now and if it's still not working I might take you up on it. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. (sheesh! Never occurred to me that we might have session vars turned off in the administrator!!) ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Logging users in with CFC
I'm learning about CFCs, and becoming more and more a devotee every day. I see lots of benefits with becoming adept at using them, but something has drawn my attention I've not seen an example of using a CFC to log users in and handle their authorization etc. I know the code isn't much to log someone in, but it seems to me that if you have a CFC to handle all the manipulation of users profiles and access etc, then you ought to have the login code in that CFC too. Are there any pros and cons with putting the username/password verification etc into a users.cfc along with a function to update the profile and list users and other user functions? I just like the idea of putting all that code together in once place, leaving the presentation aspects to the .cfm files. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: Logging users in with CFC
Tony, to be honest, I'm not sure. It's just that I haven't seen any examples of CFCs being used for that functionality, so I wondered why. It seems that one of the ways to collect all the functionality related to users is to have a users.cfc where you'd have a method called login, one called listusers, one called updateprofile, one called emailpassword etc, and then all the database access, and action related to user access is in the one place. This is what's advocated in other applications about CFCs, but I haven't seen login, authentication, updating last login date, number of logins etc - all that user access stuff - gathered into a CFC. So I wondered if that was because people have always done it without CFCs and therefore old habits are at play, or whether there was a logical reason not to include this stuff in CFCs, that I wasn't seeing. (Believe me there's a LOT about my world that I don't see. Just ask my wife!) Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Tuesday, 26 August 2003 1:05 PM To: CF-Talk Subject: RE: Logging users in with CFC what things might you be worried about? security? just wondering...i hadnt given it much thought but now that you mention it, what things are you wondering about? later. tw ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Real-life Flash remoting examples?
I'm preparing a proposal for an entertainment industry site, and the client is excited about flash. Can anyone point me towards some real-life examples of flash remoting in action? I tried to explain how it benefits a site and I think all I did was confuse rather than excite. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
RE: See a blank page when I run a .cfm file
Sorry if this is a really dumb question, but in your .cfm template, you DO have the !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN HTMLHEAD META http-equiv=Content-Type content=text/html; charset=windows-1252/HEAD BODY/BODY/HTML around the output don't you? So that your output of #myname# is between the body tags? As I said if it's a totally obvious question I'm sorry. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: ColdFusion Programmer [mailto:[EMAIL PROTECTED] Sent: Tuesday, 19 August 2003 1:32 AM To: CF-Talk Subject: See a blank page when I run a .cfm file I was having this problem with CFMX with Updater 3 installed, I updated to CFMX 6.1 (Redsky) and still see a blank page when I run a .cfm file on a browser. This is what I'm trying to do: .cfm file - cfset myName = TestUser This is a test cfoutput#myName#/cfoutput -- When I run this file on the browser I see a blank page. When I view the source I see this: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN HTMLHEAD META http-equiv=Content-Type content=text/html; charset=windows-1252/HEAD BODY/BODY/HTML ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
RE: Mach II 1.0 released
Looks like exactly the same place I got an error, Freddys, but you got a different message to me. Both of our setups fell over at line 29 on AppLoader.cfc. Mine because a string isn't a date, and yours because it's null. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Freddys Garcia [mailto:[EMAIL PROTECTED] Sent: Thursday, 14 August 2003 4:28 AM To: CF-Talk Subject: Mach II 1.0 released Hi again, So now I'm unzipped the files in the manner described above, and made sure my directory structure matched that of the picture that Hal was kind enough to put up, and this is the new error I get: The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. The error occurred in C:\Inetpub\wwwroot\MachII\framework\AppLoader.cfc: line 29 Called from C:\Inetpub\wwwroot\ContactManager\mach-ii.cfm: line 18 Called from C:\Inetpub\wwwroot\ContactManager\index.cfm: line 2 27 : 28 :cfset lastConfigDate = configFile.dateLastModified / 29 :cfswitch expression=#DateCompare(getLastReloadDate(), lastConfigDate)# 30 :cfcase value=-1cfset shouldReload = true //cfcase 31 :cfcase value=0cfset shouldReload = false //cfcase Any clues? Thank you, Freddys ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFForm and xhtml not compatible?
I'm trying to build pages in xhtml for the first time, and when I use CFFORM (and therefore cfinput tags), when CFMX creates the html form, it doesn't create valid xhtml, and the page wont display. Or am I misunderstanding what's supposed to happen? When I look at the source of the resulting page, the form's input tag is as follows: input type=text name=username size=20 when I think it should be: input type=text name=username size=20 / Has anyone managed for make CFMX produce valid xhtml in these tags? Or am I doing something wrong? Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Good News: (was RE: Mach II 1.0 )
Hal was answering a question I asked about what to focus my learning attention on. There are a great many things in this world I know too little about, and like most people in our industry, I spend a significant amount of my time learning stuff. There is always more stuff to learn than I have time to study. Therefore I wanted to get an idea of what was more pressing to learn about if I wanted to become adept at using Mach-ii. Hal's answer kind of told me I'd get more value out of learning about OOP than from knowing a lot about XML. That's not to say that knowing about all those things is a waste of time, because it's always better to know more than to know less. It's just that if I have limited time and resources, I have to work on the most important things first. But I'm sure you can get by without knowing anything about OOP, just as CF programmers have since CF1.0. It's only for Mach-ii it becomes more important to know about it. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Murat Demirci [mailto:[EMAIL PROTECTED] Sent: Thursday, 14 August 2003 8:58 PM To: CF-Talk Subject: RE: Good News: (was RE: Mach II 1.0 ) Who is the audience? You say we, CFMX developers, need to learn OO. OK. I want to learn it to create powerful apps but how? There is no source for OO programming in CF? -Original Message- From: Hal Helms [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 11:40 AM To: CF-Talk Subject: RE: Good News: (was RE: Mach II 1.0 ) You won't really need to know much about XML, Michael, but you will need to know OO to do a lot with Mach-II. Hal Helms Java for CF Programmers class in Las Vegas, August 18-22 www.halhelms.com -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 1:35 AM To: CF-Talk Subject: Good News: (was RE: Mach II 1.0 ) Hal put a new version of Mach-II on the site Mach-II.com last night, and bingo! The problem was I wasn't using US date format. In a jiffy, he corrected the bug so it accepted international date formats and now it goes. Like lightning it goes! It installed and the sample apps worked just like that - right out of the box. No muss, no fuss. Now I want to know more about how this whole thing works. I get the impression that working in the Mach-II environment is going to require a knowledge of object-oriented programming terminology that I don't have. Is that right? For example I rather get the impression that expressions like MVC - Model View Conroller are familiar to people who've done other programming. Is this so? If I want to become adept at using Mach-ii am I going to have to learn about OO Programming? I can see that amongst the disciplines I'm going to have to know well are XML, but I need to learn more about that anyway. Anything else? Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: Mach II 1.0 released
I agree with Tony, Hal none of the downloaded files contain any text files saying how to install. There's nothing on the mach-ii.com site about that, and when you unzip the released package it doesn't install the way you just described. Incidentally, I just moved the 'contactmanager' folder up a level so it's just under the c:\inetpub\wwwroot and I got another 'cant find' message. (Could not find the ColdFusion Component MachII.framework.RequestHandler in this case) What mappings should be set up? IIs mappings? CFAdministrator mappings? Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Thursday, 14 August 2003 3:58 AM To: CF-Talk Subject: Mach II 1.0 released so is there some sort of release notes on how to install? tony weeg uncertified advanced cold fusion developer tony at navtrak dot net www.navtrak.net office 410.548.2337 fax 410.860.2337 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Mach II 1.0 released
I'm puzzled too, Tony. All I've done is open the MachII_1_0_0.zip file and extract it to c:\inetpub\wwwroot. It happily installed all the files into folders under c:\inetput\wwwroot\machii. Dave Carabetta said I also had to unpack the contactmanager app, but there is already a contactmanager folder under the Machii folder. Is this not the sample app? After I unzipped the machii file, I navigated to http://localhost/machii and that's where I got the error message. When I went to http://localhost/machii/contactmanager I got another message saying something couldn't be found. I have to say that just looking at all these files doesn't help much. There are now 56 files under the /machii folder, and while I haven't actually looked at all of them, none I've found seem to do anything themselves, they all seem to call something else. I can't see where any data is being stored, and what all these files do is not at all obvious to me. I guess this machii thing is going to be beyond me until I can win lotto and afford to travel to a training session in the USA. It's certainly not like fusebox, where the functionality of everything is pretty obvious and it's easy to follow what's doing what even for non-fusebox people. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Thursday, 14 August 2003 3:20 AM To: CF-Talk Subject: RE: Mach II 1.0 released I don't have a mapping in my cfadministrator? what am I missing? is there some sort of install this this way freakin doc somewhere? tony weeg uncertified advanced cold fusion developer tony at navtrak dot net www.navtrak.net office 410.548.2337 fax 410.860.2337 -Original Message- From: Dave Carabetta [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 1:16 PM To: CF-Talk Subject: RE: Mach II 1.0 released I had the same problem as Tony Weeg - with exactly the same error message (except mine said the error was on line 14 not 11) I looked at the mappings set up in CFadminstrator and it had set up a /machii mapping to c:\inetpub\wwwroot\machii\contactmanager So I manually changed the mapping to C:\Inetpub\wwwroot\MachII and the problem went away. That's the good news. The bad news is it was replaced by another error message telling me it couldn't find something else. (specifically: The cause of this exception was: java.io.FileNotFoundException: C:\Inetpub\wwwroot\MachII\config\mach-ii.xml (The system cannot find the path specified). Is there a doc somewhere that sys where everything ought to be for a default installation? The framework itself can't be run on its own (at least, as far as I can tell). It has to be run as part of an example. Download the ContactManager, unzip it to your root, and then navigate to the index.cfm file in your browser. It all worked easily for me. However, my problem with it is that the perfmance of the framework isn't very good. But that's another issue altogether. Regards, Dave. _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4