AW: Railo Hosting or a very basic VPS to install it on

2009-01-21 Thread Gert Franz
Adrian,

you might want to contact Peter Amiri from Alurium (pe...@alurium.com) since
he is just building up a hosting environment with Railo. Let me know if you
need anything else and I would be glad to help.

Greetings from Switzerland
Gert Franz
Railo Technologies GmbH
gert.fr...@railo.ch
www.railo.ch

Join our Mailing List
german:http://de.groups.yahoo.com/group/railo/
english:   http://groups.yahoo.com/group/railo_talk/
linked in: http://www.linkedin.com/e/gis/71368/0CF7D323BBC1


-Ursprüngliche Nachricht-
Von: Adrian Lynch [mailto:cont...@adrianlynch.co.uk] 
Gesendet: Dienstag, 20. Januar 2009 17:17
An: cf-talk
Betreff: Railo Hosting or a very basic VPS to install it on

I'm looking to reduce costs by getting a basic VPS package and installing
Railo, Apache, Tomcat/Resin and SQL Server 2008 Express.

I've been with Crystaltech and HostMySite for a while now, I love the whole
VPS approach but the cost is a bit much for some projects so I thought I'd
give the above techs a go.

Does anyone have any recommendations?

Thanks in advance.

Adrian




~|
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:318266
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Strange error with cffeed

2009-01-21 Thread Jochem van Dieten
On Tue, Jan 20, 2009 at 8:00 AM, James Holmes wrote:
 We have sandboxing turned on; while just about everything works as you
 would expect without it, it appears that for some functionality
 (including cffeed) the path to [coldfusion
 instance]/WEB-INF/cfusion/lib needs to be added to the sandbox.

That is a bug that was most likely introduced in APSB08-21:
http://www.adobe.com/support/security/bulletins/apsb08-21.html

What permissions did you give exactly? Was execute enough? All other
permissions are potentially dangerous for the server integrity.
Although since you allow Java in your Sandboxes anybody can escalate
his own privileges anyway.

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:318267
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


help with using CFCProxy.

2009-01-21 Thread cf coder
Hello everybody,

I want to call ColdFusion objects from a Java class. I found this 
docucmentation by Ben Forta on CFCProxy: http://www.forta.com/misc/cfcproxy.htm

I have a my CFC (see below) that has an init function which initialies all the 
objects?

cfcomponent name=javacall
cffunction name=init output=false returntype=javacall 
hint=initialise
cfscript
//Example object
this.objFont = 
createObject(java,java.awt.Font).init(Arial,0,10);
return this;
/cfscript
/cffunction
/cfcomponent

The documentation says that the getThisScope() method can be used to retrieve 
the 'This' scope of the CFC. I want to retreive the 'objFont' this variable. 
Can someone show me how to do this please? 

Thanks,
John 

~|
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:318268
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Railo Hosting or a very basic VPS to install it on

2009-01-21 Thread Adrian Lynch
Thanks all, I'll take a look and post back with my experiences soon.

Adrian

 -Original Message-
 From: Gert Franz [mailto:gert.fr...@railo.ch]
 Sent: 20 January 2009 17:00
 To: cf-talk
 Subject: AW: Railo Hosting or a very basic VPS to install it on
 
 Hi Adrian,
 
 I was just about to recommend the same hoster: kickassvps.com
 The guys there are doing a tremendous job. First heard of them by Mary
 Jo
 Sminkey from cfwebstore.
 If you need any help, let me know.
 
 Greetings from Switzerland
 Gert Franz
 Railo Technologies GmbH
 gert.fr...@railo.ch
 www.railo.ch
 
 Join our Mailing List
 german:http://de.groups.yahoo.com/group/railo/
 english:   http://groups.yahoo.com/group/railo_talk/
 linked in: http://www.linkedin.com/e/gis/71368/0CF7D323BBC1
 
 
 -Ursprüngliche Nachricht-
 Von: Adrian Lynch [mailto:cont...@adrianlynch.co.uk]
 Gesendet: Dienstag, 20. Januar 2009 17:17
 An: cf-talk
 Betreff: Railo Hosting or a very basic VPS to install it on
 
 I'm looking to reduce costs by getting a basic VPS package and
 installing
 Railo, Apache, Tomcat/Resin and SQL Server 2008 Express.
 
 I've been with Crystaltech and HostMySite for a while now, I love the
 whole
 VPS approach but the cost is a bit much for some projects so I thought
 I'd
 give the above techs a go.
 
 Does anyone have any recommendations?
 
 Thanks in advance.
 
 Adrian


~|
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:318269
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Strange error with cffeed

2009-01-21 Thread James Holmes
I've given read and execute - I haven't tried with execute only but I
will and I'll report the results.

While it's quite possible to escalate privilege as you say, it's also
possible we'd catch people doing this with our regular automated
server checks - and I can find out where they live :-) It's one of the
things we have to live with if we want to provide decent Java
integration features.

mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/

2009/1/21 Jochem van Dieten joch...@gmail.com:
 On Tue, Jan 20, 2009 at 8:00 AM, James Holmes wrote:
 We have sandboxing turned on; while just about everything works as you
 would expect without it, it appears that for some functionality
 (including cffeed) the path to [coldfusion
 instance]/WEB-INF/cfusion/lib needs to be added to the sandbox.

 That is a bug that was most likely introduced in APSB08-21:
 http://www.adobe.com/support/security/bulletins/apsb08-21.html

 What permissions did you give exactly? Was execute enough? All other
 permissions are potentially dangerous for the server integrity.
 Although since you allow Java in your Sandboxes anybody can escalate
 his own privileges anyway.

~|
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:318270
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: AW: Railo Hosting or a very basic VPS to install it on

2009-01-21 Thread David Strong
Do you need SQL Server 2008?  Will MySQL do? If you can live with LINUX, check 
out eapps.com.

They specialize in Java related hosting.  Been using them for over 6 months. 
very happy.  All their plans include root access.

I am using railo/jetty/litespeed setup, with Percona performance patched MYSQL.

If you need help setting up in linux just give me a holler.

David
melin...@gmail.com


-Ursprüngliche Nachricht-
Von: Adrian Lynch [mailto:cont...@adrianlynch.co.uk] 
Gesendet: Dienstag, 20. Januar 2009 17:17
An: cf-talk
Betreff: Railo Hosting or a very basic VPS to install it on

I'm looking to reduce costs by getting a basic VPS package and installing
Railo, Apache, Tomcat/Resin and SQL Server 2008 Express.

I've been with Crystaltech and HostMySite for a while now, I love the whole
VPS approach but the cost is a bit much for some projects so I thought I'd
give the above techs a go.

Does anyone have any recommendations?

Thanks in advance.

Adrian

~|
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:318271
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cffile cannot access network drive

2009-01-21 Thread sam Detweiler
If you cant change one, then change the other. As in, change CF to run as
you.

.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield


well, it takes adding a user to the service, adding that user to the server, 
AND specifying both access permission AND security permission to the user (or 
group).
AND accessing via unc

thanks

Sam 

~|
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:318272
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: cffile cannot access network drive

2009-01-21 Thread Bobby Hartsfield
So I take it these servers aren't on a domain...

..:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com


-Original Message-
From: sam Detweiler [mailto:sdetw...@gmail.com] 
Sent: Wednesday, January 21, 2009 8:47 AM
To: cf-talk
Subject: Re: cffile cannot access network drive

If you cant change one, then change the other. As in, change CF to run 
as you.

.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield


well, it takes adding a user to the service, adding that user to the server,
AND specifying both access permission AND security permission to the user
(or group).
AND accessing via unc

thanks

Sam 



~|
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:318273
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cffile cannot access network drive

2009-01-21 Thread sam Detweiler
So I take it these servers aren't on a domain...

.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com

correct.. only for development and pre-production test

Sam 

~|
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:318274
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cffile cannot access network drive

2009-01-21 Thread Matthew Small
This is Windows, right? As these are not domain machines, create an account on 
the machine whic has permissions necessary to run CF, and set that as your CF 
account.  Create an account on the remote machine with the same username and 
password that has permission to access the remote share.  The credentials wil 
be passed from the server to the remote share and hopefully, you'll get in.  Be 
sure to use UNC names rather that mapped drives - mapped drives are kept in 
user profiles and are not available across the entire system to all machines.  

HTH,
Matt Small


So I take it these servers aren't on a domain...

.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com

correct.. only for development and pre-production test

Sam 

~|
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:318275
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: cffile cannot access network drive

2009-01-21 Thread Bobby Hartsfield
Then your options are limited to having the same user on each machine and
running the CF service as that user. Just make the user an administrator and
use the administrative shares if you aren't comfortable playing with the
permissions.

There is a hidden admin share for each drive on the machines. For instance,
the C drive can be accessed by \\servername\c$\ (if it hasn't been
explicitly disabled)
D drive would be \\servername\d$\ etc...

If it is for development only and not accessible outside of a corporate/dev
firewall, doing this would have very limited security risks.

..:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com


-Original Message-
From: sam Detweiler [mailto:sdetw...@gmail.com] 
Sent: Wednesday, January 21, 2009 9:16 AM
To: cf-talk
Subject: Re: cffile cannot access network drive

So I take it these servers aren't on a domain...

.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com

correct.. only for development and pre-production test

Sam 



~|
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:318276
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SOT: Serving GIS data on the cheap.

2009-01-21 Thread Ian Skinner
Ian Skinner wrote:
 Anybody out there work with serving GIS data on a website.

Best candidate I have found to date to export GIS data into raster tiles 
or KMZ|KML data for use with Google Maps and|or Google Earth.

http://www.globalmapper.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:318277
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Wacked out CF Link Change

2009-01-21 Thread Robert Harrison
Somehow CF is adding an incorrect... target=blank into my URLs. 

Here's the CF Output Code:

a
href=#rootip#/em_click.cfm?mail_id=#mail_id#pid=#pid#lnk=#url_1#

Here's the actual output:

a
href=http://www.austin-williams.com/em_click.cfm?mail_id=844pid=0901204994
045lnk=http%3A%2F%2Fwww%2Eaustin%2Dwilliams%2Ecom target=_blank   


Where is ...target=_blank... coming from? It IS NOT in any of the
variables. 

Does anyone know where the target statement is coming from?

Thanks


Robert B. Harrison
Director of Interactive services
Austin  Williams
125 Kennedy Drive, Suite 100 Hauppauge NY 11788
T : 631.231.6600 Ext. 119 
F : 631.434.7022
www.austin-williams.com

Great advertising can't be either/or... It must be .



~|
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:318278
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CSS in .cfm file

2009-01-21 Thread Adrian Lynch
I've done it in the past and it's never been a problem, but I'm wondering if
there is ever a reason not to have the following:

link type=text/css rel=stylesheet href=a-cf-page.cfm /

Do any browsers complain that it's not a .css file?

I think it'll be ok but does anyone know different?

One downside, opening a .cfm page in the IDE, you might not get the syntax
highlighting etc.

I suppose the same question goes for scripts too.

Adrian


~|
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:318279
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Wacked out CF Link Change

2009-01-21 Thread Adrian Lynch
Are you running some sort of regex to replace output?

CF won't do that to links, can we see the code in context?

Adrian

 -Original Message-
 From: Robert Harrison [mailto:rob...@austin-williams.com]
 Sent: 21 January 2009 16:52
 To: cf-talk
 Subject: Wacked out CF Link Change
 
 Somehow CF is adding an incorrect... target=blank into my URLs.
 
 Here's the CF Output Code:
 
   a
 href=#rootip#/em_click.cfm?mail_id=#mail_id#pid=#pid#lnk=#url_1#
 
 Here's the actual output:
 
   a
 href=http://www.austin-
 williams.com/em_click.cfm?mail_id=844pid=0901204994
 045lnk=http%3A%2F%2Fwww%2Eaustin%2Dwilliams%2Ecom target=_blank
 
 
 
 Where is ...target=_blank... coming from? It IS NOT in any of the
 variables.
 
 Does anyone know where the target statement is coming from?
 
 Thanks
 
 
 Robert B. Harrison


~|
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:318280
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CSS in .cfm file

2009-01-21 Thread Ian Skinner
The only main downside to this is that browsers may not cache the style 
and|or script files as it would with normal file extensions increasing 
bandwidth and load times for web pages.  I believe this can be mitigated 
with some proper headers added to these files with the cfheader... 
tags, but I have never worried about it for the low use, corporate 
intranet sites my applications live on.

~|
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:318281
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Wacked out CF Link Change

2009-01-21 Thread Jason Fisher
Where is url_1 getting set?  I could only see that insertion happening if the 
set looks like this:

cfset url_1 = http%3A%2F%2Fwww%2Eaustin%2Dwilliams%2Ecom target=_blank

That would also explain the double  which you can see after the _blank in 
your sample.

Here's the actual output:

   a
href=http://www.austin-williams.com/em_click.cfm?mail_id=844pid=0901204994
045lnk=http%3A%2F%2Fwww%2Eaustin%2Dwilliams%2Ecom target=_blank  


~|
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:318283
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Railo on Windows VPS + IIS

2009-01-21 Thread Yves Arsenault
Hey there,
There was a thread on here yesterday about VPS and running Railo...

Turns out... today, I'm installing Railo on a GoDaddy VPS for a client.

Wondering if anyone has ever run across a 500 Servlet error after install?
That's what it gives me when I'm viewing :
http://127.0.0.1:8600/index.cfm

Currently googling...

Thanks,

Yves Arsenault

Love is the only force capable of transforming an enemy into a friend.
--Martin Luther King, Jr.


~|
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:318284
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Wacked out CF Link Change

2009-01-21 Thread Robert Harrison
No REGEX. There is no target in the value of any of the vars.  I'm thinking
maybe someone added a Custom Extension to the server and it's affecting my
files.


Robert B. Harrison
Director of Interactive services
Austin  Williams
125 Kennedy Drive, Suite 100 Hauppauge NY 11788
T : 631.231.6600 Ext. 119 
F : 631.434.7022
www.austin-williams.com

Great advertising can't be either/or... It must be .

-Original Message-
From: Adrian Lynch [mailto:cont...@adrianlynch.co.uk] 
Sent: Wednesday, January 21, 2009 12:06 PM
To: cf-talk
Subject: RE: Wacked out CF Link Change

Are you running some sort of regex to replace output?

CF won't do that to links, can we see the code in context?

Adrian

 -Original Message-
 From: Robert Harrison [mailto:rob...@austin-williams.com]
 Sent: 21 January 2009 16:52
 To: cf-talk
 Subject: Wacked out CF Link Change
 
 Somehow CF is adding an incorrect... target=blank into my URLs.
 
 Here's the CF Output Code:
 
   a
 href=#rootip#/em_click.cfm?mail_id=#mail_id#pid=#pid#lnk=#url_1#
 
 Here's the actual output:
 
   a
 href=http://www.austin-
 williams.com/em_click.cfm?mail_id=844pid=0901204994
 045lnk=http%3A%2F%2Fwww%2Eaustin%2Dwilliams%2Ecom target=_blank
 
 
 
 Where is ...target=_blank... coming from? It IS NOT in any of the
 variables.
 
 Does anyone know where the target statement is coming from?
 
 Thanks
 
 
 Robert B. Harrison




~|
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:318282
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cffile uploads and Load balancing

2009-01-21 Thread Nathan Strutz
Sounds like your load balancing isn't set up to allow multipart posts, or
maybe there's a size limit - try uploading something like a 3-byte text
file, just for kicks, and submit a multipart form with no attachment to see
which it is.

Either way, your load balancing setup sounds like it's misconfigured.

nathan strutz
[Blog and Family @ http://www.dopefly.com/]
[AZCFUG Manager @ http://www.azcfug.org/]



On Tue, Jan 20, 2009 at 5:44 PM, Richard Steele r...@photoeye.com wrote:

 We are getting an HTTP 503 Upload Error when using cffile and uploading
 multiple files from one computer and load balancing. Without load balancing
 it's not a problem. What might be going on here?

 

~|
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:318285
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


AW: Railo on Windows VPS + IIS

2009-01-21 Thread Gert Franz
Yves,

normally you could only receive this message when Railo is running on a
different port and you call the server over localhost directly. We had some
issues in the past because Caucho has changed the default port of the
servlet where Resin is listening from 6800 to 6802. But you should
investigate this a little more by starting the resin service like follows
and then see what errors pop up:

C:\Program Files\Railo\httpd.exe -Xms512M  -Xmx512M  -conf conf/resin.conf
-java_home jre -java_exe jre\bin\java

Where C:\Program Files\Railo is the folder where Railo is installed.

Then a dos box pops up that displays any errors (it's the console)

Let me know about the results.

Greetings from Switzerland
Gert Franz
Railo Technologies GmbH
gert.fr...@railo.ch
www.railo.ch

Join our Mailing List
german:http://de.groups.yahoo.com/group/railo/
english:   http://groups.yahoo.com/group/railo_talk/
linked in: http://www.linkedin.com/e/gis/71368/0CF7D323BBC1


-Ursprüngliche Nachricht-
Von: Yves Arsenault [mailto:yves.arsena...@gmail.com] 
Gesendet: Mittwoch, 21. Januar 2009 18:32
An: cf-talk
Betreff: Railo on Windows VPS + IIS

Hey there,
There was a thread on here yesterday about VPS and running Railo...

Turns out... today, I'm installing Railo on a GoDaddy VPS for a client.

Wondering if anyone has ever run across a 500 Servlet error after install?
That's what it gives me when I'm viewing :
http://127.0.0.1:8600/index.cfm

Currently googling...

Thanks,

Yves Arsenault

Love is the only force capable of transforming an enemy into a friend.
--Martin Luther King, Jr.




~|
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:318286
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Wacked out CF Link Change

2009-01-21 Thread Robert Harrison
Thanks. That was dead on what it was. I found it just as this email came in.


Robert B. Harrison
Director of Interactive services
Austin  Williams
125 Kennedy Drive, Suite 100 Hauppauge NY 11788
T : 631.231.6600 Ext. 119 
F : 631.434.7022
www.austin-williams.com

Great advertising can't be either/or... It must be .

-Original Message-
From: Jason Fisher [mailto:ja...@wanax.com] 
Sent: Wednesday, January 21, 2009 12:17 PM
To: cf-talk
Subject: Re: Wacked out CF Link Change

Where is url_1 getting set?  I could only see that insertion happening if
the set looks like this:

cfset url_1 = http%3A%2F%2Fwww%2Eaustin%2Dwilliams%2Ecom
target=_blank

That would also explain the double  which you can see after the _blank in
your sample.

Here's the actual output:

   a
href=http://www.austin-williams.com/em_click.cfm?mail_id=844pid=090120499
4
045lnk=http%3A%2F%2Fwww%2Eaustin%2Dwilliams%2Ecom target=_blank  




~|
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:318287
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Railo on Windows VPS + IIS

2009-01-21 Thread Yves Arsenault
Hi Gert,
I tried :
C:\Program Files\Railo\httpd.exe -Xms512M  -Xmx512M  -conf conf/resin.conf
-java_home jre -java_exe jre\bin\java

in Start-Run..

Only, I used the command that was in the windows service properties of
Railo.. which was:
C:\Program Files\Railo\httpd.exe -Xms256M  -Xmx512M  -conf conf/resin.conf
-java_home jre -java_exe jre\bin\java

And the consol says:
Can't start NT service Resin

Thanks,

Yves Arsenault

Love is the only force capable of transforming an enemy into a friend.
--Martin Luther King, Jr.


On Wed, Jan 21, 2009 at 1:42 PM, Gert Franz gert.fr...@railo.ch wrote:

 Yves,

 normally you could only receive this message when Railo is running on a
 different port and you call the server over localhost directly. We had some
 issues in the past because Caucho has changed the default port of the
 servlet where Resin is listening from 6800 to 6802. But you should
 investigate this a little more by starting the resin service like follows
 and then see what errors pop up:

 C:\Program Files\Railo\httpd.exe -Xms512M  -Xmx512M  -conf
 conf/resin.conf
 -java_home jre -java_exe jre\bin\java

 Where C:\Program Files\Railo is the folder where Railo is installed.

 Then a dos box pops up that displays any errors (it's the console)

 Let me know about the results.

 Greetings from Switzerland
 Gert Franz
 Railo Technologies GmbH
 gert.fr...@railo.ch
 www.railo.ch

 Join our Mailing List
 german:http://de.groups.yahoo.com/group/railo/
 english:   http://groups.yahoo.com/group/railo_talk/
 linked in: http://www.linkedin.com/e/gis/71368/0CF7D323BBC1


 -Ursprüngliche Nachricht-
 Von: Yves Arsenault [mailto:yves.arsena...@gmail.com]
 Gesendet: Mittwoch, 21. Januar 2009 18:32
 An: cf-talk
 Betreff: Railo on Windows VPS + IIS

 Hey there,
 There was a thread on here yesterday about VPS and running Railo...

 Turns out... today, I'm installing Railo on a GoDaddy VPS for a client.

 Wondering if anyone has ever run across a 500 Servlet error after install?
 That's what it gives me when I'm viewing :
 http://127.0.0.1:8600/index.cfm

 Currently googling...

 Thanks,

 Yves Arsenault

 Love is the only force capable of transforming an enemy into a friend.
 --Martin Luther King, Jr.




 

~|
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:318288
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CSS in .cfm file

2009-01-21 Thread Mike Chabot
Adrian,
Merging all CSS and JS into a single download is done all the time in
the ASP.NET world. I think this would be considered a best-practice
for Web-site programming. You should be able to keep the .css
extension on the original file and cfinclude it into the cfm file.
This is easier to pull off in ASP.NET thanks to the powerful Visual
Studio IDE.

In .NET Web sites the file that bundles all these linked resources
together is named WebResouce.axd. You will see this if you view
source on the Microsoft.com home page. So if you want to read about
pitfalls with this technique, it is probably well documented on the
MSDN Web site or by googling WebResource.axd.

-Mike Chabot

On Wed, Jan 21, 2009 at 11:54 AM, Adrian Lynch
cont...@adrianlynch.co.uk wrote:
 I've done it in the past and it's never been a problem, but I'm wondering if
 there is ever a reason not to have the following:

 link type=text/css rel=stylesheet href=a-cf-page.cfm /

 Do any browsers complain that it's not a .css file?

 I think it'll be ok but does anyone know different?

 One downside, opening a .cfm page in the IDE, you might not get the syntax
 highlighting etc.

 I suppose the same question goes for scripts too.

 Adrian


 

~|
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:318289
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CFPDFForm and Ability to Update From Reader Later?

2009-01-21 Thread Matthew Reinbold
I currently have a PDF form that has had usage rights enabled (in Acrobat under 
'Advanced' then 'Enable Usage Rightes'). If I give this form, as is, to someone 
with only Adobe Reader they can enter info, save it to their desktop, and 
continue editing again at their leisure. 

What I would like to do is pre-populate a number of fields of the PDF form 
based on certain application criteria and THEN email it to a person for 
additional data entry. However, when I try using CFPDFForm - either by itself 
to create a new PDF or inserted as a PDF between the CFDocument tags - opening 
the newly created PDF on a user's machine who only has Adobe Reader give the 
following message:

This document enabled extended features in Adobe Reader. This document has 
been changed since it was created and use of extended features is no longer 
available. Please contact the author for the original version of this document.

Is the copy produced by ColdFusion 'flattening' the PDF? What is going on? Why 
can't I populate a section of a PDF form automatically and then pass it off for 
additional data entry?

Matthew 

~|
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:318290
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Character encoding problem

2009-01-21 Thread Claude Schneegans
Hi,

I'm posting this question for a friend of mine who has two problems:
1 the one described below,
2 although he is registered in CF-Talk, his posts do not get trhrough.

Hello,

Sometimes accented characters entered in a textarea field are replaced 
with strange characters when recorded in my MS Access memo field, For 
exemple © instead of “ɔ.

For debugging purpose, I used CFFile to record the same field value in a 
..txt file. When open with notepad, the accented characters are displayed 
correctly, but the HEX values contained in the file seem to indicate 
UTF-16 Little Endian. The file start with FF FE and the other 
characters have the form XX 00.

Considering I’m with CF5 and it can’t be upgraded, my question is:

Is there a way (with CF5) that I can prevent the field to contain 
anything else that ISO-8859-1?

By parsing the characters? Using Access? Any other ideas?

I have this tag to set the encoding of the form page:

cfcontent type=text/html; charset=ISO-8859-1 reset=yes


~|
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:318291
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFPDFForm and Ability to Update From Reader Later?

2009-01-21 Thread Dave Watts
 I currently have a PDF form that has had usage rights enabled (in Acrobat 
 under 'Advanced' then 'Enable Usage Rightes'). If I give this form, as is, to 
 someone with only Adobe Reader they
 can enter info, save it to their desktop, and continue editing again at their 
 leisure.

 What I would like to do is pre-populate a number of fields of the PDF form 
 based on certain application criteria and THEN email it to a person for 
 additional data entry. However, when I try
 using CFPDFForm - either by itself to create a new PDF or inserted as a PDF 
 between the CFDocument tags - opening the newly created PDF on a user's 
 machine who only has Adobe
 Reader give the following message:

 This document enabled extended features in Adobe Reader. This document has 
 been changed since it was created and use of extended features is no longer 
 available. Please contact the
 author for the original version of this document.

 Is the copy produced by ColdFusion 'flattening' the PDF? What is going on? 
 Why can't I populate a section of a PDF form automatically and then pass it 
 off for additional data entry?

You can't make changes with CF's PDF manipulation stuff without
breaking Reader Extensions functionality. That's just the way it is,
right now. You can do this sort of thing fairly easily with LiveCycle
ES; CF only includes a tiny subset of LCES functionality.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
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:318292
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFPDFForm and Ability to Update From Reader Later?

2009-01-21 Thread Matthew Reinbold
It's just the way it is

Not so. Apple Preview Users are able to edit the generated PDF's just fine. 
This seems to imply a couple things:

1) There is nothing wrong with the structure of the PDF - rather, Adobe Reader 
is enforcing arbitrary restrictions
2) Would they be doing this to encourage folks to get a LifeCycle license

Obviously, having employees using Apple Preview to process forms isn't 
dependable - I would think a call from Adobe to Apple and that little loophole 
would be patched up.

My biggest confusion is WHY Adobe CF would handle things that way?

Matthew 

~|
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:318293
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFPDFForm and Ability to Update From Reader Later?

2009-01-21 Thread Dave Watts
 It's just the way it is

 Not so. Apple Preview Users are able to edit the generated PDF's just fine.

Apple Preview is not Adobe Reader. It's a third-party application
which can do whatever Apple wants it to do with PDFs. Third-party PDF
applications are not constrained by the limitations of Adobe Reader.
It is, in fact, just the way it is that if you use CF to manipulate
Reader-enabled PDFs, that breaks the Reader Extensions functionality.

 This seems to imply a couple things:

 1) There is nothing wrong with the structure of the PDF - rather, Adobe 
 Reader is enforcing arbitrary restrictions
 2) Would they be doing this to encourage folks to get a LifeCycle license

 Obviously, having employees using Apple Preview to process forms isn't 
 dependable - I would think a call from Adobe to Apple and that little 
 loophole would be patched up.

 My biggest confusion is WHY Adobe CF would handle things that way?

I can't tell you why Adobe does things. I can only tell you how things
are. But yes, Adobe Reader does enforce arbitrary restrictions that
other PDF applications are free to ignore. And I'm sure Adobe would
like everyone to buy LiveCycle ES servers, too. I don't know why CF
breaks Reader Extensions functionality; I don't know if it's
intentional or just an oversight.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
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:318294
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


view protected pdf

2009-01-21 Thread Ken Willis
I have used cfpdf to protect pdfs on my server.  now i need to be able to show 
those protected pdfs to the user upon request.  Does anyone have a solution to 
this?

thanks in advance


~|
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:318295
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFContent and PDF problems

2009-01-21 Thread Ken Willis
I have had this problem before.  My extremely low tech solve was to shutdown 
browser and then remove adobe from memory through the task manager.  hope this 
helps. 

~|
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:318296
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CSS in .cfm file

2009-01-21 Thread Wil Genovese
Adrian,

I had to test this since this is something I wanted to do for  
generating style sheets from users preferences saved in a DB.

I can get the style sheet to cache using cfheader.  I also used  
cfcontent to set the text/css content type so as far as the browser  
knows it has received nothing unusual.  Here is some very simple code.

index.cfm
---
cfsetting showdebugoutput=false
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN 
http://www.w3.org/TR/html4/loose.dtd 

html
head
title/title
link href=style.cfm rel=stylesheet

/head
body
div class=redThis is a test of the CFM Style. It is works this  
will be bold read text./div


/body
/html

style.cfm
-
cfsetting enablecfoutputonly=true showdebugoutput=false

cfsavecontent variable=myStylescfoutput
..red {
color: red;
font-weight: bold;
}
..blue {
color: green;
}
/cfoutput
/cfsavecontent

cfheader name=Expires value=#dateadd(n,5,now())#
cfcontent type=text/csscfoutput#myStyles#/cfoutput




Wil Genovese

One man with courage makes a majority.
-Andrew Jackson

A fine is a tax for doing wrong. A tax is a fine for doing well.

On Jan 21, 2009, at 10:54 AM, Adrian Lynch wrote:

 I've done it in the past and it's never been a problem, but I'm  
 wondering if
 there is ever a reason not to have the following:

 link type=text/css rel=stylesheet href=a-cf-page.cfm /

 Do any browsers complain that it's not a .css file?

 I think it'll be ok but does anyone know different?

 One downside, opening a .cfm page in the IDE, you might not get the  
 syntax
 highlighting etc.

 I suppose the same question goes for scripts too.

 Adrian


 

~|
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:318297
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: view protected pdf

2009-01-21 Thread Chuck
What do you mean by protected?  Password protected or PDFs stored outside of
the webroot?

-Original Message-
From: Ken Willis [mailto:k...@alliedinformationresource.com] 
Sent: Wednesday, January 21, 2009 9:16 PM
To: cf-talk
Subject: view protected pdf

I have used cfpdf to protect pdfs on my server.  now i need to be able to
show those protected pdfs to the user upon request.  Does anyone have a
solution to this?

thanks in advance




~|
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:318298
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CSS in .cfm file

2009-01-21 Thread Wil Genovese
Well, I have to take that back.  I was positive it was caching, but  
now I can't seem to make it do so.  But it still reads the style info  
properly.

Using Firebug to view my NET activity show that the cfm style sheet is  
reloaded every time even after turing on Coldfusion caching.  I added  
a call to a second static style sheet ending in the normal .css and  
Firebug returns 304 not modified status for the .css style sheet.

So, I can generate a dynamic style sheet and link to in as style.cfm  
but the browser won't cache it.  Even tried to trick it with this
link href=style.cfm?.css rel=stylesheet
and it won't stick in the browser cache.

Wil Genovese

One man with courage makes a majority.
-Andrew Jackson

A fine is a tax for doing wrong. A tax is a fine for doing well.

On Jan 21, 2009, at 9:12 PM, Wil Genovese wrote:

 Adrian,

 I had to test this since this is something I wanted to do for
 generating style sheets from users preferences saved in a DB.

 I can get the style sheet to cache using cfheader.  I also used
 cfcontent to set the text/css content type so as far as the browser
 knows it has received nothing unusual.  Here is some very simple code.

 index.cfm
 ---
 cfsetting showdebugoutput=false
 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN 
 http://www.w3.org/TR/html4/loose.dtd
 
 html
 head
   title/title
   link href=style.cfm rel=stylesheet
   
 /head
 body
   div class=redThis is a test of the CFM Style. It is works this
 will be bold read text./div


 /body
 /html

 style.cfm
 -
 cfsetting enablecfoutputonly=true showdebugoutput=false

 cfsavecontent variable=myStylescfoutput
 ..red {
   color: red;
   font-weight: bold;
 }
 ..blue {
   color: green;
 }
 /cfoutput
 /cfsavecontent

 cfheader name=Expires value=#dateadd(n,5,now())#
 cfcontent type=text/csscfoutput#myStyles#/cfoutput




 Wil Genovese

 One man with courage makes a majority.
 -Andrew Jackson

 A fine is a tax for doing wrong. A tax is a fine for doing well.

 On Jan 21, 2009, at 10:54 AM, Adrian Lynch wrote:

 I've done it in the past and it's never been a problem, but I'm
 wondering if
 there is ever a reason not to have the following:

 link type=text/css rel=stylesheet href=a-cf-page.cfm /

 Do any browsers complain that it's not a .css file?

 I think it'll be ok but does anyone know different?

 One downside, opening a .cfm page in the IDE, you might not get the
 syntax
 highlighting etc.

 I suppose the same question goes for scripts too.

 Adrian




 

~|
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:318299
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CSS in .cfm file

2009-01-21 Thread James Holmes
You probably need to add Cache-Control and possibly Pragma headers fro
the cache to work.

mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/



2009/1/22 Wil Genovese jugg...@visi.com:
 Well, I have to take that back.  I was positive it was caching, but
 now I can't seem to make it do so.  But it still reads the style info
 properly.

 Using Firebug to view my NET activity show that the cfm style sheet is
 reloaded every time even after turing on Coldfusion caching.  I added
 a call to a second static style sheet ending in the normal .css and
 Firebug returns 304 not modified status for the .css style sheet.

 So, I can generate a dynamic style sheet and link to in as style.cfm
 but the browser won't cache it.  Even tried to trick it with this
 link href=style.cfm?.css rel=stylesheet
 and it won't stick in the browser cache.

 Wil Genovese

 One man with courage makes a majority.
 -Andrew Jackson

 A fine is a tax for doing wrong. A tax is a fine for doing well.

 On Jan 21, 2009, at 9:12 PM, Wil Genovese wrote:

 Adrian,

 I had to test this since this is something I wanted to do for
 generating style sheets from users preferences saved in a DB.

 I can get the style sheet to cache using cfheader.  I also used
 cfcontent to set the text/css content type so as far as the browser
 knows it has received nothing unusual.  Here is some very simple code.

 index.cfm
 ---
 cfsetting showdebugoutput=false
 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN 
 http://www.w3.org/TR/html4/loose.dtd
 
 html
 head
   title/title
   link href=style.cfm rel=stylesheet

 /head
 body
   div class=redThis is a test of the CFM Style. It is works this
 will be bold read text./div


 /body
 /html

 style.cfm
 -
 cfsetting enablecfoutputonly=true showdebugoutput=false

 cfsavecontent variable=myStylescfoutput
 ..red {
   color: red;
   font-weight: bold;
 }
 ..blue {
   color: green;
 }
 /cfoutput
 /cfsavecontent

 cfheader name=Expires value=#dateadd(n,5,now())#
 cfcontent type=text/csscfoutput#myStyles#/cfoutput




 Wil Genovese

 One man with courage makes a majority.
 -Andrew Jackson

 A fine is a tax for doing wrong. A tax is a fine for doing well.

 On Jan 21, 2009, at 10:54 AM, Adrian Lynch wrote:

 I've done it in the past and it's never been a problem, but I'm
 wondering if
 there is ever a reason not to have the following:

 link type=text/css rel=stylesheet href=a-cf-page.cfm /

 Do any browsers complain that it's not a .css file?

 I think it'll be ok but does anyone know different?

 One downside, opening a .cfm page in the IDE, you might not get the
 syntax
 highlighting etc.

 I suppose the same question goes for scripts too.

 Adrian






 

~|
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:318300
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: view protected pdf

2009-01-21 Thread Kenny J. Willis
Password protected

-Original Message-
From: Chuck [mailto:h...@coldfusionguru.com] 
Sent: Wednesday, January 21, 2009 7:17 PM
To: cf-talk
Subject: RE: view protected pdf

What do you mean by protected?  Password protected or PDFs stored
outside of
the webroot?

-Original Message-
From: Ken Willis [mailto:k...@alliedinformationresource.com] 
Sent: Wednesday, January 21, 2009 9:16 PM
To: cf-talk
Subject: view protected pdf

I have used cfpdf to protect pdfs on my server.  now i need to be able
to
show those protected pdfs to the user upon request.  Does anyone have a
solution to this?

thanks in advance






~|
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:318301
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Character encoding problem

2009-01-21 Thread Nathan Strutz
Claude,

A couple things to try off the top of my head...

First, always use UTF-8, whenever you can, it's the best solution all
around.

If you could use CFMX, I would say to use the setEncoding function, you tell
it what scope and what encoding, and it somehow helps encode it.

And last, set an encoding in your HTML header with a meta tag. I forget the
syntax, you can probably google it yourself :)

Overall, though, if you're having character encoding problems, your real
problem is that you're on CF5 - way, way outdated and not at all supported.
Thanks to Java, the internationalization and character set encoding in CF 6
+ is like decades more advanced.

nathan strutz
[Blog and Family @ http://www.dopefly.com/]
[AZCFUG Manager @ http://www.azcfug.org/]



On Wed, Jan 21, 2009 at 4:14 PM, Claude Schneegans 
schneeg...@internetique.com wrote:

 Hi,

 I'm posting this question for a friend of mine who has two problems:
 1 the one described below,
 2 although he is registered in CF-Talk, his posts do not get trhrough.

 Hello,

 Sometimes accented characters entered in a textarea field are replaced
 with strange characters when recorded in my MS Access memo field, For
 exemple (c) instead of ɔ.

 For debugging purpose, I used CFFile to record the same field value in a
 ..txt file. When open with notepad, the accented characters are displayed
 correctly, but the HEX values contained in the file seem to indicate
 UTF-16 Little Endian. The file start with FF FE and the other
 characters have the form XX 00.

 Considering I'm with CF5 and it can't be upgraded, my question is:

 Is there a way (with CF5) that I can prevent the field to contain
 anything else that ISO-8859-1?

 By parsing the characters? Using Access? Any other ideas?

 I have this tag to set the encoding of the form page:

 cfcontent type=text/html; charset=ISO-8859-1 reset=yes


 

~|
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:318302
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Character encoding problem

2009-01-21 Thread Paul Hastings
Nathan Strutz wrote:
 First, always use UTF-8, whenever you can, it's the best solution all
 around.

it won't matter on cf5, it doesn't know encoding from a hole in the ground 
especially w/an ODBC access datastore.


~|
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:318303
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4