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 the feed.

I only want to have the plain text version of these feeds and not all the other 
junk. This means stripping out the html tags div, a etc, some of which are 
being published as lt; and gt;. Also, I want to convert HTML formatted 
characters into their nice plain text equivilants, for instance making amp; 
just a standard .

Now presumably this can all be done with REGEX (I couldn't find any nice built 
in CF functions) however my skills in this area are pretty much non-existent, 
however I know some of you are fairly experienced with this kind of thing.

I'm also hoping that I'll be able to do some form of REGEX related 'find' on 
the rules first so I can say to the user 'this feed appears to contain lots of 
redundant crap, would you like it cleaned for you? this may cause formatting 
issues.' or something to that effect, I can then process the replace rules if 
they choose to do so.

I'd appreciate any advice.

Rob 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322053
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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 environments as part of the IT team of the 
year, '09 and '08

Tom Chiverton
Developer
Tel: +44 0161 618 5032
Fax: +44 0161 618 5099 
tom.chiver...@halliwells.com
3 Hardman Square, Manchester, M3 3EB
www.Halliwells.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of 
members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners. We use the word 
“partner” to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged. If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents. If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.Halliwells.com.

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322054
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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 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 the feed.

 I only want to have the plain text version of these feeds and not all the
 other junk. This means stripping out the html tags div, a etc, some of
 which are being published as lt; and gt;. Also, I want to convert HTML
 formatted characters into their nice plain text equivilants, for instance
 making amp; just a standard .

 Now presumably this can all be done with REGEX (I couldn't find any nice
 built in CF functions) however my skills in this area are pretty much
 non-existent, however I know some of you are fairly experienced with this
 kind of thing.

 I'm also hoping that I'll be able to do some form of REGEX related 'find'
 on the rules first so I can say to the user 'this feed appears to contain
 lots of redundant crap, would you like it cleaned for you? this may cause
 formatting issues.' or something to that effect, I can then process the
 replace rules if they choose to do so.

 I'd appreciate any advice.

 Rob

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322055
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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 advise on how can we do this.

Any help on this would be helpful.

Thanks in Advance,
Chirag Shah
chira...@aim.com 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322056
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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 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 advise on how can we do this.

 Any help on this would be helpful.

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322057
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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 dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322058
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


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 the adminstration components within their 
application. So for example, instead of being accessed via the url 
www.domain.com/CFIDE/administrator/index.cfm, it would be accessed via the url 
www.domina.com/HelloAdmin/CFIDE/administrator/index.cfm. This gives access to 
the admin form and AFAIK can't be locked down by the web server configuration. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322059
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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.
Thanks in advance.

-- 
mac jordan
www.webhorus.net | www.reactivecooking.com | www.nibblous.com |
www.jordan-cats.org 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322060
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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 having to write the preview values to the database.

I can cfdump the session and see that the session variables are
getting set to the proper values in the method, but when they
are sent back to the calling page (via a cfsavecontent method
to handle an image involved) and jquery displays them, the values
are not the current session values that were set back in the method.

Anyone worked with this method?  (I know Ben Nadel coded it and
I adapted it, but I can't figure out why this isn't working.)

Thoughts?  Suggestions?

Thanks,

Rick

-- 
-
It has been my experience that most bad government is the result of too
much government. - Thomas Jefferson


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322061
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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 those, because you can see when stuff happens out of
order.

cheers,
barneyb

On Wed, Apr 29, 2009 at 1:13 PM, Rick Faircloth
r...@whitestonemedia.com wrote:

 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 having to write the preview values to the database.

 I can cfdump the session and see that the session variables are
 getting set to the proper values in the method, but when they
 are sent back to the calling page (via a cfsavecontent method
 to handle an image involved) and jquery displays them, the values
 are not the current session values that were set back in the method.

 Anyone worked with this method?  (I know Ben Nadel coded it and
 I adapted it, but I can't figure out why this isn't working.)

 Thoughts?  Suggestions?

 Thanks,

 Rick

 --
 -
 It has been my experience that most bad government is the result of too
 much government. - Thomas Jefferson


 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322062
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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 you start using Components one of the first things many people do 
is move them to a directory that is not inside the normal web root and 
thus probably not covered by the Application.cfm or Application.cfc file 
and thus will not be part of the same Application memory as far as CF 
is concerned.

If you really MUST do this, many would consider it bad encapsulation, 
you must somehow tell the CFC code what application memory to use.  This 
can be pretty easily done by adding an cfapplication name= tag to 
the pseudo-constructor space or an appropiate Application.cfm or 
Application.cfc file in the directory used by the CFC files.  Just 
realize how messy that can become very quickly.



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322063
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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 either, because it just
seems that if the cfdump of the session values is one thing when
dumped from inside the cfc after setting them, they should be the same
when dumped when the code returns to the calling page.

I don't know...this is driving me crazy, but it's a pretty involved to solve
on the list...

Rick

On Wed, Apr 29, 2009 at 4:25 PM, Barney Boisvert bboisv...@gmail.comwrote:


 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 those, because you can see when stuff happens out of
 order.

 cheers,
 barneyb

 On Wed, Apr 29, 2009 at 1:13 PM, Rick Faircloth
 r...@whitestonemedia.com wrote:
 
  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 having to write the preview values to the database.
 
  I can cfdump the session and see that the session variables are
  getting set to the proper values in the method, but when they
  are sent back to the calling page (via a cfsavecontent method
  to handle an image involved) and jquery displays them, the values
  are not the current session values that were set back in the method.
 
  Anyone worked with this method?  (I know Ben Nadel coded it and
  I adapted it, but I can't figure out why this isn't working.)
 
  Thoughts?  Suggestions?
 
  Thanks,
 
  Rick
 
  --
 
 -
  It has been my experience that most bad government is the result of too
  much government. - Thomas Jefferson
 
 
 

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322064
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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 memory, they don't share anything.

One must always remember that CF is on the server and JavaScript is on 
the client and never to the twain meet.  They can only pass data back 
and forth with HTTP requests and responses weather that is done behind 
the scenes with JavaScript httpRequestObjects or by the browser making a 
completely new request itself.




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322065
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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 password.properties. If they
can deploy their own password.properties, why care about whether they
have the admin application?

Jochem

-- 
Jochem van Dieten
http://jochem.vandieten.net/

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322066
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


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 refreshing, it's just having the content *added*
 to the page via jquery.

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322067
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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
Subject: Is it not possible to set session variables in a cfc method?


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 having to write the preview values to the database.

I can cfdump the session and see that the session variables are
getting set to the proper values in the method, but when they
are sent back to the calling page (via a cfsavecontent method
to handle an image involved) and jquery displays them, the values
are not the current session values that were set back in the method.

Anyone worked with this method?  (I know Ben Nadel coded it and
I adapted it, but I can't figure out why this isn't working.)

Thoughts?  Suggestions?

Thanks,

Rick

-- 


-
It has been my experience that most bad government is the result of too
much government. - Thomas Jefferson




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322068
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


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 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 you start using Components one of the first things many people do
 is move them to a directory that is not inside the normal web root and
 thus probably not covered by the Application.cfm or Application.cfc file
 and thus will not be part of the same Application memory as far as CF
 is concerned.

 If you really MUST do this, many would consider it bad encapsulation,
 you must somehow tell the CFC code what application memory to use.  This
 can be pretty easily done by adding an cfapplication name= tag to
 the pseudo-constructor space or an appropiate Application.cfm or
 Application.cfc file in the directory used by the CFC files.  Just
 realize how messy that can become very quickly.



 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322069
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


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-
 From: Rick Faircloth [mailto:r...@whitestonemedia.com]
 Sent: Wednesday, April 29, 2009 1:14 PM
 To: cf-talk
 Subject: Is it not possible to set session variables in a cfc method?


 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 having to write the preview values to the database.

 I can cfdump the session and see that the session variables are
 getting set to the proper values in the method, but when they
 are sent back to the calling page (via a cfsavecontent method
 to handle an image involved) and jquery displays them, the values
 are not the current session values that were set back in the method.

 Anyone worked with this method?  (I know Ben Nadel coded it and
 I adapted it, but I can't figure out why this isn't working.)

 Thoughts?  Suggestions?

 Thanks,

 Rick

 --

 

 
 -
 It has been my experience that most bad government is the result of too
 much government. - Thomas Jefferson




 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322070
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


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, Apr 29, 2009 at 4:51 PM, Maureen mamamaur...@gmail.com wrote:


 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 refreshing, it's just having the content *added*
  to the page via jquery.

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322071
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


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 Administrator has its own password.properties, its own data sources,
its own mappings, its own settings... get the picture?   That instance
of CF Admin is running in its own instance of the JVM and doesn't have
access to any of the settings that may be stored in any other instances
of CF running on the same server.  So, if you have a shared hosting
environment that allows users to deploy their own EARS and WARS that may
contain a copy of the administrator, first of all-- they are going to
already know the password, secondly when they log into it, it will be
their own little separate copy of the administrator that only applies to
their app.  A server with 15 WARs deployed on it could very well have 15
different administrators running-- one for each instance.

~Brad

 Original Message 
Subject: Re: Shared Hosting Lockdown - Q1

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 password.properties. If they
can deploy their own password.properties, why care about whether they
have the admin application?




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322072
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4