CFC problems - portability workaround
I just posted a more detailed explanation of my problem with a workaround for CFC portability issues on my blog (in response to Sean Corfield's comments). I would actually greatly appreciate any input on the issue if anyone has any. I can't come up with a decent solution -- yet again, at least in my experience, CFC's causing problems without solving any. http://www.turnkey.to/ontap/blog/?20040117 s. isaac dealey 214-823-9345 team macromedia volunteerhttp://www.macromedia.com/go/team chief architect, tapestry cmshttp://products.turnkey.to onTap is open sourcehttp://www.turnkey.to/ontap [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: session management help please
Thank you so much... I thought that this was going to be the only way to pull this off. I guess at any rate I can add this to the macormedia wish list for the next version of coldfusion. Macormedia really needs to add a new and better tags for session management. ROFLMAO... If I was a better programmer at c or java, I'ld write my own custom tag to handle this and make lots of $$$! Well I wouldn't specifically blame Macromedia for this. That is just the way web browsers work. They are stateless so once a request is completed the web server doesn't give a damn what the client/browser does. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Configuring Apache to run Cold Fusion files
CF 4.0 and Apache 1.3.29 --- Dave Watts [EMAIL PROTECTED] wrote: Can anyone remember how to configure Apache to handle Cold Fusion files? What version of Apache and CF are you using? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
ENCRYPT EXE Question
Ok, I know the version of encrypt has been broken for years (ie, programs available online to decrypt the encrypted files)...but has anyone bothered to see if the version in the latest MX 6.1 is any better. Is it possible to pass a cipher key to ensure unique encryption that could then not be hacked as easily as the old version. Or is it possible that they never even bothered to upgrade it at all and no matter what I do it will always be able to be decrypted? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: session management help please
You can check the HTTP_REFERER to see if they came from your domain or somewhere else So if they come in from anywhere outside of your domain, you can make them log in. If you really want to be strict about it, put a redirect in the http header that will log them out if they are inactive for more than x seconds. On the logout page you can clear/delete the sessions. If they leave the site without logging out, then you can delete any sessions that have been inactive for more than x seconds. You might chew up a lot of server resources doing this, but you could make your stats a little more accurate. Actually, now that i think about it, you don't neecessarily need the redirect, unless you want to clear the page of whatever was on it Hope that helps -w At 03:49 PM 1/17/2004, you wrote: the reason I would like to end sessions in thos way is the fact that a certain page on the site will have a chatroom on it. A user can spend a unknown amount of time there, then either surf to other sections of the site, of surf somewhere else. if the person does leave the site and then returns, I want them to have to sign in again. This is of course for reasons of security. I also will be adding a include file that that tells the number of active sessions out of the number of registered users. It will also include a link to see who is online. As you can see it will be wise to be albe to end a session if a user surfs away form the site. Any thoughts on this? thanks; Rino From: Bob Haroche [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Subject: Re: session management help please Date: Sat, 17 Jan 2004 12:33:46 -0800 I'm wondering why Nancy wants to end session variables in the way she describes. Perhaps there are other ways of achieving her goal. For example, perhaps a clunky one, she could set very short lived session variables and refresh them on each page request for another very short period of time. When the visitor leaves her site, the session will end shortly thereafter. - Regards, Bob Haroche O n P o i n tS o l u t i o n s www.OnPointSolutions.com -- [ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: ENCRYPT EXE Question
It's just as useless. -Original Message- From: Schuster, Steven [mailto:[EMAIL PROTECTED] Sent: January 18, 2004 2:19 PM To: CF-Talk Subject: ENCRYPT EXE Question Ok, I know the version of encrypt has been broken for years (ie, programs available online to decrypt the encrypted files)...but has anyone bothered to see if the version in the latest MX 6.1 is any better. Is it possible to pass a cipher key to ensure unique encryption that could then not be hacked as easily as the old version. Or is it possible that they never even bothered to upgrade it at all and no matter what I do it will always be able to be decrypted? _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Remember Me
And they should have an identical application name in the CFAPPLICATION tag of Application.cfm. Peter Tilbrook Transitional Services - Enterprise eSolutions Centrelink (http://www.centrelink.gov.au) 2 Faulding Street Symonston ACT 2609 Tel: (02) 62115927 Jochem van Dieten [EMAIL PROTECTED]To: CF-Talk [EMAIL PROTECTED] lft.nlcc: Subject:Re: Remember Me 18/01/2004 09:18 Please respond to cf-talk| [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
CFHTTP problem, SSL, and PayPal IPN
I've been using PayPal's IPN system for automated purchasing for a while now. It's been working like a champ for a couple of months, and then suddenly stopped working without change to the code or server config. After searching high and low, I discovered that PayPal recently changed their IPN functionality to require 128bit SSL. Since my CFMX server is still running CFMX 6.0, and an upgrade to 6.1 (which supposedly fixes the CFHTTP problems) is not possible, I'm at a bit of a loss. (It seems that Able Commerce, which is also running on this server has a problem of some sort with 6.1 vs. 6.0. And no, I cant' switch to Able Commerce) Anyone have any ideas for a possible CFHTTP replacement that DOES do 128bit SSL correctly? Thanks in advance for your help! Jake [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFHTTP problem, SSL, and PayPal IPN
Why is upgrading to 6.1 out of the question? It's my understanding that staying with 6.0 is asking for trouble. There's no cost to the upgrade correct? Greg -Original Message- From: Jake McKee [mailto:[EMAIL PROTECTED] Sent: Sunday, January 18, 2004 5:31 PM To: CF-Talk Subject: CFHTTP problem, SSL, and PayPal IPN I've been using PayPal's IPN system for automated purchasing for a while now. It's been working like a champ for a couple of months, and then suddenly stopped working without change to the code or server config. After searching high and low, I discovered that PayPal recently changed their IPN functionality to require 128bit SSL. Since my CFMX server is still running CFMX 6.0, and an upgrade to 6.1 (which supposedly fixes the CFHTTP problems) is not possible, I'm at a bit of a loss. (It seems that Able Commerce, which is also running on this server has a problem of some sort with 6.1 vs. 6.0. And no, I cant' switch to Able Commerce) Anyone have any ideas for a possible CFHTTP replacement that DOES do 128bit SSL correctly? Thanks in advance for your help! Jake _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: html to image
http://freedownloadswindows.com/windows/Capture/655846/CAP.html This is screen capture command line utility.awesome eh? :-DIt'll save your pictures somewhere as JPGs or GIFs or whatever,.Figure u can use CFEXECUTE with it - Original Message - From: admin To: CF-Talk Sent: Saturday, January 17, 2004 4:04 PM Subject: html to image Apologies if this has been covered before, but I couldn't find anything in the archives. My problem is that I need to convert a webpage, it's a coldfusion generated stats page on a server, into an image (jpg, gif etc). This is so that I can view the server status from my TV via tivo. I've managed to do something crude using the cfx image tag but if I could capture the whole page and convert the html to an image I would be really happy. Any thoughts ? Cheers Richard [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re:CFHTTP problem, SSL, and PayPal IPN
Like I mentioned, the Able Commerce platform seems to have an issue with something in 6.1, therefore making it out of the question at this time. Why is upgrading to 6.1 out of the question? It's my understanding that staying with 6.0 is asking for trouble. There's no cost to the upgrade correct? Greg -Original Message- From: Jake McKee [mailto:[EMAIL PROTECTED] Sent: Sunday, January 18, 2004 5:31 PM To: CF-Talk Subject: CFHTTP problem, SSL, and PayPal IPN I've been using PayPal's IPN system for automated purchasing for a while now. It's been working like a champ for a couple of months, and then suddenly stopped working without change to the code or server config. After searching high and low, I discovered that PayPal recently changed their IPN functionality to require 128bit SSL. Since my CFMX server is still running CFMX 6.0, and an upgrade to 6.1 (which supposedly fixes the CFHTTP problems) is not possible, I'm at a bit of a loss. (It seems that Able Commerce, which is also running on this server has a problem of some sort with 6.1 vs. 6.0. And no, I cant' switch to Able Commerce) Anyone have any ideas for a possible CFHTTP replacement that DOES do 128bit SSL correctly? Thanks in advance for your help! Jake _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Re:CFHTTP problem, SSL, and PayPal IPN
Perhaps it is time to switch hosts. == Stop spam on your domain, Anti-spam solutions http://www.clickdoug.com/mailfilter.cfm For hosting solutions http://www.clickdoug.com == Aspire to Inspire before you Retire or Expire! - Original Message - From: Jake. [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, January 18, 2004 5:11 PM Subject: Re:CFHTTP problem, SSL, and PayPal IPN : Like I mentioned, the Able Commerce platform seems to have an issue with something in 6.1, therefore making it out of the question at this time. : : : : Why is upgrading to 6.1 out of the question? It's my understanding that : staying with 6.0 is asking for trouble. There's no cost to the upgrade : correct? : : Greg : : -Original Message- : From: Jake McKee [mailto:[EMAIL PROTECTED] : Sent: Sunday, January 18, 2004 5:31 PM : To: CF-Talk : Subject: CFHTTP problem, SSL, and PayPal IPN : : I've been using PayPal's IPN system for automated purchasing for a while : now. It's been working like a champ for a couple of months, and then : suddenly stopped working without change to the code or server config. : After searching high and low, I discovered that PayPal recently changed : their IPN functionality to require 128bit SSL. : : Since my CFMX server is still running CFMX 6.0, and an upgrade to 6.1 : (which supposedly fixes the CFHTTP problems) is not possible, I'm at a : bit of a loss. (It seems that Able Commerce, which is also running on : this server has a problem of some sort with 6.1 vs. 6.0. And no, I cant' : switch to Able Commerce) : : Anyone have any ideas for a possible CFHTTP replacement that DOES do : 128bit SSL correctly? : : Thanks in advance for your help! : : Jake : _ : : : [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Re:CFHTTP problem, SSL, and PayPal IPN
How long's 6.1 been out 6 months? Able Commerce isn't up to speed with it yet? I thought they were better than that. -Original Message- From: Doug White [mailto:[EMAIL PROTECTED] Sent: Sunday, January 18, 2004 7:28 PM To: CF-Talk Subject: Re: Re:CFHTTP problem, SSL, and PayPal IPN Perhaps it is time to switch hosts. == Stop spam on your domain, Anti-spam solutions http://www.clickdoug.com/mailfilter.cfm For hosting solutions http://www.clickdoug.com == Aspire to Inspire before you Retire or Expire! - Original Message - From: Jake. [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, January 18, 2004 5:11 PM Subject: Re:CFHTTP problem, SSL, and PayPal IPN : Like I mentioned, the Able Commerce platform seems to have an issue with something in 6.1, therefore making it out of the question at this time. : : : : Why is upgrading to 6.1 out of the question? It's my understanding that : staying with 6.0 is asking for trouble. There's no cost to the upgrade : correct? : : Greg : : -Original Message- : From: Jake McKee [mailto:[EMAIL PROTECTED] : Sent: Sunday, January 18, 2004 5:31 PM : To: CF-Talk : Subject: CFHTTP problem, SSL, and PayPal IPN : : I've been using PayPal's IPN system for automated purchasing for a while : now. It's been working like a champ for a couple of months, and then : suddenly stopped working without change to the code or server config. : After searching high and low, I discovered that PayPal recently changed : their IPN functionality to require 128bit SSL. : : Since my CFMX server is still running CFMX 6.0, and an upgrade to 6.1 : (which supposedly fixes the CFHTTP problems) is not possible, I'm at a : bit of a loss. (It seems that Able Commerce, which is also running on : this server has a problem of some sort with 6.1 vs. 6.0. And no, I cant' : switch to Able Commerce) : : Anyone have any ideas for a possible CFHTTP replacement that DOES do : 128bit SSL correctly? : : Thanks in advance for your help! : : Jake : _ : : : _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re:CFHTTP problem, SSL, and PayPal IPN
Thanks, but no. Back to the original issue, anyone have any ideas for CFHTTP replacements? Thanks! Jake Perhaps it is time to switch hosts. == Stop spam on your domain, Anti-spam solutions http://www.clickdoug.com/mailfilter.cfm For hosting solutions http://www.clickdoug.com == Aspire to Inspire before you Retire or Expire! - Original Message - From: Jake. [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, January 18, 2004 5:11 PM Subject: Re:CFHTTP problem, SSL, and PayPal IPN : Like I mentioned, the Able Commerce platform seems to have an issue with something in 6.1, therefore making it out of the question at this time. : : : : Why is upgrading to 6.1 out of the question? It's my understanding that : staying with 6.0 is asking for trouble. There's no cost to the upgrade : correct? : : Greg : : -Original Message- : From: Jake McKee [mailto:[EMAIL PROTECTED] : Sent: Sunday, January 18, 2004 5:31 PM : To: CF-Talk : Subject: CFHTTP problem, SSL, and PayPal IPN : : I've been using PayPal's IPN system for automated purchasing for a while : now. It's been working like a champ for a couple of months, and then : suddenly stopped working without change to the code or server config. : After searching high and low, I discovered that PayPal recently changed : their IPN functionality to require 128bit SSL. : : Since my CFMX server is still running CFMX 6.0, and an upgrade to 6.1 : (which supposedly fixes the CFHTTP problems) is not possible, I'm at a : bit of a loss. (It seems that Able Commerce, which is also running on : this server has a problem of some sort with 6.1 vs. 6.0. And no, I cant' : switch to Able Commerce) : : Anyone have any ideas for a possible CFHTTP replacement that DOES do : 128bit SSL correctly? : : Thanks in advance for your help! : : Jake : _ : : : [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFHTTP problem, SSL, and PayPal IPN
Anyone have any ideas for a possible CFHTTP replacement that DOES do 128bit SSL correctly? The IO JSP custom tag from the Jakarta project should work: http://jakarta.apache.org/taglibs/doc/io-doc/index.html But as others have said, you should probably look to migrate to CFMX 6.1, which fixes a lot of significant problems with the previous version. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: session management help please
You can check the HTTP_REFERER to see if they came from your domain or somewhere else So if they come in from anywhere outside of your domain, you can make them log in. It's worth pointing out that as HTTP_REFERER is provided by the browser, it cannot be relied upon to be correct or even present. I think that it would only be sent by most browsers if the user clicks on a link from a referring page. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: ENCRYPT EXE Question
I know the version of encrypt has been broken for years (ie, programs available online to decrypt the encrypted files)...but has anyone bothered to see if the version in the latest MX 6.1 is any better. Is it possible to pass a cipher key to ensure unique encryption that could then not be hacked as easily as the old version. Or is it possible that they never even bothered to upgrade it at all and no matter what I do it will always be able to be decrypted? I doubt that it's been changed at all from the previous version. On my Windows machine, the files are the same size in CF 5 and CFMX 6.1. You can't pass a key to it, as the server would then require the same key (in the case of symmetric encryption) or the matching key from a public-private pair (in the case of public key encryption). Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Configuring Apache to run Cold Fusion files
CF 4.0 and Apache 1.3.29 I don't know this for certain, but I wouldn't be surprised if those two product versions are incompatible. Apache 1.3.29 didn't exist when CF 4.0 was available. I recommend that you contact Macromedia support. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Fancy a ColdFusion Challenge?
Interesting that there is a site dedicated to algorithms http://hissa.ncsl.nist.gov/ If you look the code for this challenge and many others would be there, now if anyone actually has the time to convert these to coldfusion would be good. Regards Andrew Scott Technical Consultant NuSphere Pty Ltd Level 2/33 Bank Street South Melbourne, Victoria, 3205 Phone: 03 9686 0485-Fax: 03 9699 7976 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: session management help please
the reason I would like to end sessions in thos way is the fact that a certain page on the site will have a chatroom on it. A user can spend a unknown amount of time there, then either surf to other sections of the site, of surf somewhere else. if the person does leave the site and then returns, I want them to have to sign in again. This is of course for reasons of security. I also will be adding a include file that that tells the number of active sessions out of the number of registered users. It will also include a link to see who is online. As you can see it will be wise to be albe to end a session if a user surfs away form the site. Any thoughts on this? I think that you will be unable to accomplish this in an effective, useful and reliable manner. This simply isn't the way HTTP works. But in any case, I don't agree that it would necessarily be wise to be able to end a session if the user leaves the site. Unless you're concerned about people visiting your site from shared computers, it strikes me as overkill to force a user to login again after going to another page. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: ENCRYPT EXE Question
Any who's annoyed by BlueDragon advertisements please stop reading now. ... If you're still reading then I assume you might be interested to know that BlueDragon 6.1 implements a key-based encryption mechanism for creating BlueDragon Archives (BDA) as an alternative to CFENCODE/CFENCRYPT. When you create a BDA, you can provide a key to encrypt the archive; only people who register your BDA with your key via the BlueDragon admin console are able to read it. (If you don't provide a key then the archive is encrypted using a default key built-in to BlueDragon--this is much less secure than providing your own key). You have the option of creating a single BDA with a single key to give your customers; or, to be even more secure, you can create a separate BDA with a separate key per customer. Another advantage of the BDA is that it allows you to deploy your application (CFML pages, CFCs, custom tags, etc.) as a single file. This BDA feature isn't enabled in the current BlueDragon 6.1 beta (beta2) because we're still tweaking it. It will be available in the next beta (beta3) in a few weeks; look for an announcement to this list if you're interested in this feature. Vince Bonfanti New Atlanta Communications, LLC http://www.newatlanta.com -Original Message- From: Schuster, Steven [mailto:[EMAIL PROTECTED] Sent: Sunday, January 18, 2004 4:19 PM To: CF-Talk Subject: ENCRYPT EXE Question Ok, I know the version of encrypt has been broken for years (ie, programs available online to decrypt the encrypted files)...but has anyone bothered to see if the version in the latest MX 6.1 is any better. Is it possible to pass a cipher key to ensure unique encryption that could then not be hacked as easily as the old version. Or is it possible that they never even bothered to upgrade it at all and no matter what I do it will always be able to be decrypted? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
OT: Zipcode transfer woes continue..
Hey everyone... Sorry to keep beating a dead horse but I can not for the life of me get this zipcode table I have in access imported into SQL server without losing the zeros (initial and/or trailing). I have tried earlier posted suggestions and sifted through google, the archives, and even tried to concoct a CF routine to do it; all to no avail. Any further suggestions before I give in and look for the data elsewhere? Thanks, Mike [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: session management help please
Finally it comes to this As an old time chatter myself, I know from experiance, that when you log into a chatroom you can be there anywhere from 5 minutes to a couple of hours. This is the only thing messing with my session management. As I states earlier, I would like to add a who's online link to this site. It would upset me if I logged in a site and it said a friend of mine was online and come to find out they left an hour ago but it still says they ar logged in. So I would need to set my timeout session to about 15 or 20 minutes, as there would be no reason to spend anymore time than that on any given page other than the chatroom page. Again the chatroom page is the only one that is messing with my session management. And yes, I want my chat page on the secured section of my site. Why you ask? Easy, you ever been to a chatroom where no matter what you do somebody has got to be a jerk? I want to be able to suspend account login if needed. DUH! I just had a thought, tell me if this would work. It sounds so simple that it wont work. What if on the chatroom window only I add a extra, very small frame, nothing in it but a little code. I refresh that frame, and that frame only, say every 2 minutes. In that case it should keep the session active, yet should not offer a big bog down in the chat applet. If someone surfs out of the chatroom page, it could load a new page either with out that frame or swap that frame to a page not coded for refresh. In this way useing cookies I could end the session if the browser closes, or by setting my time out the session would end shortly after the user leaves my domain. Will this work? I think it will, tell me what you think. One last quick question for the more expericenced. As you can tell this site will be a online community. It will also offer a e-store. Is it better to write two seperate applications (one for the store and the other to run the site) or, run them under one application? Thanks again; Rino From: Dave Watts [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Subject: RE: session management help please Date: Sun, 18 Jan 2004 20:46:04 -0500 You can check the HTTP_REFERER to see if they came from your domain or somewhere else So if they come in from anywhere outside of your domain, you can make them log in. It's worth pointing out that as HTTP_REFERER is provided by the browser, it cannot be relied upon to be correct or even present. I think that it would only be sent by most browsers if the user clicks on a link from a referring page. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Zipcode transfer woes continue..
I haven't been following this thread. But what is the datatype in Access? -Original Message- From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] Sent: Sunday, January 18, 2004 10:13 PM To: CF-Talk Subject: OT: Zipcode transfer woes continue.. Hey everyone... Sorry to keep beating a dead horse but I can not for the life of me get this zipcode table I have in access imported into SQL server without losing the zeros (initial and/or trailing). I have tried earlier posted suggestions and sifted through google, the archives, and even tried to concoct a CF routine to do it; all to no avail. Any further suggestions before I give in and look for the data elsewhere? Thanks, Mike _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Zipcode transfer woes continue..
When doing the transform, make sure the field type isn't Int, but is VarChar -Original Message- From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] Sent: Sunday, January 18, 2004 10:13 PM To: CF-Talk Subject: OT: Zipcode transfer woes continue.. Hey everyone... Sorry to keep beating a dead horse but I can not for the life of me get this zipcode table I have in access imported into SQL server without losing the zeros (initial and/or trailing). I have tried earlier posted suggestions and sifted through google, the archives, and even tried to concoct a CF routine to do it; all to no avail. Any further suggestions before I give in and look for the data elsewhere? Thanks, Mike [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Mapping problems with new MX/IIS install, help please
Environment: */*/*/*/*/*/*/*/*/*/**/*/*/*/*/**/*/*/*/*/* ColdFusion Server Developer 6,1,0,63958 IIS 5.0 WIN2K */*/*/*/*/*/*/*/*/*/**/*/*/*/*/**/*/*/*/*/* :P I just did a clean install of MX, removing the CF5 to IIS and MX to its standalone server, now having MX on port 80 and using IIS. I'm trying to just dump a FB3 app into a subdirectory, set up the data source, and have it up and going. I went into CF Administrator Mappings and added the sites sub directory. So this is the current is the entry list in admin mappings: / C:\Inetpub\wwwroot /CFIDE C:\Inetpub\wwwroot\CFIDE /dbSurveyDemo C:\Inetpub\wwwroot\dbSurveyDemo However, when I try to browse to: http://192.168.0.2/dbSurveyDemo/index.cfm I get this in the browser: */*/*/*/*/*/*/*/*/*/**/*/*/*/*/**/*/*/*/*/* Error Occurred While Processing Request File not found: /dbSurveyDemo/index.cfm Please try the following: Check the ColdFusion documentation to verify that you are using the correct syntax. Search the Knowledge Base to find a solution to your problem. BrowserMozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Remote Address192.168.0.3 Referrer Date/Time18-Jan-04 10:17 PM Stack Trace (click to expand) */*/*/*/*/*/*/*/*/*/**/*/*/*/*/**/*/*/*/*/* Do I need to make a virtual directory in IIS as well? I will upload and work on my Crystal Tech server for now(yuck, constant ftp syncs), but I would like to get my local dev server working properly. I appreciate any help. Thanks, Matthew P. Smith [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Mapping problems with new MX/IIS install, help please
Yeah you need an IIS virtual directory as well. If you were trying to include that in a template located in or off of your web root it would have worked with the mapping, but not trying to browse it through IIS. -Original Message- From: Smith, Matthew P -CONT(CSC) [mailto:[EMAIL PROTECTED] Sent: Sunday, January 18, 2004 10:23 PM To: CF-Talk Subject: Mapping problems with new MX/IIS install, help please Environment: */*/*/*/*/*/*/*/*/*/**/*/*/*/*/**/*/*/*/*/* ColdFusion Server Developer 6,1,0,63958 IIS 5.0 WIN2K */*/*/*/*/*/*/*/*/*/**/*/*/*/*/**/*/*/*/*/* :P I just did a clean install of MX, removing the CF5 to IIS and MX to its standalone server, now having MX on port 80 and using IIS. I'm trying to just dump a FB3 app into a subdirectory, set up the data source, and have it up and going. I went into CF Administrator Mappings and added the sites sub directory. So this is the current is the entry list in admin mappings: / C:\Inetpub\wwwroot /CFIDE C:\Inetpub\wwwroot\CFIDE /dbSurveyDemo C:\Inetpub\wwwroot\dbSurveyDemo However, when I try to browse to: http://192.168.0.2/dbSurveyDemo/index.cfm I get this in the browser: */*/*/*/*/*/*/*/*/*/**/*/*/*/*/**/*/*/*/*/* Error Occurred While Processing Request File not found: /dbSurveyDemo/index.cfm Please try the following: Check the ColdFusion documentation to verify that you are using the correct syntax. Search the Knowledge Base to find a solution to your problem. BrowserMozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Remote Address192.168.0.3 Referrer Date/Time18-Jan-04 10:17 PM Stack Trace (click to expand) */*/*/*/*/*/*/*/*/*/**/*/*/*/*/**/*/*/*/*/* Do I need to make a virtual directory in IIS as well? I will upload and work on my Crystal Tech server for now(yuck, constant ftp syncs), but I would like to get my local dev server working properly. I appreciate any help. Thanks, Matthew P. Smith [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: session management help please
As an old time chatter myself, I know from experiance, that when you log into a chatroom you can be there anywhere from 5 minutes to a couple of hours. This is the only thing messing with my session management. As I states earlier, I would like to add a who's online link to this site. It would upset me if I logged in a site and it said a friend of mine was online and come to find out they left an hour ago but it still says they ar logged in. So I would need to set my timeout session to about 15 or 20 minutes, as there would be no reason to spend anymore time than that on any given page other than the chatroom page. I'm not an expert on chat applications, but most chat software I've seen has the ability to list who's in the chat room at any given moment - chat applications typically maintain a connection to a chat server, and aren't limited by how HTTP works. Depending on the API of your chat software, you may be able to query it from CF to see who's in what room. DUH! I just had a thought, tell me if this would work. It sounds so simple that it wont work. What if on the chatroom window only I add a extra, very small frame, nothing in it but a little code. I refresh that frame, and that frame only, say every 2 minutes. In that case it should keep the session active, yet should not offer a big bog down in the chat applet. If someone surfs out of the chatroom page, it could load a new page either with out that frame or swap that frame to a page not coded for refresh. In this way useing cookies I could end the session if the browser closes, or by setting my time out the session would end shortly after the user leaves my domain. Will this work? I think it will, tell me what you think. This will allow you to maintain the user's session while that user is within your chat page. This is a pretty common approach to this problem, I think. However, it will not end the session when the user goes to a page outside of your application, as you originally asked. One last quick question for the more expericenced. As you can tell this site will be a online community. It will also offer a e-store. Is it better to write two seperate applications (one for the store and the other to run the site) or, run them under one application? If you want to share session data between your store and the rest of the site, it's probably easier to have them within a single application. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Zipcode transfer woes continue..
Data type in access is number... trying to bring it into sql server as a varchar. Mike _ From: Bryan F. Hogan [mailto:[EMAIL PROTECTED] Sent: Sunday, January 18, 2004 10:16 PM To: CF-Talk Subject: RE: Zipcode transfer woes continue.. I haven't been following this thread. But what is the datatype in Access? -Original Message- From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] Sent: Sunday, January 18, 2004 10:13 PM To: CF-Talk Subject: OT: Zipcode transfer woes continue.. Hey everyone... Sorry to keep beating a dead horse but I can not for the life of me get this zipcode table I have in access imported into SQL server without losing the zeros (initial and/or trailing). I have tried earlier posted suggestions and sifted through google, the archives, and even tried to concoct a CF routine to do it; all to no avail. Any further suggestions before I give in and look for the data elsewhere? Thanks, Mike _ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Mapping problems with new MX/IIS install, help please
I just did a clean install of MX, removing the CF5 to IIS and MX to its standalone server, now having MX on port 80 and using IIS. I'm trying to just dump a FB3 app into a subdirectory, set up the data source, and have it up and going. I went into CF Administrator Mappings and added the sites sub directory. So this is the current is the entry list in admin mappings: / C:\Inetpub\wwwroot /CFIDE C:\Inetpub\wwwroot\CFIDE /dbSurveyDemo C:\Inetpub\wwwroot\dbSurveyDemo However, when I try to browse to: http://192.168.0.2/dbSurveyDemo/index.cfm I get this in the browser: */*/*/*/*/*/*/*/*/*/**/*/*/*/*/**/*/*/*/*/* Error Occurred While Processing Request File not found: /dbSurveyDemo/index.cfm ... Do I need to make a virtual directory in IIS as well? You only need to create mappings in the CF Administrator for use within CF tags, such as CFINCLUDE and CFMODULE. When you request a file directly, CF mappings have nothing to do with that. That said, if your web root is at c:\inetpub\wwwroot and your application is at c:\inetpub\wwwroot\dbSurveyDemo, you shouldn't have to create a virtual directory within IIS to make it work. This makes me suspect that you had a different web root when you'd previously installed CFMX, and it's looking within there to resolve requests. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Zipcode transfer woes continue..
Try changing the data type in access to memo or text before doing the transfer? -Original Message- From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] Sent: Sunday, January 18, 2004 10:48 PM To: CF-Talk Subject: RE: Zipcode transfer woes continue.. Data type in access is number... trying to bring it into sql server as a varchar. Mike _ From: Bryan F. Hogan [mailto:[EMAIL PROTECTED] Sent: Sunday, January 18, 2004 10:16 PM To: CF-Talk Subject: RE: Zipcode transfer woes continue.. I haven't been following this thread. But what is the datatype in Access? -Original Message- From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] Sent: Sunday, January 18, 2004 10:13 PM To: CF-Talk Subject: OT: Zipcode transfer woes continue.. Hey everyone... Sorry to keep beating a dead horse but I can not for the life of me get this zipcode table I have in access imported into SQL server without losing the zeros (initial and/or trailing). I have tried earlier posted suggestions and sifted through google, the archives, and even tried to concoct a CF routine to do it; all to no avail. Any further suggestions before I give in and look for the data elsewhere? Thanks, Mike _ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Zipcode transfer woes continue..
Ok, change the datatype in access to text then import it. -Original Message- From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] Sent: Sunday, January 18, 2004 10:48 PM To: CF-Talk Subject: RE: Zipcode transfer woes continue.. Data type in access is number... trying to bring it into sql server as a varchar. Mike [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Zipcode transfer woes continue..
I tried that... when you change the datatype in access, it cuts the zeros out just like importing the records into sql _ From: Bryan F. Hogan [mailto:[EMAIL PROTECTED] Sent: Sunday, January 18, 2004 10:47 PM To: CF-Talk Subject: RE: Zipcode transfer woes continue.. Ok, change the datatype in access to text then import it. -Original Message- From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] Sent: Sunday, January 18, 2004 10:48 PM To: CF-Talk Subject: RE: Zipcode transfer woes continue.. Data type in access is number... trying to bring it into sql server as a varchar. Mike _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Zipcode transfer woes continue..
Does the zip codes in the access database contain the 0 when you view the data? -Original Message- From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] Sent: Sunday, January 18, 2004 11:07 PM To: CF-Talk Subject: RE: Zipcode transfer woes continue.. I tried that... when you change the datatype in access, it cuts the zeros out just like importing the records into sql [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: session management help please
Thanks for your input Dave. This is my first time at writing a community, so the chat page lost me. I was trying s hard to think about how to end session management in the case of surfing somewhere else I missed what we call in my graphic design background the Elegant Simplicity. As I said it never was an issue of the user surfing somewhere else, it was the thought of spending too much time in the chatroom. And no, like any online store, you wnat to move the product... There is no reason to share info from the store to the rest of the site, unless i would like to query the users personal info for shopping cart reasons, but that could be done on a seperate application, yet sending that query to the same database... not as easy as it sounds but you get what I mean... Thanks again Dave, and the rest of you too that commented. I did come up with the solution all on my own, but it was presenting the question to those that would listen that helped Thanks; Rino From: Dave Watts [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Subject: RE: session management help please Date: Sun, 18 Jan 2004 22:43:17 -0500 As an old time chatter myself, I know from experiance, that when you log into a chatroom you can be there anywhere from 5 minutes to a couple of hours. This is the only thing messing with my session management. As I states earlier, I would like to add a who's online link to this site. It would upset me if I logged in a site and it said a friend of mine was online and come to find out they left an hour ago but it still says they ar logged in. So I would need to set my timeout session to about 15 or 20 minutes, as there would be no reason to spend anymore time than that on any given page other than the chatroom page. I'm not an expert on chat applications, but most chat software I've seen has the ability to list who's in the chat room at any given moment - chat applications typically maintain a connection to a chat server, and aren't limited by how HTTP works. Depending on the API of your chat software, you may be able to query it from CF to see who's in what room. DUH! I just had a thought, tell me if this would work. It sounds so simple that it wont work. What if on the chatroom window only I add a extra, very small frame, nothing in it but a little code. I refresh that frame, and that frame only, say every 2 minutes. In that case it should keep the session active, yet should not offer a big bog down in the chat applet. If someone surfs out of the chatroom page, it could load a new page either with out that frame or swap that frame to a page not coded for refresh. In this way useing cookies I could end the session if the browser closes, or by setting my time out the session would end shortly after the user leaves my domain. Will this work? I think it will, tell me what you think. This will allow you to maintain the user's session while that user is within your chat page. This is a pretty common approach to this problem, I think. However, it will not end the session when the user goes to a page outside of your application, as you originally asked. One last quick question for the more expericenced. As you can tell this site will be a online community. It will also offer a e-store. Is it better to write two seperate applications (one for the store and the other to run the site) or, run them under one application? If you want to share session data between your store and the rest of the site, it's probably easier to have them within a single application. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Zipcode transfer woes continue..
yeah, in access it stores fine. The datatype is set to number and the attributes are as follows: Field Size: Long Integer Format: 0 Decimal: Auto Any ideas? _ From: Bryan F. Hogan [mailto:[EMAIL PROTECTED] Sent: Sunday, January 18, 2004 11:08 PM To: CF-Talk Subject: RE: Zipcode transfer woes continue.. Does the zip codes in the access database contain the 0 when you view the data? -Original Message- From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] Sent: Sunday, January 18, 2004 11:07 PM To: CF-Talk Subject: RE: Zipcode transfer woes continue.. I tried that... when you change the datatype in access, it cuts the zeros out just like importing the records into sql _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Zipcode transfer woes continue..
you can go ahead and import it. then change do a query where your column is less than 5 and update those rows appending the 0s. it's a pain i know. -Original Message- From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] Sent: Sunday, January 18, 2004 11:40 PM To: CF-Talk Subject: RE: Zipcode transfer woes continue.. yeah, in access it stores fine. The datatype is set to number and the attributes are as follows: Field Size: Long Integer Format: 0 Decimal: Auto [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Zipcode transfer woes continue..
Maybe a more simple approach is in order... have you tried cutting and pasting the information into Excel and using DTS from there?I just tried copying a zip DB that I have into excel and it kept the leading and trailing zeros.You should then be able to use that file to DTS the info into a varchar field in your SQL DB. Cheers, Jeff Garza _ From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] Sent: Sunday, January 18, 2004 9:40 PM To: CF-Talk Subject: RE: Zipcode transfer woes continue.. yeah, in access it stores fine. The datatype is set to number and the attributes are as follows: Field Size: Long Integer Format: 0 Decimal: Auto Any ideas? _ From: Bryan F. Hogan [mailto:[EMAIL PROTECTED] Sent: Sunday, January 18, 2004 11:08 PM To: CF-Talk Subject: RE: Zipcode transfer woes continue.. Does the zip codes in the access database contain the 0 when you view the data? -Original Message- From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] Sent: Sunday, January 18, 2004 11:07 PM To: CF-Talk Subject: RE: Zipcode transfer woes continue.. I tried that... when you change the datatype in access, it cuts the zeros out just like importing the records into sql _ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: html to image
doesn't really do it I'm afraid - Original Message - From: brobborb To: CF-Talk Sent: Sunday, January 18, 2004 3:33 PM Subject: Re: html to image http://freedownloadswindows.com/windows/Capture/655846/CAP.html This is screen capture command line utility.awesome eh? :-DIt'll save your pictures somewhere as JPGs or GIFs or whatever,.Figure u can use CFEXECUTE with it - Original Message - From: admin To: CF-Talk Sent: Saturday, January 17, 2004 4:04 PM Subject: html to image Apologies if this has been covered before, but I couldn't find anything in the archives. My problem is that I need to convert a webpage, it's a coldfusion generated stats page on a server, into an image (jpg, gif etc). This is so that I can view the server status from my TV via tivo. I've managed to do something crude using the cfx image tag but if I could capture the whole page and convert the html to an image I would be really happy. Any thoughts ? Cheers Richard [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFC problems - portability workaround
Well - I don't agree that don't solve anything - I like them.;^) But they are broken.Severely broken. The main thing I think that's needed for CFCs is a CLEAR RECOMMENDATION from Macromedia for hosters of shared virtual servers.Accompanying this should be a clear recommendation from Macromedia for CFC authors on how to author CFCs for shared hosting environments. As to the issues at hand in the entries I think that the issue of where extends is dealt with doesn't have to be a problem.Fine, it's compile time and can't be a variable - great.Now, considering that how do CFCs need to work?I personally think that thediscovery process is rather broken - and is so because the CF Mappings system has been broken since it was introduced. The mappings system has been a problem for CF on shared hosts since day one. Fixing this, I think, could help with many of the problems of CFCs.I've had several ideas on this front tho I don't know how feasible any of them are: 1) Mappings could have the option to be virtual server specific.I know, CF runs outside the web server but it definitely knows something about the environment.Having mappings (as an option) be specific to hostnames could eliminate many issues with shared hosts.I could have a com mapping, you could have a com mapping, and so forth. Yes you still need to add a mapping (which I don't mind so much if there's no chance for name conflicts with other virtual servers) but a distributed app can safely specify this without worrying about naming conflicts using Java-style package naming. 2) Mappings could be programmatically controllable at the application (or even the request) level.Consider something like this: cfapplication name=myApp sessionmanagement=True cfapplicationparam type=mapping name=/ path=myVirtualServerPath / /cfapplication This can be extended to cover many currently admin-only capabilities (if permitted by security policies) such as debugging.Such mappings would only affect templates in the application.Since these would be defined before a CFC call (before compilation) I think it would work - although changing these transient paths would probably cause recompilations. These mappings would override server-level mappings allowing distributed applications to sneak in with no CFAdmin access or stepping on of toes. At the worst you may have to request the addition of a application mapping - but since most apps ship with there own application.cfm I don't think even this would be an issue. 3) CFCs (especially the EXTENDS attribute) could allow for relative paths (not dynamic paths mind, relative paths).This has the potential to solve many problems and raise others.But again, it would allow distributed apps to exist with no CFAdmin requirements. 4) I would like to see control at the CFC-level for the path discovery process.You might, for example, have an attribute that forces the discovery process to use search from the web root and ignore mappings. This wouldn't be a perfect solution but would allow a distributed application to work with no mappings and fewer (at least) worries about name conflicts. In case you haven't guessed I don't think that the problems aren with CFCs per se but the mapping/discovery foundation on which they're dependent. This has always been an issue to some extent (although CFMODULE solved it for custom tags) but with CFCs is just crippling in shared hosting environments. Jim Davis _ From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] Sent: Saturday, January 17, 2004 6:43 PM To: CF-Talk Subject: CFC problems - portability workaround I just posted a more detailed explanation of my problem with a workaround for CFC portability issues on my blog (in response to Sean Corfield's comments). I would actually greatly appreciate any input on the issue if anyone has any. I can't come up with a decent solution -- yet again, at least in my experience, CFC's causing problems without solving any. http://www.turnkey.to/ontap/blog/?20040117 s. isaac dealey 214-823-9345 team macromedia volunteerhttp://www.macromedia.com/go/team chief architect, tapestry cmshttp://products.turnkey.to onTap is open sourcehttp://www.turnkey.to/ontap _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFC problems - portability workaround
Add to that the ability to extend more than one component. Built in ability to check where a CFC is being called from. i.e. tagcontext. Ability to have cfc in sub-directories under a package directory, so we can organize cfc packages. A easier way to initialize a cfc only once. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]