Formatting HTML as Plain Text.

2009-04-29 Thread Robert Rawlins
Hey Chaps, I've been doing a little work with some RSS feeds of late, and on the most part all is very well, now, the one problem I'm running into is people who publish RSS feeds containing lots of junk HTML (urgh!), like inline links, images, divs and whatnot in the description content of

Re: Shared Hosting Lockdown - Q1

2009-04-29 Thread Tom Chiverton
On Tuesday 28 Apr 2009, Martin Thomas wrote: they do this (presuming they then run a brute force attack to get past the form based authentication screen). If the web server is configured not to let anyone visit /CFIDE/Administrator it wont matter. -- Helping to augmentatively engage

Re: Formatting HTML as Plain Text.

2009-04-29 Thread John M Bliss
http://cflib.org/udf/removeHTML http://cflib.org/udf/stripHTML http://cflib.org/udf/tagStripper On Wed, Apr 29, 2009 at 4:50 AM, Robert Rawlins robert.rawl...@thinkbluemedia.co.uk wrote: Hey Chaps, I've been doing a little work with some RSS feeds of late, and on the most part all is very

How do we change the remote IPs

2009-04-29 Thread Chirag Shah
Hi All, I am having CF8 developer edition installed on my machine. As per the notes from Adobe incase of Developer edition 2 remote IP's can access the CF server. In my case somehow 2 remote IP's have have been registed for license. But due to some reason I would like to change both. Please

Re: How do we change the remote IPs

2009-04-29 Thread Scott Brady
Restart the CF service. That will clear out the IPs that are allowed to access your server. Scott On Wed, Apr 29, 2009 at 8:36 AM, Chirag Shah chira...@aim.com wrote: Hi All, I am having CF8 developer edition installed on my machine. As per the notes from Adobe incase of Developer edition

Re: How do we change the remote IPs

2009-04-29 Thread Ian Skinner
Chirag Shah wrote: Any help on this would be helpful. Restart ColdFusion. The IP addresses are set by the first two to connect to the server after start up. ~| Adobe® ColdFusion® 8 software 8 is the most important and

Re: Shared Hosting Lockdown - Q1

2009-04-29 Thread Martin Thomas
On Tuesday 28 Apr 2009, Martin Thomas wrote: they do this (presuming they then run a brute force attack to get past the form based authentication screen). If the web server is configured not to let anyone visit /CFIDE/Administrator it wont matter. -- But a developer can bundle

Re: Windows Live Mail API

2009-04-29 Thread Peter Capusotto
There is no API there. This post: http://blog.nektra.com/main/2009/04/27/windows-live-mail-undocumented-api-research/ says that even the interfaces in Outlook Express / Windows Mail were removed. Has anyone done anything with this? Specifically accessing the address book info from ColdFusion.

Is it not possible to set session variables in a cfc method?

2009-04-29 Thread Rick Faircloth
I'm trying to create a preview setup via cf, jquery, and ajax for a form. Before I get too deep into all this code, let me just ask this: Can I set session variables in the cfc method to the values of the form variables and use those back on the calling page? I'm doing it this way to prevent

Re: Is it not possible to set session variables in a cfc method?

2009-04-29 Thread Barney Boisvert
To answer your core question, yes, you can set session variables inside CFCs and they'll be set just as effectively as setting them anywhere else. I didn't quite follow what you're doing, but it sounds like you probably have a race condition somewhere. Logging is often the best way to find

Re: Is it not possible to set session variables in a cfc method?

2009-04-29 Thread Ian Skinner
Rick Faircloth wrote: Thoughts? Suggestions? Thanks, Rick For ANY CFML code to share application and|or session state data they must share the same Application name, usually set with a cfapplicaiton name=... OR this.name= line in either Application.cfm or Application.cfc files. When

Re: Is it not possible to set session variables in a cfc method?

2009-04-29 Thread Rick Faircloth
Thanks for the reply, Barney... While it could be a race condition, I think it's more likely that it has to do with how the content is being returned to the calling page. The calling page isn't refreshing, it's just having the content *added* to the page via jquery. I'm not sure about that

Re: Is it not possible to set session variables in a cfc method?

2009-04-29 Thread Ian Skinner
Rick Faircloth wrote: The calling page isn't refreshing, it's just having the content *added* to the page via jquery. JQuery is *NEVER* going to have access to read or write ColdFusion session data. ColdFusion session data is on the server and JQuery is on the client and they do not share

Re: Shared Hosting Lockdown - Q1

2009-04-29 Thread Jochem van Dieten
On Tue, Apr 28, 2009 at 5:53 PM, Martin Thomas wrote: Does anyone know how to prevent a CF user deploying the admin application as part of an EAR or WAR to your server Why do you care? If they deploy an EAR or a WAR they deploy WEB-INF as well. If they deploy WEB-INF, they deploy

Re: Is it not possible to set session variables in a cfc method?

2009-04-29 Thread Maureen
Write a Coldfusion function that sets a structure equal to session variables and and pass that structure back to qQuery. Then the client has access to the session data. On Wed, Apr 29, 2009 at 1:41 PM, Ian Skinner h...@ilsweb.com wrote: Rick Faircloth wrote: The calling page isn't

RE: Is it not possible to set session variables in a cfc method?

2009-04-29 Thread Josh Nathanson
Rick - it could be that the data is caching in the browser so you're not seeing the new values...did you set cache:false in your ajax request? -- Josh -Original Message- From: Rick Faircloth [mailto:r...@whitestonemedia.com] Sent: Wednesday, April 29, 2009 1:14 PM To: cf-talk

Re: Is it not possible to set session variables in a cfc method?

2009-04-29 Thread Rick Faircloth
Thanks for the insight, Ian, but that's not a problem here. I have the components under the webroot. Rick On Wed, Apr 29, 2009 at 4:26 PM, Ian Skinner h...@ilsweb.com wrote: Rick Faircloth wrote: Thoughts? Suggestions? Thanks, Rick For ANY CFML code to share application and|or

Re: Is it not possible to set session variables in a cfc method?

2009-04-29 Thread Rick Faircloth
Caching is set to false... On Wed, Apr 29, 2009 at 4:57 PM, Josh Nathanson p...@oakcitygraphics.comwrote: Rick - it could be that the data is caching in the browser so you're not seeing the new values...did you set cache:false in your ajax request? -- Josh -Original Message-

Re: Is it not possible to set session variables in a cfc method?

2009-04-29 Thread Rick Faircloth
Good idea, but the data in this case is going back as part of a cfsavecontent tag, instead of back through jquery the normal way I do it, with json. However, perhaps I could run the cfsavecontent, etc. code and then run another cfreturn. I'll give that a try. Thanks, Maureen. Rick On Wed,

RE: Shared Hosting Lockdown - Q1

2009-04-29 Thread brad
Martin, let me elaborate a bit more. The point here is that if a user is deploying his own EAR with the CFIDE files included he is deploying his OWN SEPARATE instance of ColdFusion which is different than any other instances currently running on the server. The user's instance of CF