RE: how many?

2003-09-28 Thread Jim Davis
For what it's worth I've gone several dozen deep (modeling a nested treehierarchy) and have hit no problems.There is no limit (beyond systemresources) that I know of. In fact in my little experiment I was more limited by SQL server (whichthrows an exception after 32 levels of recursion to prevent runawayrequests) than by CF. Jim Davis -Original Message-From: Ben Doom [mailto:[EMAIL PROTECTED] Sent: Sunday, September 28, 2003 12:46 AMTo: CF-TalkSubject: Re: how many? As far as I know, there's no theoretical limitation on depth.I know I've gone 2 deep with no trouble, and think I might have gone 3deep.The best way to know for sure is to test it, of course.:-)--Ben DoomRay Bujarski wrote: How many structures deep can I nest?  Is this possible?  block[#cell_type#][#cell#][#getKey#]  Thanks,  Ray  _[Todays 
 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



Re: What's wrong with this...

2003-09-28 Thread Calvin Ward
Hopefully I didn't miss anything, but it looks like you are trying to accomplish the following (in comments):cfscriptif (Len(qDates.ID1) AND Len(qDates.ID2) AND Len(qDates.ID4)) // if 1, 2, and 4 contain a value (other than blank) variable.status = 1;else if (Len(qDates.ID1) AND Len(qDates.ID2) AND NOT Len(qDates.ID4)) // if 1 and 2 contain a value and 4 does not variable.status = 2;else if (Len(qDates.ID1) AND NOT Len(qDates.ID2) AND NOT Len(qDates.ID4)) // if 1 contains a value and 2 and 4 do not variable.status = 3;else if (NOT Len(qDates.ID1) AND Len(qDates.ID3); // if 1 does not contain a value and 3 does variable.status = 4;else if (Len(qDates.ID1) AND NOT Len(qDates.ID3)) // if 1 contains a value and 3 does not variable.status = 5;/cfscriptYou would be passing this bit of code a value in 1, 2 and 4 in order for variable.status to be set to 1 every time. Have you tried isolating the code bit and testing it seperately to see if you get the results out of that logic you expect?- Calvin- Original Message - From: Cutter (CF-Talk) To: CF-Talk Sent: Sunday, September 28, 2003 12:20 AMSubject: What's wrong with this...Why does this always evaluate to 1?cfif (qDates.ID1 is not ) AND (qDates.ID2 is not ) AND (qDates.ID4 is not )cfset variable.status = 1cfelseif (qDates.ID1 is not ) AND (qDates.ID2 is not ) AND (qDates.ID4 is )cfset variable.status = 2cfelseif (qDates.ID1 is not ) AND (qDates.ID2 is ) AND (qDates.ID4 is )cfset variable.status = 3cfelseif (qDates.ID1 is ) AND (qDates.ID3 is not )cfset variable.status = 4cfelseif (qDates.ID1 is not ) AND (qDates.ID3 is )cfset variable.status = 5/cfifThis is driving me nuts. I can never seem to get the IF...AND to work right. What am I missing here?Cutter
 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



RE: CFMX Instances on JRUN

2003-09-28 Thread Joe Eugene
Dave,No, i only have one Instance of CFMX. I am looking for the proper docsto deploy a second instance of CFMX and change setting etc.Thanks,Joe Eugene-Original Message-From: Dave Carabetta [mailto:[EMAIL PROTECTED]Sent: Saturday, September 27, 2003 4:24 PMTo: CF-TalkSubject: Re: CFMX Instances on JRUN I wasnt able to find any clear documentation of the correct setup for Multiple Instances of CFMX on JRun. I installed CFMX Enterprise with Full JRun Version running. Can someone point me any docs on how to add the Second Instance of CFMX pointing to the same Web Root. It would be nice to debug which instance processed the request as well.Do you have 2 instances installed already, and you're just looking forinfoon how to share the doc root? Or are you asking how to install a secondinstance *and* set up the shared doc root.For sharing the doc root, the most concise instruction set is this:http://www.bpurcell.org/index.cfm?mode=entryentry=937I've done this a lot, so if this doesn't fully answer your question, letmeknow and I'm glad to help you out. It can be confusing.Regards,Dave.
 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



Data Sources?

2003-09-28 Thread C. Hatton Humphrey
I’m working on an application that is global and based on UTC (UniversalCoordinated Time)… and I was hoping to find a list of countries and timezones that I could quickly grab and import into my database.States andProvinces would be nice as well but they’re not needed.Anyone have any suggestions where I could get something like that?I justneed it into a format that I can import it into a data table.Thanks!Hatton
 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



RE: fusebox training

2003-09-28 Thread S . Isaac Dealey
So there's not an over-abundance of fusebox classes available. That'sgood to know... Anybody here been to either Hal's or TeraTech's andcould tell me what the class size was like? Might be useful inestimating demand. Here at Webapper we have been using Fusebox since version 1.0 and have built several applications.Two were fairly large totaling over 2 years work for a large Energy Company (no not Enron!).They like Fusebox because it enables them to cross-fertilize developers and they find the maintainability costs are lower.Oh hey, I did some work for No Not Enron. Although that was beforethey changed their name -- back then they were called MCI. ;P With Fusebox 4.0 and Mach-II the extended use of XML does make using Fusebox for other than ColdFusion, easier.Although there is already a far well trodden use of Fusebox in PHP apps. I would love to see how onTap and Fusebox could work together-integrate. Those are my thoughts.I haven't had a close enough look at FB4 yet (just haven't had thetime yet).It's an interesting thought because I remember you mentioning thepossibility of integration between the onTap framework and Mach-II andthinking I need to learn about Mach-II, but it didn't occur to me atthe time to really think about integration between FB and onTap...Now that I've given it some consideration, I definately see thepossibility of the two frameworks coexisting in the same directorystructure, and FB apps taking advantage of some of the onTaparchitecture like management of custom tags and function libraries,datasource management, etc. I was going to provide an explanation ofhow or why here, but I decided instead to just put it on my blog:http://www.turnkey.to/ontap/docs/blog.cfms. isaac dealey 972-490-6624team macromedia volunteerhttp://www.macromedia.com/go/teamchief architect, tapestry cmshttp://products.turnkey.toonTap is open sourcehttp://www.turnkey.to/ontap
 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



Re: Data Sources?

2003-09-28 Thread Paul Hastings
 I'm working on an application that is global and based on UTC (Universal Coordinated Time). and I was hoping to find a list of countries and time zones that I could quickly grab and import into my database.States and Provinces would be nice as well but they're not needed.as you can see from http://www.tei.or.th/utmZones/ (it will be slow to startup) thats going to be difficult to actually use w/out specific geographicpositions. you can get country/city/region specific data using a bit ofjava, see timezoneCFC (this url will wrap):http://www.macromedia.com/cfusion/exchange/index.cfm?view=sn130#loc=en_usview=sn131viewName=ColdFusion%20Extensionauthorid=0page=0scrollPos=0subcatid=0snid=sn131itemnumber=-1extid=1007983catid=0testbed here: http://www.sustainablegis.com/projects/tz/testTZCFC.cfm
 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



cfset

2003-09-28 Thread Kathy Wargo
How can I set the following stringcfset theAnchor = a href =''  My Link /a I am getting caught onparsing because of the  and the  characters.Kathy WargoKMW ASSOCIATES410-280-2763
 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



How can i test for this?

2003-09-28 Thread Mike Kear
 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]



OT: UK road-names

2003-09-28 Thread W Luke
Can anyone advise how I would legally obtain the entire list of the UKroad-network (ideally in importable data!But can work around that).Needevery single road-name.Would such info be publicly available, or would theOrdanance Survey have protections on it?ThanksWill
 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



RE: cfset

2003-09-28 Thread Joe Eugene
I am not getting any errors...What version of CF are you?This should work.cfset theAnchor = a href="" href="http://www.whatever.comMy">http://www.whatever.comMy Link/aYou need http... to resolve the url.Joe Eugene-Original Message-From: Kathy Wargo [mailto:[EMAIL PROTECTED]Sent: Sunday, September 28, 2003 2:44 PMTo: CF-TalkSubject: cfsetHow can I set the following stringcfset theAnchor = a href =''  My Link /a I am getting caught onparsing because of the  and the  characters.Kathy WargoKMW ASSOCIATES410-280-2763
 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



Re:How can i test for this?

2003-09-28 Thread lee
You can't have the pound signs in the isDefined function - since it's in quotes, CF assumes you mean the pound sign.Try this:cfset authTest = session.auth.#articleId#cfif isDefined(authTest)(do something)cfelse(do something else)/cfif 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 many?

2003-09-28 Thread lee
Just an FYI - it stops after 32 levels (actually, at 31 I believe) not to stop runaway values but because it's a 32-bit system. Same deal with the bit function in CF - limited by the system it is on. Once 64-bit systems (OS/app/db) come along, I assume that it will support up to 63 levels.For what it's worth I've gone several dozen deep (modeling a nested treehierarchy) and have hit no problems.There is no limit (beyond systemresources) that I know of. In fact in my little experiment I was more limited by SQL server (whichthrows an exception after 32 levels of recursion to prevent runawayrequests) than by CF. Jim Davis -Original Message-From: Ben Doom [mailto:[EMAIL PROTECTED] Sent: Sunday, September 28, 2003 12:46 AMTo: CF-TalkSubject: Re: how many? As far as I know, there's no theoretical limitation on depth.I know I've gone 2 deep with no trouble, and think I might have gone 3deep.The best way to know for sure is to test it, of course.:-)--Ben DoomRay Bujarski wrote: How many structures deep can I nest?  Is this possible?  block[#cell_type#][#cell#][#getKey#]  Thanks,  Ray  _[Todays 
 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



RE: CFMX Instances on JRUN

2003-09-28 Thread Joe Eugene
Does anybody know how to test Which Instance of CFMX processed the request?I have 2 instances created as per docs(just copying cfusion-ear) into thesecondinstance created on the JRun Server. Left (SERVER-INF) alone in bothInstances,since these have instance config parameters.Default CFMX Instance : Port 8300Second CFMX Instance : Port 8101However these are not working.http://127.0.0.1:8300/CFIDE/administrator/index.cfmhttp://127.0.0.1:8101/CFIDE/administrator/index.cfmBut this still works.http://127.0.0.1/CFIDE/administrator/index.cfmThis is kinda confusing.. Hopefully someone can help.Thanks,Joe Eugene-Original Message-From: Joe Eugene [mailto:[EMAIL PROTECTED]Sent: Saturday, September 27, 2003 1:44 PMTo: CF-TalkSubject: RE: CFMX Instances on JRUNYes, i read through that documentation and did1.http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/cluster3.htm#wp1027612. http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/cluster4.htmThe above 2 steps left me with the same issue noted on the step 2 link.From Docs below.. didnt seem to work or i am doing something wrong.If you already have ColdFusion MX deployed on a JRun server, you can copythe ColdFusion application to the new JRun server and it will deployautomaticallyI copied the 1st cfusion instance files to the new Server Instancecfusion2,this left me with 2 Servers running on the same port and No Response.Thanks,Joe Eugene -Original Message- From: Nick de Voil [mailto:[EMAIL PROTECTED] Sent: Saturday, September 27, 2003 1:20 PM To: CF-Talk Subject: Re: CFMX Instances on JRUN Joe  I wasnt able to find any clear documentation of the correct setup  for Multiple Instances of CFMX on JRun. Did you see this?http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/clusteri.htm#wp102311 Not a very full explanation I know. Nick
 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



Re: UK road-names

2003-09-28 Thread Paul Hastings
 Can anyone advise how I would legally obtain the entire list of the UK road-network (ideally in importable data!But can work around that).Needhttp://www.data-store.co.uk/http://apps.kingswood.ltd.uk/cat/products.php?c=UKMAPthough entire might be wishful thinking.
 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



dynamic menus

2003-09-28 Thread Sam Fisher
Hi Everyone,I am having trouble again.I'm trying to create my first dynamic menu cfselect drop-down list.Unfortunately, I don't know how to get the page to refresh (_javascript_:refresh(); ?) when a drop-down selection is made.The technique I've begun to set up is for the first menu to list some items.When one item is selected (don't know how to implement the onChange command with cfselect), the item value is stored in a variable, and then the page is refreshed to show that the new selection is selected (without being sent to a db).When the page is refreshed showing the selection, it also routes the selected value of the first list through a CFSWITCH tag, which determines the constituents of the second list. Creating the first list is what has me confused.But here's an example of the switch incase you see any problem swith it.CFSWITCH _expression_ = #var#  CFCASE value=A CFQUERY name=Alistdatasource=source dbtype=ODBCSELECT* FROM [Lookup - Track] WHERE Track = 'BSHE' OR Track = 'BIOS' OR Track = 'EOH' OR Track = 'HPM' OR Track = 'IH' OR Track = 'EOHIH/GEH' /CFQUERYCFSELECT name=Program query=Alist value=Track display=Departmentoption value= selected--Select--/option/CFSELECT/CFCASE  CFCASE value=B CFQUERY name=Blist datasource=source dbtype=ODBCSELECT* FROM [Lookup - Track] WHERE Track = 'BIOS' ORTrack = 'EPI' OR Track = 'PHI' OR Track = 'PN' OR Track = 'EOH/EPI'/CFQUERYCFSELECT name=Program query=Blist value=Track display=Departmentoption value= selected--Select--/option/CFSELECT/CFCASE /CFSWITCHThanks,-S
 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



Re:dynamic menus

2003-09-28 Thread lee
Try this. I'm a big fan of NOT using CFFORM etc.Note the onChange event - very straightforward.And this way you need only one list (no case statement needed).==cfparam name=FORM.author_id default=cfquery name=Alist datasource=word	SELECT		author_id, 		author_first_name	FROM		author	ORDER BY author_first_name/cfqueryform method=post name=listForm	select name=author_id >		option value=-- SELECT --/option		cfoutput query=Alist			option value=#author_id# cfif #FORM.author_id# EQ #Alist.author_id#selected/cfif#author_first_name#/option		/cfoutput	/select/form=Hi Everyone,I am having trouble again.I'm trying to create my first dynamic menu cfselect drop-down list.Unfortunately, I don't know how to get the page to refresh (_javascript_:refresh(); ?) when a drop-down selection is made.The technique I've begun to set up is for the first menu to list some items.When one item is selected (don't know how to implement the onChange command with cfselect), the item value is stored in a variable, and then the page is refreshed to show that the new selection is selected (without being sent to a db).When the page is refreshed showing the selection, it also routes the selected value of the first list through a CFSWITCH tag, which determines the constituents of the second list. Creating the first list is what has me confused.But here's an example of the switch incase you see any problem swith it.CFSWITCH _expression_ = #var#  CFCASE value=A CFQUERY name=Alistdatasource=source dbtype=ODBCSELECT* FROM [Lookup - Track] WHERE Track = 'BSHE' OR Track = 'BIOS' OR Track = 'EOH' OR Track = 'HPM' OR Track = 'IH' OR Track = 'EOHIH/GEH' /CFQUERYCFSELECT name=Program query=Alist value=Track display=Departmentoption value= selected--Select--/option/CFSELECT/CFCASE  CFCASE value=B CFQUERY name=Blist datasource=source dbtype=ODBCSELECT* FROM [Lookup - Track] WHERE Track = 'BIOS' ORTrack = 'EPI' OR Track = 'PHI' OR Track = 'PN' OR Track = 'EOH/EPI'/CFQUERYCFSELECT name=Program query=Blist value=Track display=Departmentoption value= selected--Select--/option/CFSELECT/CFCASE /CFSWITCHThanks,-S
 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



RE: How can i test for this?

2003-09-28 Thread Philip Arnold
 I have a variable in a struct called session.auth that is related tothe id of the article the user is seeing.If the variable#session.auth.100824# exists, the user can visit article 100824 otherwise he's deniedaccess. How can I check that this variable exists?I have tried thefollowing and it throws an error, saying that isdefined has to have a syntacticallyvalid variable 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 in cfelse 	you're out /cfifInstead of using isDefined() on a key, you should use StructKeyExists()cfif StructKeyExists(Session.auth, articleID)That should do what you wantHTH
 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



Re: CFMX Instances on JRUN

2003-09-28 Thread Dave Carabetta
 Does anybody know how to test Which Instance of CFMX processed therequest? I have 2 instances created as per docs(just copying cfusion-ear) into the second instance created on the JRun Server. Left (SERVER-INF) alone in both Instances, since these have instance config parameters. Default CFMX Instance : Port 8300 Second CFMX Instance : Port 8101 However these are not working. http://127.0.0.1:8300/CFIDE/administrator/index.cfm http://127.0.0.1:8101/CFIDE/administrator/index.cfm But this still works. http://127.0.0.1/CFIDE/administrator/index.cfmTo see which instance served the request, use this code snippet from BrandonPurcell's DevNet (or whatever it's called now) article:cfobject action="" type=java class=jrunx.kernel.JRun name=jrcfset servername = jr.getServerName()cfoutput#servername#/cfouputHere's the link to the article, and is a complete set of instructions:http://www.macromedia.com/devnet/mx/coldfusion/j2ee/articles/endtoend.htmlAs for the shared doc root, were you able to successfully follow thedirections I sent you the link to in my previous reply?Regards,Dave.
 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



RE: how many?

2003-09-28 Thread Jim Davis
I really doubt that the fact that it's a 32-bit system has anything todo with it.For one thing the number 32 only needs 6 binary places torepresent it.;^) The bit function may be limited (as it concerns bit math) but notsomething like recursion - for example on a 32 bit system I can recursedown more than 32 levels in CF (or in C or in Java or in other databasesystems).You often see numbers that relate to bit math and registersize in programs (2,4,8,16,32,64,128,256,etc) - but that's an indicationof binary math and register size. In the case of the recursion of Stored Procedures in SQL 2000 it's justa nice round figure.Small enough not to cause performance issues, butlarge enough that it's rarely an implementation barrier. Jim Davis   -Original Message-From: [EMAIL PROTECTED] [EMAIL PROTECTED][mailto:[EMAIL PROTECTED] Sent: Sunday, September 28, 2003 3:41 PMTo: CF-TalkSubject: Re:how many? Just an FYI - it stops after 32 levels (actually, at 31 I believe) notto stop runaway values but because it's a 32-bit system. Same deal with the bit function in CF - limited by the system it is on.Once 64-bit systems (OS/app/db) come along, I assume that it willsupport up to 63 levels.For what it's worth I've gone several dozen deep (modeling a nestedtreehierarchy) and have hit no problems.There is no limit (beyond systemresources) that I know of. In fact in my little experiment I was more limited by SQL server (whichthrows an exception after 32 levels of recursion to prevent runawayrequests) than by CF. Jim Davis -Original Message-From: Ben Doom [mailto:[EMAIL PROTECTED] Sent: Sunday, September 28, 2003 12:46 AMTo: CF-TalkSubject: Re: how many? As far as I know, there's no theoretical limitation on depth.I know I've gone 2 deep with no trouble, and think I might have gone 3deep.The best way to know for sure is to test it, of course.:-)--Ben DoomRay Bujarski wrote: How many structures deep can I nest?  Is this possible?  block[#cell_type#][#cell#][#getKey#]  Thanks,  Ray  _[Todays _[Todays 
 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



RE: cfset

2003-09-28 Thread Matthew Walker
What? There's no problem with that line. If you want to use double quotes inthe string you need to escape them by doubling them up, but you don't haveany double quotes here.  How can I set the following stringcfset theAnchor = a href =''  My Link /a I am getting caught onparsing because of the  and the  characters.
 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



Re: Re:dynamic menus

2003-09-28 Thread Calvin Ward
I concur with Lee, cfform is certainly not a preferred route...- Calvin- Original Message - From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: CF-Talk Sent: Sunday, September 28, 2003 4:40 PMSubject: Re:dynamic menusTry this. I'm a big fan of NOT using CFFORM etc.Note the onChange event - very straightforward.And this way you need only one list (no case statement needed).==cfparam name=FORM.author_id default=cfquery name=Alist datasource=wordSELECTauthor_id, author_first_nameFROMauthorORDER BY author_first_name/cfqueryform method=post name=listFormselect name=author_id >option value=-- SELECT --/optioncfoutput query=Alistoption value=#author_id# cfif #FORM.author_id# EQ #Alist.author_id#selected/cfif#author_first_name#/option/cfoutput/select/form! =Hi Everyone,I am having trouble again.I'm trying to create my first dynamic menu cfselect drop-down list.Unfortunately, I don't know how to get the page to refresh (_javascript_:refresh(); ?) when a drop-down selection is made.The technique I've begun to set up is for the first menu to list some items.When one item is selected (don't know how to implement the onChange command with cfselect), the item value is stored in a variable, and then the page is refreshed to show that the new selection is selected (without being sent to a db).When the page is refreshed showing the selection, it also routes the selected value of the first list through a CFSWITCH tag, which determines the constituents of the second list. Creating the first list is what has me confused. !But here's an example of the switch incase you see ! any problem swith it.CFSWITCH _expression_ = #var#CFCASE value=ACFQUERY name=Alistdatasource=source dbtype=ODBCSELECT* FROM [Lookup - Track] WHERE Track = 'BSHE' OR Track = 'BIOS' OR Track = 'EOH' OR Track = 'HPM' OR Track = 'IH' OR Track = 'EOHIH/GEH' /CFQUERY CFSELECT name=Program query=Alist value=Track display=Departmentoption value= selected--Select--/option /CFSELECT /CFCASECFCASE value=BCFQUERY name=Blist datasource=source dbtype=ODBCSELECT* FROM [Lookup - Track] WHERE Track = 'BIOS' ORTrack = 'EPI' OR Track = 'PH! I' OR Track = 'PN' OR Track = 'EOH/EPI'/CFQUERY CFSELECT name=Program query=Blist value=Track display=Departmentoption value= selected--Select--/option /CFSELECT /CFCASE/CFSWITCHThanks,-S
 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



RE: fusebox training

2003-09-28 Thread Dave Watts
 I've been investigating the possibility of becoming a  Macromedia Certified Instructor (MCI) -- there's a local  company here in Dallas that I've been talking with aobut  it, although nothing's gonna happen overnight -- and I'm wondering what the feasability is of teaching classes in  Fusebox and what kind of student-demand there is for it.As a Macromedia Certified Instructor, you'll most likely end up teaching theofficial Macromedia courses, which don't cover any frameworks.Dave Watts, CTO, Fig Leaf Softwarehttp://www.figleaf.com/voice: (202) 797-5496fax: (202) 797-5444
 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



Retrofit user login/validation

2003-09-28 Thread Jim McAtee
I've got to move a fairly extensive Intranet web site away from a company'soffice network where the site is protected using Windows ACLs and users loggedin agains an NT domain.My choices are basically 1) continue to use ACLs andcreate a new domain (or use local user accounts) on the web server and create asecond 'remote' account for each employee, or 2) retrofit a CF/session/db basedvalidation scheme to the Intranet site.There are actually some other options such as using Radius against a Radiusserver at the home office, placing a DC at the datacenter that syncs with thehome DC, opening a VPN from the web server back to the corporate network,solely for login validation.These tend to get increasingly involved and alsoopen up some rather sticky security problems.Is it possible to add in a CF session based validation scheme to the sitepurely by implementing it within application.cfm?There are many hundreds ofCF templates located on this site and just not enough time to modify them allto add in validation template-by-template.Secondly, while 99+% of the site is CF based, there is some content that iseither HTML or documents such as Word  PDF that are reports such as salesfigures, etc. that are highly sensitive.How can a CF session based system beextended to protect that content?
 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



Hosting at CrystalTech or EdgeWebHosting

2003-09-28 Thread Ryan Sabir
Hey all,I remember some talk a while ago about some of you guys who werehosting with CrystalTech. How have they been lately? Most of thereviews I find about them say they are really good. I'm thinking ofmoving a high volume site over there.I'm also looking at another company called EdgeWebHosting has anyonetried them out?seeya!---Ryan SabirNewgency Pty Ltd2a Broughton StPaddington 2021Sydney, AustraliaPh (02) 9331 2133Fax (02) 9331 5199Mobile: 0411 512 454http://www.newgency.com/index.cfm?referer=rysig 
 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



Re:How can i test for this?

2003-09-28 Thread S . Isaac Dealey
This syntax won't work either... it would have to beisDefined(authTest) which would check for the existsance of a variablewhich matches the value of the string authTest instead ofisdefined(authTest) which in this case will always evaluate truesince you've just defined the variable authTest on the previousline.The reason why isdefined() is producing an error is becausesynatically valid variable names can't begin with digits (althoughstructure keys can) -- so you could do one of two things, you couldprefix the number with a letter like #session.auth.aid_100824# or youcould as Paul Hastings suggested (and as I typically suggest) use#structkeyexists(session.auth,100824)#hths. isaac dealey 972-490-6624team macromedia volunteerhttp://www.macromedia.com/go/teamchief architect, tapestry cmshttp://products.turnkey.toonTap is open sourcehttp://www.turnkey.to/ontap You can't have the pound signs in the isDefined function - since it's in quotes, CF assumes you mean the pound sign. Try this: cfset authTest = session.auth.#articleId# cfif isDefined(authTest)(do something) cfelse(do something else) /cfifI have a variable in a struct called session.auth that isrelated to the idof the article the user is seeing.If the variable#session.auth.100824#exists, the user can visit article 100824 otherwise he'sdenied access.How can I check that this variable exists?I have triedthe following andit throws an error, saying that isdefined has to have asyntactically 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/cfifCheers,Michael KearWindsor, NSW, AustraliaAFP Webworks. ~~ ~~~| ColdFusion MX 6.1, now 2.5 times faster. http://www.macromedia.com/software/coldfusion/productinfo/ upgrade/jump/introducing.html?trackingid=ColdFusion_468x60 g_HouseofFusion_carat_082803 Message: http://www.houseoffusion.com/lists.cfm?link=i:4:138782 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/unsubsc ribe.cfm?user=633.558.4
 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



RE: Hosting at CrystalTech or EdgeWebHosting

2003-09-28 Thread Mark Leder
Ryan, I've been with CT over 2 years now.It keeps getting better and better.Inow have a dedicated box there with a number of sites - tech support hasalways been courteous and prompt, even with the sometimes dumb questions Iask, and even at 3 AM I get a human.Their admin control center is reallyfull featured.They just switched from Imail server to Smartermail for allemail accounts.Smartermail has come out with three major revisions since1.0 in just 10 weeks (v1.0 worked great out of the box, but Smartermailseems intent on outdoing itself).Performance gains and ease of use havebeen nothing short of phenomenal.Highly recommended.Thanks, Mark -Original Message-From: Ryan Sabir [mailto:[EMAIL PROTECTED] Sent: Sunday, September 28, 2003 8:21 PMTo: CF-TalkSubject: Hosting at CrystalTech or EdgeWebHostingHey all,I remember some talk a while ago about some of you guys who werehosting with CrystalTech. How have they been lately? Most of thereviews I find about them say they are really good. I'm thinking ofmoving a high volume site over there.I'm also looking at another company called EdgeWebHosting has anyonetried them out?seeya!---Ryan SabirNewgency Pty Ltd2a Broughton StPaddington 2021Sydney, AustraliaPh (02) 9331 2133Fax (02) 9331 5199Mobile: 0411 512 454http://www.newgency.com/index.cfm?referer=rysig _
 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



RE: Hosting at CrystalTech or EdgeWebHosting

2003-09-28 Thread Jim Davis
Very good.Lots of communication (a huge thing in my book) lots (andlots and lots) of recent upgrades (Windows 2003, CF MX 6.1, new metricsand email servers, and a new control panel). With all of that they've also recently lowered prices and added featuresto accounts (you can now use SQL server on the type II account forexample). Nothing but praise: both www.depressedpress.comhttp://www.depressedpress.com/and www.firstnight.orghttp://www.firstnight.org/are hosted there. Jim Davis -Original Message-From: Ryan Sabir [mailto:[EMAIL PROTECTED] Sent: Sunday, September 28, 2003 8:21 PMTo: CF-TalkSubject: Hosting at CrystalTech or EdgeWebHosting Hey all,I remember some talk a while ago about some of you guys who werehosting with CrystalTech. How have they been lately? Most of thereviews I find about them say they are really good. I'm thinking ofmoving a high volume site over there.I'm also looking at another company called EdgeWebHosting has anyonetried them out?seeya!---Ryan SabirNewgency Pty Ltd2a Broughton StPaddington 2021Sydney, AustraliaPh (02) 9331 2133Fax (02) 9331 5199Mobile: 0411 512 454http://www.newgency.com/index.cfm?referer=rysig _[Todays 
 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



Load testing CFMX6.1

2003-09-28 Thread Stacy Young
We're prepping a cfmx cluster (cfmx on jrun4) of 2 severs to go live inthe near future. I'm currently load testing break and destroy scriptson a single server to see our max capacity in the event one server goesdown.I'm happy to report that @ 30 virtual users with an aggressive wait time(meaning low)...cfmx just smiles and keeps on coming. :)The application is very data intensive (reporting) so there's plenty offile i/o (outputting csv files)...loads of database work etc. Themachine is also less powerful than our production boxes...and has 512RAM. (Solaris 8)I have to say I'm very relieved. This same app used to explode on CF5.In fact, I can still browse the site with a very acceptable responsetime!Cheers,StaceAVIS IMPORTANT:--- Les informations contenues dans le present document et ses pieces jointes sont strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, distribution, copie, ou autre utilisation de ces informations est strictement prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait communiquer immediatement avec l'expediteur et detruire ce document sans en faire de copie sous quelque forme.WARNING:---The information contained in this document and attachments is confidential and intended only for the person(s) named above. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution, or any other use of the information is strictly prohibited. If you have received this document by mistake, please notify the sender immediately and destroy this document and attachments without making any copy of any kind.
 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



RE: CFMX Instances on JRUN

2003-09-28 Thread Joe Eugene
Dave,The documentation points to Creating CFMX Instances with the OLD CFMX ForJ2EE(v 6.0)I have done all the steps in live docs documentation.i.e1. Install CFMX ENT 6.1 with JRun Full install.2. The above install creates One Instance of CFMX.3. I created a second JRun Server Instance through JRun JMC(cfusion2)4. Copied the Expanded default Intall of CFMX(cfusion-ear Folder) to newCFMX Instance(cfusion2)5. Left (SERVER-INF Folder) alone in (cfusion2 folder), since this has theconfig for 2nd CFMX Instance.6. Deleted (default-ear) in cfusion2 folder cause this is the default earcreated by JMC.I am unable to access the CFMX administrator with different port numbers.i.e.http://127.0.0.1:8300/CFIDE/administrator/index.cfmhttp://127.0.0.1:8101/CFIDE/administrator/index.cfmI am probably missing some config and am trying to figure what i am missing?Have you configured Multiple Instances of CFMX (version 6.1)?Did you do something different than i did?Thanks,Joe Eugene-Original Message-From: Dave Carabetta [mailto:[EMAIL PROTECTED]Sent: Sunday, September 28, 2003 5:51 PMTo: CF-TalkSubject: Re: CFMX Instances on JRUN Does anybody know how to test Which Instance of CFMX processed therequest? I have 2 instances created as per docs(just copying cfusion-ear) intothe second instance created on the JRun Server. Left (SERVER-INF) alone in both Instances, since these have instance config parameters. Default CFMX Instance : Port 8300 Second CFMX Instance : Port 8101 However these are not working. http://127.0.0.1:8300/CFIDE/administrator/index.cfm http://127.0.0.1:8101/CFIDE/administrator/index.cfm But this still works. http://127.0.0.1/CFIDE/administrator/index.cfmTo see which instance served the request, use this code snippet fromBrandonPurcell's DevNet (or whatever it's called now) article:cfobject action="" type=java class=jrunx.kernel.JRun name=jrcfset servername = jr.getServerName()cfoutput#servername#/cfouputHere's the link to the article, and is a complete set of instructions:http://www.macromedia.com/devnet/mx/coldfusion/j2ee/articles/endtoend.htmlAs for the shared doc root, were you able to successfully follow thedirections I sent you the link to in my previous reply?Regards,Dave.
 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



Re: CFMX Instances on JRUN

2003-09-28 Thread Dave Carabetta
 Have you configured Multiple Instances of CFMX (version 6.1)? Did you do something different than i did?For starters, I don't use the official instructions I've seen in theMacromedia documentation regarding installing MX into a JRun instance (EARdeployment, etc.). I find them too cumbersome and confusing. So while I'mgoing to outline what I do in my installs, I just want to point out up frontthat it's going to be different from the official docs that I've seen, and,in my opinion, my way is much easier to follow and maintain.This is what I do:1. Open the JMC and click the Create New Server link and follow the wizardsteps to set up the new JRun instance. Do not start the new server aftercreating it.2. Run the MX installer, choosing the WAR deployment option. You will windup with two resulting files, cfusion.war and rds.war. (Note that rds.warwill not be necessary if you're not going to use a context root.3. Delete the default-ear directory.4. In the root of your new JRun instance (in this example, assume I've namedthe JRun instance cfmx2), create a folder called cfusion.5. Copy cfusion.war to the cfusion directory.6. Run jar -xvf cfusion.war to deploy the WAR file.7. Delete cfusion.war.Now that the installation phase is done, now it's time for the configurationphase:8. Open WEB-INF/jrun-web.xml in the cfusion directory of your new instance.9. Look for the context-root/cfusion/context-root element and delete the/cfusion between the tags.10. To set up the shared document root, you need to set up the mappings tothe doc root. In my installations (MX 6.1 on Linux/Solaris), I have thefollowing. The only thing you'll need to change is the values between thesystem-path tags to reflect your system setup.virtual-mappingresource-path/*/resource-pathsystem-path/export/home/dave/public_html/wwwroot/system-path/virtual-mappingvirtual-mappingresource-path/WEB-INF/*/resource-pathsystem-path/opt/jrun4/servers/dave/cfusion/WEB-INF/system-path/virtual-mappingvirtual-mappingresource-path/CFIDE/*/resource-pathsystem-path/opt/jrun4/servers/dave/cfusion/CFIDE/system-path/virtual-mappingThe first mapping sets up the redirect when a URL is requested in thebrowser. As you can see, it's not in the same directory path as my JRuninstallation. The second mapping allows the web server to find the MXlibraries, etc., it needs to process and serve the request. The last mappingisn't necessary, but using it means that I don't have to copy the MXadministrator out to my site.At this point, you're ready to start up your MX instance.For anybody who has come across the installation instructions for MX 6.0,the only difference (that I've found) between the 6.1 instruction set andthe 6.0 instruction set is that you don't need to copy the jrun.propertiesfile to you document root (some architecture changes in 6.1 alleviated theneed for this).Once your instance is started up, you canaccess the new instance through theURL.Once you're satisfied that things are working as you like, you can just runthe wsconfig to get your external web server running with this MX instance.Hope this helps?Regards,Dave.
 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



RE: How can i test for this?

2003-09-28 Thread Mike Kear
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]



RE: fusebox training

2003-09-28 Thread S . Isaac Dealey
 I've been investigating the possibility of becoming a Macromedia Certified Instructor (MCI) -- there's a local company here in Dallas that I've been talking with aobut it, although nothing's gonna happen overnight -- and I'm wondering what the feasability is of teaching classes in Fusebox and what kind of student-demand there is for it. As a Macromedia Certified Instructor, you'll most likely end up teaching the official Macromedia courses, which don't cover any frameworks. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444Actually I got clarification on that from the Director of InstructorReadiness today about this. Her answer:as an MCI you would1) Only be allowed to teach our authorized curriculum for a MacromediaAuthorized Training Partner (you would retain your MCI status so longas you taught for any MATP)2) Only be allowed to teach our authorized curriculum, and not anyother overlapping courses3) Could teach other courses outside our curriculum, such as Fusebox.So yes, I'll have to teach the MM curriculum, but I won't be limitedto it. So as long as there's no overlapping curriculum provided byMacromedia I guess I'm set to teach whatever I like on the side. :)Thanks tho Dave,s. isaac dealey 972-490-6624team macromedia volunteerhttp://www.macromedia.com/go/teamchief architect, tapestry cmshttp://products.turnkey.toonTap is open sourcehttp://www.turnkey.to/ontap
 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]