what is behind the URLSessionFormat function?
hi i'd like to know - how this URLSessionFormat works in technical deep. someone knows about? i have telnet'd to the box and executed a page. i cannot see any special things for e.g. in the headers or anything else. Javascript isn't used. The Webserver Logfile tells only about *one* GET request. Therefor there is no redirect or something like this... how will they find out if cookies are disabled or not??? Marc ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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: what is behind the URLSessionFormat function?
I would assume it just checks for cookie.cfid and cookie.cftoken. If they do not exist, the server assumes you don't support cookies. -Raymond Camden > -Original Message- > From: Marc Bauer [mailto:[EMAIL PROTECTED] > Sent: Saturday, June 21, 2003 5:15 AM > To: CF-Talk > Subject: what is behind the URLSessionFormat function? > > > hi > > i'd like to know - how this URLSessionFormat works in > technical deep. someone > knows about? > > i have telnet'd to the box and executed a page. i cannot see > any special things for > e.g. in the headers or anything else. Javascript isn't used. > The Webserver Logfile tells > only about *one* GET request. Therefor there is no redirect > or something like this... > > how will they find out if cookies are disabled or not??? > > > Marc > > > ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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: Is Flash really THAT good?
Dave Watts wrote: >>That puts the developer of the Flash application in >>control, not me. >> >>And in my browser I can shift-click to open in a new >>window and control-click to open in a new tab. > > I don't think that's really a fair comparison. In an application interface, > the application developer should be in control. To a certain extend. But in a traditional application interface, lets say an intranet application, the application developer knows much more about the visitor. He knows the visitor is on the intranet with 0.4 ms latency, using a computer with a 14+ inch screen, a mouse and a keyboard so he can design an interface for exactly that situation. But does that really work when you are delivering an application over the internet to the other side of the world and you don't know if the guy on the other end is using a PDA or a workstation with a 22 inch screen? And even then, the problem is not just control, it is also predictability. I know how my browser respnds to certain commands, but every Flash application can respond differently. I mean, after Mike's code example I went to the DevEx to try the Shift-click and Control-click expecting them to work because the code looks trivial. But it didn't work, and there is no way to see that from the outside. > The developer should be able > to guide and constrain the user of the application. We take this for granted > with non-HTML applications. We don't really take it for granted. If we don't like the buttons of the mediaplayer, we skin it. If we think these insanely big buttons of the browser take up to much room on our PDA screens, we use a minimalistic theme. On our desktop, we all arrange the shortcuts in a different way, we use different color scheme's etc. > Why should we expect web applications to behave > like documents? Why should we limit web applications to what documents can > present? I don't expect applications to behave like documents. But I expect them to copy the best behaviour from documents and combine that with the best behaviour of traditional applications. And in some areas I feel it is actually the web applications that are quite limited. I hope you can prove me wrong, but I haven't seen any web application that recognizes that I have a laptop that I have customised to some high contrast colors because the screen is so lousy. But both traditional applications that use the OS color scheme and web documents that use my browser colors can easily provide a legible interface. (That laptop died, but you get the point.) I think Flash has reached the point where it can compete with many full blown intranet applications (intranet = controlled environment). I think Flash can deliver powerfull widgets over the internet (and people will often not even notice it is Flash). I am not so sure if Flash is the answer to deliver full blown applications over the internet. I think it is better as the applet/activeX options, but it still lacks some of the features of HTML. (HTML on the other hand lacks persistence, has implementation issues and isn't really interactive.) Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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: Limit Simultaneous Requests
Shahzad.Butt wrote: > > P3 Dual Processor 1.266 GHz (512 Cache) > > RAM = 1.0 GB > > (This is just application server as DB server is different machine) > > How many simultaneous requests (in CFMX Admin) should I make as default > for better performance of our Intranet system running (CFMX uses 10 as > default). In my company concurrent users at any time are somthing like > 90 - 100. I am using CFMX and its load balanced using Windows Load > Balancing. Only benchmarking will tell. http://mmcommunity.breezecentral.com/p59629182/ Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFMX and XML
Ian Skinner wrote: > I'm learning XML and integrating it wit CFMX at the same time. We are doing > a prototype application here, recreating our Intranet phone directory in > XML. The idea is to create one XML file that is stored for 1 week, (we > generally only get new employees on Mondays, so it will refresh each Monday) > Creating this XML document with the CFXML tag and saving it with CFFILE is > very straight forward. Things start getting a little confusing when I start > trying to integrate a XSL document so that we can display the directory. > There are six views we want to provide, so that translates into six > variations of the XSL document. Other thread: http://www.houseoffusion.com/lists.cfm?link=m:5:8728:80100 You only need 3 variations of the XSL document if you handle the difference between the screen and print versions using CSS. I can't really help you with the rest of your question. Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Storing Credit Card Info
>Is there a ìbest practiceî to store/implement the private key for >cfx_textcrypt? I know the private key is one of the major keys to >security of the process, and my best guess must not be stored on the >server. How do you store/implement the private key? I personally store it on my computer at home/work, with a cryptic name like old_recipes.txt or whatnot. I copy and paste into a text field and set as a session variable when I'm working with decrypting cards. Of course, this makes it impractical to use in a situation where you'd want to store a customer's card and let them return and use that card without entering it again. In that case you'd have to store the private key on the server and then the whole encryption thing is moot. -- Bud Schneehagen - Tropical Web Creations, Inc. _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Web Based Solutions / eCommerce Development & Hosting http://www.twcreations.com/ - http://www.cf-ezcart.com/ 954.721.3452 - Toll Free: 877.207.6397 - Fax: 954.721.7493 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Storing Credit Card Info
How bad would it be to just use a long password as the encryption key? Require the password be over 10 characters and a mix of upper/lower case letters and number. This way they never have to copy and paste it in, they could just remember it. Al >I personally store it on my computer at home/work, with a cryptic >name like old_recipes.txt or whatnot. I copy and paste into a text >field and set as a session variable when I'm working with decrypting >cards. Of course, this makes it impractical to use in a situation >where you'd want to store a customer's card and let them return and >use that card without entering it again. In that case you'd have to >store the private key on the server and then the whole encryption >thing is moot. >-- ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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: Storing Credit Card Info
At that point wouldn't it be easier for the customer to just type in the cc number? If not, how much more convenient is the password vs. the card? Worth the risk? Matt Robertson [EMAIL PROTECTED] MSB Designs, Inc. http://mysecretbase.com -Original Message- From: Al Musella, DPM [mailto:[EMAIL PROTECTED] Sent: Saturday, June 21, 2003 8:48 AM To: CF-Talk Subject: Re: Storing Credit Card Info How bad would it be to just use a long password as the encryption key? Require the password be over 10 characters and a mix of upper/lower case letters and number. This way they never have to copy and paste it in, they could just remember it. Al >I personally store it on my computer at home/work, with a cryptic >name like old_recipes.txt or whatnot. I copy and paste into a text >field and set as a session variable when I'm working with decrypting >cards. Of course, this makes it impractical to use in a situation >where you'd want to store a customer's card and let them return and >use that card without entering it again. In that case you'd have to >store the private key on the server and then the whole encryption >thing is moot. >-- ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF or .net?
On Friday, Jun 20, 2003, at 12:06 US/Pacific, Costas Piliotis wrote: > CFML is more like spaghetti code It's only spaghetti code if you write it that way. You can write nice structured code in CF. ColdFusion MX allows you to write OO-style code and frameworks like Fusebox allow for good separation of logic and presentation - especially in the forthcoming Fusebox MX framework which provides MVC out-of-the-box. > CF has better platform support. It'll run in Window$ or > Linux, or a bunch of *nix flavours or on OSX server... With > bluedragon, > it'll run on any J2EE compliant platform like Websphere, BEA Weblogic, > etc. Well, BlueDragon is not "Java Verified" so you can't make that statement with certainty. ColdFusion MX on the other hand is "Java Verified". I run CFMX for J2EE on Tomcat and JRun locally. > CFMX is great for Rapid Development. Sometimes, time to market is > crucial > to the success of a web app. And sometimes you'll need to move your application across different platforms - something .NET does not allow (Project Mono is an interesting experiment that may or may not provide a realistic way to deliver 'cross-platform' .NET applications). > COM support in ColdFusion has always blown goats. It just doesn't > work well for anything complicated. And, of course, COM is being sidelined by Microsoft as they push all their developers onto the new platform (.NET) and everyone has to rewrite their old ASP and VB apps (and everyone will have to do it all over again when Microsoft rolls out their next new platform :) Sean A Corfield -- http://www.corfield.org/blog/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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
Backing up CFMX>>>
Is there an easy way to back up all of the settings for CFMX? I need DSNs, mappings, Verity collections, custom tags, etc...and I've looked all the normal places (docs, google, macromedia.com, cf talk's archives). Will the CF Archive do what I need? Tyler ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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: Backing up CFMX>>>
> Is there an easy way to back up all of the settings for CFMX? I need DSNs, mappings, Verity collections, custom tags, etc...and I've looked all the normal places (docs, google, macromedia.com, cf talk's archives). Will the CF Archive do what I need? > Try the Archives and Deployment link under "Server Settings" in the Admin (8th option down) Regards, Dave. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Is Flash really THAT good?
On Friday, Jun 20, 2003, at 19:00 US/Pacific, Dave Watts wrote: >> That puts the developer of the Flash application in >> control, not me. >> >> And in my browser I can shift-click to open in a new >> window and control-click to open in a new tab. But that's the browser developer being in control - the behavior you describe is specific to the browser you use. In my browser: apple-click - open in new tab behind current tab shift-apple-click - open in new tab (in front) alt-apple-click - open in new window behind current window shift-alt-apple-click - open in new window (in front) > I don't think that's really a fair comparison. In an application > interface, > the application developer should be in control. Yes - which is why each browser behaves differently. Sean A Corfield -- http://www.corfield.org/blog/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Initial caps regex
Only about 5 months -- ironically, our test box is CFMX, because we've been trying to migrate. However, the original migration date was cancelled because my boss's dad had a heart attack, and when we finally tried to migrate it (me being in KY, my bosses and the box in FL) it was unsuccessful and we had to roll back to CF5. :-( I'd love to be struggling with CFC's -- I was trained on C/C++ and miss objects. I write UDFs for just about everything, and the error messages I've run into, while occasionally cryptic, were often more helpful than the 5 ones. -- Ben Doom Programmer & General Lackey Moonbow Software, Inc : -Original Message- : From: Matthew Walker [mailto:[EMAIL PROTECTED] : Sent: Friday, June 20, 2003 8:18 PM : To: CF-Talk : Subject: Re: Initial caps regex : : : At least you haven't been struggling with CFCs and cryptic error messages : for a year! ;-) : : - Original Message - : From: "Ben Doom" <[EMAIL PROTECTED]> : To: "CF-Talk" <[EMAIL PROTECTED]> : Sent: Saturday, June 21, 2003 1:48 AM : Subject: RE: Initial caps regex : : : > I would say gratifyingly simple. Very elegant, too. : > : > But only on MX, cries the boy trapped in 5. : > : > : > -- Ben Doom : > Programmer & General Lackey : > Moonbow Software, Inc : > : > : -Original Message- : > : From: Matthew Walker [mailto:[EMAIL PROTECTED] : > : Sent: Thursday, June 19, 2003 9:41 PM : > : To: CF-Talk : > : Subject: Initial caps regex : > : : > : : > : Hey I've just been playing with CFMX regular expressions and : thought I'd : > : share. You can write this to force initial caps: : > : : > : : > : : > : \b marks a transition to or from a word, \w marks an : > : alphanumeric, \u means : > : capitalize the next char, and \1 is a back reference. Alarmingly : > : simple, eh? : > : : > : : > : : > : ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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: Is Flash really THAT good?
Sean A Corfield wrote: > On Friday, Jun 20, 2003, at 19:00 US/Pacific, Dave Watts wrote: > >>>That puts the developer of the Flash application in >>>control, not me. >>> >>>And in my browser I can shift-click to open in a new >>>window and control-click to open in a new tab. > > > But that's the browser developer being in control - the behavior you > describe is specific to the browser you use. Specific to the way I tell my browser to behave. Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Is Flash really THAT good?
> -Original Message- > From: Jochem van Dieten [mailto:[EMAIL PROTECTED] > Sent: Saturday, June 21, 2003 2:23 PM > To: CF-Talk > Subject: Re: Is Flash really THAT good? > > Sean A Corfield wrote: > > On Friday, Jun 20, 2003, at 19:00 US/Pacific, Dave Watts wrote: > > > >>>That puts the developer of the Flash application in > >>>control, not me. > >>> > >>>And in my browser I can shift-click to open in a new > >>>window and control-click to open in a new tab. > > > > > > But that's the browser developer being in control - the behavior you > > describe is specific to the browser you use. > > Specific to the way I tell my browser to behave. Or, perhaps more realisitically, specific to amount of control that the browser developer has offered you. There's really no reason that well-constructed Flash application can't offer similar control within itself. There's definitely an issue of time (would you do this for a small, one-time applet?) and consistency (will every developer offer a different set of options/styles?) but there's nothing in Flash preventing it. The level of control given to the end user is developer controlled. Different applications offer different levels. A productivity app in which a user spends a lot of time (a word processor, PIM, or a browser) may be heavily configurable while even a complex game may limit the control offered to preserve the emotional context of the game. That being said there is a pretty solid correlation to the amount of time spent in an application (as a user-base) and the amount of customization that application provides. Flash applications generally offer little customization as much time isn't spent with them. The Flash developer's interface on the other hand - LOTS of customization. ;^) Jim Davis ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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: Is Flash really THAT good?
On Saturday, Jun 21, 2003, at 11:23 US/Pacific, Jochem van Dieten wrote: >> But that's the browser developer being in control - the behavior you >> describe is specific to the browser you use. > Specific to the way I tell my browser to behave. If you're lucky enough to have a browser that lets you decide what combination of shift-option-alt-ctrl-apple-whatever keys to use to get which effect. Again, it just reinforces the point that your choices are determined by the browser developer - some (many) browsers do not let you change that behavior (heck, some browsers don't even provide tabbed browsing). Sean A Corfield -- http://www.corfield.org/blog/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Backing up CFMX>>>
i know this wont help u for coldfusion but if you have dreamweaver the link i will give is a must have! I requested a coldfusion version but maybe someone on the list can get enough info off of this program to maybe make one. http://www.joexx.de/DW-Exporter/index_en.php ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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
CFC Remote Access
Trying my first remote access of a cfc. I have cfc's that work nicely if invoked from CF, but now I'm trying to call it remotely from Flash. I read that by default you don't have remote access in subdirectories so I installed the cfc in my wwwroot. I used the test http://www1.yoursite.com/flashservices/gateway which gives me a blank page pointing to the webroot where the cfc is so I believe I have access there. When I try to hit it I get an error that: "The method 'chart1' in component C:\Inetpub\wwwroot\charts.cfc cannot be accessed remotely." Does this mean I am connecting to the cfc, but just that "method" cannot be accessed remotely? Greg ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
log4j problem migrating J2SE app
Hi All, I started playing around with moving an existing Tomcat app to CFMX, with the intention of exploring the feasibility of replacing the JSP pages with CFML. Anyway, I've successfully invoked some beans and servlets from a test CF page. However, my app blows up with an 'Incompatible argument to function' when calling a log4j function (getLogger). The problem appears to be an incompatibility between the version of log4j shipped with CFMX and the newer version of log4j (1.2.7) used by my app. To work around this, I've tried: - adding my log4j.jar to the classpath (CFMX appears to still invoke its log4j.jar in /lib) - replacing the log4j.jar in /lib with the newer log4j.jar (CFMX blows up when attempting to access any page, e.g. localhost/CFIDE) So, it appears that a) the log4j.jar that ships with CFMX is not compatible with log4j 1.2.7; and b) that CFMX is dependent upon its version of log4j. Can anyone suggest a solution? Or is it unreasonable to expect CFMX to support existing Java apps? I was hoping to be able to tell my Java clients that migrating to CFMX would be a relatively painless way of gaining the benefits of CF on the front-end while retaining the strengths of Java on the back-end. If existing Java apps have to be rewritten for the CFMX environment, much of the perceived benefits go away. Thanks, Dave Jones NetEffect ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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: CFC Remote Access
> Trying my first remote access of a cfc. I have cfc's that work nicely if > invoked from CF, but now I'm trying to call it remotely from Flash. I > read that by default you don't have remote access in subdirectories so I > installed the cfc in my wwwroot. I used the test > http://www1.yoursite.com/flashservices/gateway which gives me a blank > page pointing to the webroot where the cfc is so I believe I have access > there. When I try to hit it I get an error that: "The method 'chart1' in > component C:\Inetpub\wwwroot\charts.cfc cannot be accessed remotely." > Does this mean I am connecting to the cfc, but just that "method" cannot > be accessed remotely? > Make sure you set access="remote" on any methods that you wish to access from your flash app. Regards, Dave. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Storing Credit Card Info
I meant for the owner of the website... when he wants to decrypt a credit card number that is stored on the website, instead of entering the private key by copying and pasting, just use the password. Al At 09:09 AM 6/21/2003 -0700, Matt Robertson wrote: >At that point wouldn't it be easier for the customer to just type in the >cc number? If not, how much more convenient is the password vs. the >card? Worth the risk? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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: CFC Remote Access
Also, you can access cfc's in subdirs. You have to use dot syntax to get to them. Like if you had a dir called cfc in the webroot, then another dir inside cfc named foo and a cfc name bar, you would get to it like this: cfc.foo.bar HTH Clint -Original Message- From: Dave Carabetta [mailto:[EMAIL PROTECTED] Sent: Saturday, June 21, 2003 3:23 PM To: CF-Talk Subject: Re: CFC Remote Access > Trying my first remote access of a cfc. I have cfc's that work nicely if > invoked from CF, but now I'm trying to call it remotely from Flash. I > read that by default you don't have remote access in subdirectories so I > installed the cfc in my wwwroot. I used the test > http://www1.yoursite.com/flashservices/gateway which gives me a blank > page pointing to the webroot where the cfc is so I believe I have access > there. When I try to hit it I get an error that: "The method 'chart1' in > component C:\Inetpub\wwwroot\charts.cfc cannot be accessed remotely." > Does this mean I am connecting to the cfc, but just that "method" cannot > be accessed remotely? > Make sure you set access="remote" on any methods that you wish to access from your flash app. Regards, Dave. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: log4j problem migrating J2SE app
On Saturday, Jun 21, 2003, at 13:47 US/Pacific, Dave Jones wrote: > So, it appears that a) the log4j.jar that ships with CFMX is not > compatible with log4j 1.2.7; and b) that CFMX is dependent upon > its version of log4j. What you've got here are two Java applications running on the same JVM that require different versions of the same library - and the library itself has changed its API. If you're going to point a finger of blame at some component of this, you could reasonably pick the library (log4j) for breaking the contract (API) it had with its users. > Or is it unreasonable to expect CFMX to support existing Java > apps? A lot of Java apps will work just fine with CFMX - library vendors shouldn't change APIs in incompatible ways (and they generally don't). > If existing Java apps have to be > rewritten for the CFMX environment, much of the perceived benefits go > away. Your Java app would need to be "rewritten" if you moved it to any environment where you had a different version of log4j. Here's what it says on the log4j page: "Version 1.2 is the 22nd major public release of log4j. All changes except the removal of deprecated methods are backward compatible such that log4j 1.2 can be considered a drop in replacement for log4j 1.1.3. The only exception is the renaming of the CategoryFactory class to LoggerFactory class such that subclasses of Category class must be modified and recompiled. The recommended pattern for extending the Logger class is wrapping. Moreover, we strongly discourage casual users from subclassing the Category or Logger classes." You can see from this that they have introduced two types of incompatibility: - removing deprecated methods (breaking code that relied on them) - renaming a class (breaking code that uses that class or the Category class) CFMX uses 1.1.3. The log4j site has that version available so you could download it and recompile your code against that version (you may or may not need to make code changes). Sean A Corfield -- http://www.corfield.org/blog/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: log4j problem migrating J2SE app
Sean, Thanks for the response. I didn't mean to imply that CFMX had done anything wrong. I'm well aware that issues with .jar versioning is a familiar frustration in the Java world. I had hoped that someone with a more intimate knowledge of CFMX internals could suggest a solution that didn't involved reworking my code. Plus, it seems to me that if I do rework the code to comply with log4j 1.1.3, when the next version of CFMX comes out with a newer version of log4j, my code breaks again. Plus, while in this case the problem was log4j changing its API, it's not inconceivable that other shared libraries may have a similar problem, now or in the future. It seems unrealistic that developers must be tied to the versions of libraries shipped with CFMX. I think a better solution would be a means by which an application can be defined such that its libraries take precedence over the ones shipped with CFMX (which of course is possible with standalone engines). Or is this possible now with CFMX and I'm overlooking it? Thanks, Dave Jones NetEffect At 01:57 PM 6/21/03 -0700, you wrote: >On Saturday, Jun 21, 2003, at 13:47 US/Pacific, Dave Jones wrote: > > So, it appears that a) the log4j.jar that ships with CFMX is not > > compatible with log4j 1.2.7; and b) that CFMX is dependent upon > > its version of log4j. > >What you've got here are two Java applications running on the same JVM >that require different versions of the same library - and the library >itself has changed its API. If you're going to point a finger of blame >at some component of this, you could reasonably pick the library >(log4j) for breaking the contract (API) it had with its users. > > > Or is it unreasonable to expect CFMX to support existing Java > > apps? > >A lot of Java apps will work just fine with CFMX - library vendors >shouldn't change APIs in incompatible ways (and they generally don't). > > > If existing Java apps have to be > > rewritten for the CFMX environment, much of the perceived benefits go > > away. > >Your Java app would need to be "rewritten" if you moved it to any >environment where you had a different version of log4j. Here's what it >says on the log4j page: > >"Version 1.2 is the 22nd major public release of log4j. All changes >except the removal of deprecated methods are backward compatible such >that log4j 1.2 can be considered a drop in replacement for log4j 1.1.3. >The only exception is the renaming of the CategoryFactory class to >LoggerFactory class such that subclasses of Category class must be >modified and recompiled. The recommended pattern for >extending the Logger class is wrapping. Moreover, we strongly >discourage casual users from subclassing the Category or Logger >classes." > >You can see from this that they have introduced two types of >incompatibility: >- removing deprecated methods (breaking code that relied on them) >- renaming a class (breaking code that uses that class or the Category >class) > >CFMX uses 1.1.3. The log4j site has that version available so you could >download it and recompile your code against that version (you may or >may not need to make code changes). > >Sean A Corfield -- http://www.corfield.org/blog/ > >"If you're not annoying somebody, you're not really alive." >-- Margaret Atwood > > ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: log4j problem migrating J2SE app
On Saturday, Jun 21, 2003, at 15:19 US/Pacific, Dave Jones wrote: > Plus, while in this case the problem was log4j changing its API, > it's not inconceivable that other shared libraries may have a > similar problem, now or in the future. Correct. And, as I'm trying to show, CFMX is just another Java app that you're running on the same engine as your existing app. Let's just suppose CFMX didn't use log4j (or used a compatible version) and so you could run your existing app alongside. Now suppose you have a third app you want to run alongside the first two (CFMX + your app) and it required a different version of log4j - you'd be back in the same situation. > It seems unrealistic that > developers must be tied to the versions of libraries shipped with > CFMX. I think that's a Java problem and it will happen whenever you try to run two Java apps that require incompatible versions of the shared libraries. Unfortunately, I don't know of any obvious or easy solutions - if CFMX looks for org.apache.log4j and your app also looks for org.apache.log4j, since they're both running on the same J2EE system, they'll both find the same library... and only one of them will like what they find. One possibility on JRun would be to define separate server instances for CFMX and for your app and run them in their own memory spaces with completely separate libraries etc. Of course, when you want to replace your JSP code with CFML, the CFML will have to live on CFMX's instance so it'll have to remotely access the Java entities on the other server instance that still rely on the other version of log4j. > I think a better solution would be a means by which an > application can be defined such that its libraries take > precedence over the ones shipped with CFMX (which of course is > possible with standalone engines). I'm just not sure how you'd do that in Java. Sean A Corfield -- http://www.corfield.org/blog/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: COM Error, New CF 5 Install (solved)
For anyone that has this problem in the future, I put this here for the archives, if it happens, email me. Had to get comcheck, do some regsvr action after using xmlinst switches. Uffda. Regards, Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2003 9:03 PM To: CF-Talk Help!! :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2003 5:30 PM To: CF-Talk Next Steps I took, and now have this mess: Installed XML parser 3, and then XML parser 4 SP2 to cover all bases. I now get using that same code the dreaded: Error Diagnostic Information unknown exception condition unknown error while executing a tag. Date/Time: 06/20/03 15:39:30 Anyone have experience here? Gosh I hope so, the log files are no more helpful than to say it is that chunk of code calling it. Thanks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2003 2:57 PM To: CF-Talk Brand new dell box, Win 2000, IIS 5, CF 5 installed. Slapped on the site to run off it, and when it gets to the UPS part where it calls the XML object from the code, I get this error: COM error 0x800401F3. Invalid class string. Code: objXMLHTTP = CreateObject("COM", "MSXML2.ServerXMLHTTP.4.0"); objXMLHTTP.open ("POST","https://www.ups.com/ups.app/xml/ShipConfirm",false); objXMLHTTP.setRequestHeader("Method", "POST"); objXMLHTTP.setRequestHeader("Content-Type","application/x-www-form-urlencode d"); objXMLHTTP.send(xmlDoc); xml = objXMLHTTP.responseText; What do I need to do...any help appreciated. Eric Datastream Connexion __ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFC Remote Access
Thanks Clint and Dave. Both things help. I can access the cfc if I put it in the wwwroot, but still not when it's in a subdirectory. And for some crazy reason, the cfc throws a database error when I try to run it from the wwwroot. I found some documentation on Enabling Flash Remoting for all sites on a server. http://www.macromedia.com/support/coldfusion/ts/documents/tn18307.htm#en abling It says that by default when you install CFMX it gives you permission to access cfcs in the root, but that's it. "Although the installation does not configure virtual sites, ColdFusion MX pages will run because certain default settings are assigned to the Master Properties sheet. But, because JRunScripts virtual directories are not created for virtual sites at install and also because virtual sites cannot access the JRun Connector ISAPI filter, Flash Remoting service is limited to the Default website." This makes sense. When I do the test http://www1.yoursite.com/flashservices/gateway I get a blank page (which is correct) and when I try http://www1.yoursite.com/jhg/misc/flashservices/gateway I get a 404 error (which means you don't have access). The notes say to: "1. Stop the World Wide Web Publishing Service. 2. Run the cf_root\bin\connectors\Remove_ALL_connectors.bat to remove the existing ISAPI filter.* 3. Run the cf_root\bin\connectors\IIS_connectors.bat to properly configure all existing sites. 4. Start the World Wide Web Publishing Service." When I run "Remove_All_connectors.bat" it initializes in a cmd prompt and says "This will remove all CFMX Webserver Connectors. Press any key to continue. When I hit any key it says: "The system cannot find the path specified. Press any key to continue". I hit another key and the command line window closes. I don't think it completed it's mission, but if I then try IIS_connector.bat it does a bunch of stuff and then says "This Webserver is already configured for JRUN". Should it be so hard to remotely access a cfc that's not in the webroot? TIA Greg -Original Message- From: Clint Tredway [mailto:[EMAIL PROTECTED] Sent: Saturday, June 21, 2003 3:37 PM To: CF-Talk Subject: RE: CFC Remote Access Also, you can access cfc's in subdirs. You have to use dot syntax to get to them. Like if you had a dir called cfc in the webroot, then another dir inside cfc named foo and a cfc name bar, you would get to it like this: cfc.foo.bar HTH Clint -Original Message- From: Dave Carabetta [mailto:[EMAIL PROTECTED] Sent: Saturday, June 21, 2003 3:23 PM To: CF-Talk Subject: Re: CFC Remote Access > Trying my first remote access of a cfc. I have cfc's that work nicely > if invoked from CF, but now I'm trying to call it remotely from Flash. > I read that by default you don't have remote access in subdirectories > so I installed the cfc in my wwwroot. I used the test > http://www1.yoursite.com/flashservices/gateway which gives me a blank > page pointing to the webroot where the cfc is so I believe I have > access there. When I try to hit it I get an error that: "The method > 'chart1' in component C:\Inetpub\wwwroot\charts.cfc cannot be accessed > remotely." Does this mean I am connecting to the cfc, but just that > "method" cannot be accessed remotely? > Make sure you set access="remote" on any methods that you wish to access from your flash app. Regards, Dave. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Storing Credit Card Info
Matt Robertson wrote: > You guessed it: I train the client to keep the private key in a text > file on their own desktop or someplace safe locally. I've been thinking about doing something with one of those USB thumb drives - I don't know about the rest of the world but here in Australia you can now get the smallest (64MB, USB2) for around 20 bucks. Seems to me like a nice way of doing it - tell the client that when they're finished, they should unplug the "key" and put it back in the locked drawer or filing cabinet or whatever. We're even thinking of writing some kind of little Windows utility on it that pastes the key (stored on the drive) into the clipboard or even looks for the form field in the browser window. Just to cut out a step for the less-than-savvy client - and we all have *at least* one of those :) Anyway, I don't keep up with CFTALK as much as I'd like these days, but I work for PerthWeb, developers of cardcrypt and textcrypt. We also have a Windows-based decryption utility now, so you can encrypt the credit card number and email it to our client for manual processing if they don't have real-time processing (and you don't want to mess with PGP licensing). If anyone has any questions about any of our encryption products, please email me directly ([EMAIL PROTECTED]). Cheers, Kay. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
flash comm ?
im a bit sick and a bit confused (too much theraflu) to exactly = understand this. I'm trying to do this = http://www.macromedia.com/devnet/mx/flashcom/articles/first_comm_app.html= I told my host just to put on the trial version of flash comm on the = server. And in my immediate delirium I can't quite figure out what all I need to = have put on the server for this too work. is all I need to do is have the host add the main.asc file? or does = every app have to go in through the host? I have almost complete access to the server except for that of course thanks dave ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFC Remote Access
>This makes sense. When I do the test >http://www1.yoursite.com/flashservices/gateway I get a blank page (which >is correct) and when I try >http://www1.yoursite.com/jhg/misc/flashservices/gateway I get a 404 >error (which means you don't have access). The notes say to: That's not how the gateway works - it remains in the same location at all times. For example, let's say you have a server hosting 2 sites: foo.com & bar.com. Once properly configured, the gateway will be available at http://www.foo.com/flashservices/gateway & http://www.bar.com/flashservices/gateway. Now let's say you're trying to invoke a cfc below the webroot of foo.com (ie. http://www.foo.com/cfc/test.cfc). You're actionscript would look like: NetServices.setDefaultGatewayURL("http://www.foo.com/flashservices/gateway";) ; conn = NetServices.createGatewayConnection(); testService = conn.getService("cfc.test", this); testService.doSomeMethod(); >When I run "Remove_All_connectors.bat" it initializes in a cmd prompt >and says "This will remove all CFMX Webserver Connectors. Press any key >to continue. When I hit any key it says: "The system cannot find the >path specified. Press any key to continue". I hit another key and the >command line window closes. I don't think it completed it's mission, but >if I then try IIS_connector.bat it does a bunch of stuff and then says >"This Webserver is already configured for JRUN". This is a strange one. Are you running Updater 3? What web server? How many sites are configured on it? (sorry if you posted this stuff already...) chris ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Storing Credit Card Info
Kay, Isnt technology great! I think the USB thumb drive is a wonderful idea! If you could make a Windows utility and make using cfx_textcrypt / cfx_cardcrypt a turn key process, then that is even better! When I first asked my question about if there was a best practice to store/implement the private key for cfx_textcrypt, I had no idea I would get this kind of input. I am really impressed with the CF-Talk community, and the way everyone pulls together to help each other. Thank you to all CF-Talkers, Stan Winchester AfterShock Web Design, LLC [EMAIL PROTECTED] http://www.aftershockweb.com/ Tel. 503-244-3440 Fax 503-244-3454 >Matt Robertson wrote: >> You guessed it: I train the client to keep the private key in a text >> file on their own desktop or someplace safe locally. > >I've been thinking about doing something with one of those USB thumb >drives - I don't know about the rest of the world but here in >Australia you can now get the smallest (64MB, USB2) for around 20 >bucks. Seems to me like a nice way of doing it - tell the client that >when they're finished, they should unplug the "key" and put it back in >the locked drawer or filing cabinet or whatever. We're even thinking >of writing some kind of little Windows utility on it that pastes the >key (stored on the drive) into the clipboard or even looks for the >form field in the browser window. Just to cut out a step for the >less-than-savvy client - and we all have *at least* one of those :) > >Anyway, I don't keep up with CFTALK as much as I'd like these days, >but I work for PerthWeb, developers of cardcrypt and textcrypt. We >also have a Windows-based decryption utility now, so you can encrypt >the credit card number and email it to our client for manual >processing if they don't have real-time processing (and you don't want >to mess with PGP licensing). If anyone has any questions about any of >our encryption products, please email me directly ([EMAIL PROTECTED] >au). > >Cheers, >Kay. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4