onRequestStart onRequest variable assignments

2014-12-29 Thread Don

This application I inherited, certain variables are not persisting their values 
between onRequestStart and onRequest.

I've been writing to a log file to document the changes. Seems to be happening 
just after onRequestStart ends and onRequest begins. Values are being reset. So 
the variables themselves still exist, just their value is being altered and I 
cannot see where it is happening.

am I missing something obvious?



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359891
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


MS2008 SQL Express Driver versions changes?

2014-12-12 Thread Don

All our currently troubles began with the upgrade to CF11.
Under CF9 our application ran perfectly. 

All kinds of strange errors GC out memory / 
java.sql.SQLNonTransientConnectionException

Random down times. No pattern or common error that I have yet detected.

I have even considered the driver as being a potential cause. Any ideas about 
driver versions between CF9 and CF11 ? How would one go about getting more info 
on this?

Cheers 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359838
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


SQLServer JDBC Driver - maximum number of connections

2014-12-12 Thread Don

How could one determine this limitation on maximum number of connections 
exceeded?


[Macromedia][SQLServer JDBC Driver]A problem occurred when attempting to 
contact the server (Server returned: Connection reset). Please ensure that the 
server parameters passed to the driver are correct and that the server is 
running. Also ensure that the maximum number of connections have not been 
exceeded for this server. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359839
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: GC overhead limit exceeded

2014-12-08 Thread Don

Dan,

I was just reading this post by CF Gurur Mike B. It has some cf10 specific
tips that might be applicable to you since your problem is OOM.

http://www.cfwhisperer.com/post.cfm/coldfusion-10-enhanced-performance-setti
ngs

-mark

Cheers Mark. We are also looking at the database ( MS SQL Express ) which is 
being used by several sites on that same machine. There is a memory leak 
somewhere in the technology path. I'm pretty sure MS SQL Express is not meant 
to be used this way... someone correct me if I am wrong.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359770
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: GC overhead limit exceeded

2014-12-08 Thread Don

I created another page ( that is not accessing the DB ) under the root 
directory and was able to access this fine on the domain whilst the site was 
still down..

It wasn't until I ran the application which is accessing the DB that we are 
experiencing that site blowing up ( massive lag ). 

So Coldfusion IS working, just not when its attempting to connect to the DB.

So seems to me that an overburdened MS SQL Express is reaching its limits OR 
something in CF is being run incorrectly. But I tend to doubt the latter as the 
application was fine under the previous CF 9 installation ( so I am told ).

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359772
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


GC overhead limit exceeded

2014-12-06 Thread Don

Here is the latest error. 

Remember I said this application made heavy use of nested custom tags and the 
request scope?

Typejava.lang.OutOfMemoryError
Detail  An exception occurred while invoking an event handler method from 
Application.cfc. The method name is: onRequestStart.

Message GC overhead limit exceeded
StackTrace  java.lang.OutOfMemoryError: GC overhead limit exceeded
java.lang.OutOfMemoryError

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359767
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: GC overhead limit exceeded

2014-12-06 Thread Don

I guess this application ran fine under previous Coldfusion incarnations. It 
was only after the upgrade to CF 11 that the problems started.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359768
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: how to diagnose a potential bottleneck

2014-12-02 Thread Don

Doesnt seem anyone noticed my reply so I'll post this again...

I noticed a sharp drop in JVM memory during this process ( it all happened in 
about one minute )

Say from the average JVM Freememory of : 255 Megs
Dropping to around : 30 Megs

Any thoughts or ideas? It did come back up to normal levels, but the rate of 
the drop has me concerned. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359739
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: how to diagnose a potential bottleneck

2014-12-02 Thread Don

This does not necessarily mean anything Don.  It could simply mean migration
from eden to persistent memory where GC recovers in due course. It's the
overall pattern of GC recovery that means the most when talking about gross
numbers. You should see a saw tooth pattern over time with steep drops as
memory is recovered on the heap. Problems arise when the drop does not level
off (it recovers less and less memory each time - i.e. a memory leak) or
when the top side of the heap is too lean (i.e. the heap is too small for
it's overall usage pattern). But keying in on a big dump of objects into
perm heap isn't necessarily going to give you information that you can use.


Yes thanks Mark. I do realize that this may be barking up the wrong tree. But 
since this site is hosted my hands are tied on a few levels in debugging this 
strange error. This is really all I have at present to look into. 

Could also be the hardware isn't up to the task. I'm not seeing many offending 
pages. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359741
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: how to diagnose a potential bottleneck

2014-12-02 Thread Don

Russ Michaels wrote:
 doing debugging and load testing on a live production server is generally
a
 bad idea.

On general principles, sure... although I'd say that a diagnostic reporter
like F-R belongs first and foremost on a production box.

To the OP... it sounds like you are stuck, so how good is your error
reporting?  Assuming errors are being thrown at all (you said the server
slowed which doesn't necessarily mean its erroring) are you capturing them
for review?  If not you should put something in to troll and see what comes
up.  Maybe something unexpected is hanging up threads?

If error trapping is out, what about timing the execution of pages and
seeing who the hogs are?

variables.CFMstart=gettickcount();
... stuff ...
variables.CFMTook=int(gettickcount()-variables.CFMstart);

Put start in Application, stop in OnRequestEnd and output to a very small
db record that also includes, say, cgi.script_name and cgi.query_string.
Leave it up for an hour or three and see what it finds.

-- 
--m@Robertson--
Janitor, The Robertson Team
mysecretbase.com

Yah, creative little solution there. I will make use of your idea. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359743
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: how to diagnose a potential bottleneck

2014-12-02 Thread Don

A breadcrumb array kept in the session scope has been key.  Stores everything 
the 
does and gets dumped to the error file.

Am curious as to what you did there. Would you mind sharing how you did that? ( 
I dont need code ) just your idea(s) explained with some more detail. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359746
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: how to diagnose a potential bottleneck

2014-12-02 Thread Don

You can also configure CF to log slow pages and if you have enterprise, 
server monitor can log/alert you to slow/hung requests.



On 12/2/14, 10:52 AM, Money Pit wrote:

Another good suggestion. But I'm not recieving much in the way of information 
from the host anymore. Seems they might not like me poking around too much 
I dont know. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359747
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: how to diagnose a potential bottleneck

2014-12-02 Thread Don

 Sounds like it's time to move on.
 
 On 12/2/14, 1:11 PM, Don wrote:
  I'm not recieving much in the way of information from the host 
 anymore. Seems they might not like me poking around too much I 
 dont know.

lol, well that's exactly what the developer of their e-commerce software 
apparently has done. That's why I'm here! 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359749
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: how to diagnose a potential bottleneck

2014-12-02 Thread Don

Great! 

And these sessions structures, do you write the data to the DB onSessionEnd ? 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359754
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: how to diagnose a potential bottleneck

2014-12-02 Thread Don

No I don't.  It all sits in memory unused.  But if an error occurs this
info gets dumped out via my error handler where it can be used
post-mortem.  Generally my error handler loops over a pre-defined list of
scopes and dumps them all out.  Depending on the setting I've made, the
dump is either to a db record (Access memo fields aren't large enough for
this) or to a disk file.  I prefer a browser-readable disk file - a large
query or similar sitting in the variables scope can make these files very
large. 500k to 1mb files are common. Dumping out scopes like this has
security implications so you need to address that when storing/viewing this
info.

--m@--

I see, so it follows all active users around and reports only upon error. Quite 
an elegant approach. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359756
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: how to diagnose a potential bottleneck

2014-12-01 Thread Don

Hi folks. I have noticed one or two backend processes that seem to bring the 
FREE JVM Memory down.

I noticed a sharp drop in JVM memory during this process ( it all happened in 
about one minute )

Say from the average JVM Freememory of : 255 Megs
Dropping to around : 30 Megs

For a moment, there was a lag on the site. I am thinking, this process at the 
wrong time might be enough to kill the JVM.

Any thoughts or ideas? 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359734
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: how to diagnose a potential bottleneck

2014-12-01 Thread Don

This could be a case of another site on the server bringing it down and not
your site.

Byron Mann
Lead Engineer  Architect
HostMySite.com


Ah yes. Very logical deduction. Thank you Sir. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359735
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: how to diagnose a potential bottleneck

2014-12-01 Thread Don

There is absolutely no restrictions whatsoever on where FR can be
installed, it would be pretty useless if that was the case, you can install
it on any supported OS, FR does not know or care what you are using that
machine for.

So how does that work then? You point FR to a domain? i thought it needed more 
a intimate connection with the server its introspecting. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359736
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFqueryParam Coldfusion 11

2014-11-28 Thread Don

The errors getting back are all The request has exceeded the allowable time 
limit Tag

Seems that the whole server eventually crashes/slows to crawl, even though 
other websites on that same server are fine. 

CF Version 11 / SQL Server Express

Looking at the JVM free memory, it always seems to be going down. not sure what 
this points toany ideas? 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359724
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: how to diagnose a potential bottleneck

2014-11-28 Thread Don

I suggest installing fusionReactor and monitoring your local cfserver.
Run some performance/load testing on the app and see what happens, it
should you what pages are having issues
Run cfdebugger on those pages

Russ, on our host installing this is not possible right now.

is there anything else you can recommend doing? the issue at present seems 
random 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359727
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CFqueryParam Coldfusion 11

2014-11-27 Thread Don

Does anyone know of any supposed issues with CF 11 and cfqueryparam ? 

I had a few of them in a query. One by one I removed them to see if I could get 
the query working and then, adding them in. All but one work.

Any ideas?


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359717
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


how to diagnose a potential bottleneck

2014-11-27 Thread Don

Got this custom e-commerce app that is basically going down daily.

Seems to run fine again upon server restart, but eventually it goes down to a 
crawl. 

This started happening after some patches to Coldfusion 11 were implemented. 
Host says it was rolled back, but problems are persisting.

I'm seeing a lot use of CFINVOKE accross the application.

Does anyone have any ideas on where I could start looking at this issue? 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359720
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: how to diagnose a potential bottleneck

2014-11-27 Thread Don

I suggest installing fusionReactor and monitoring your local cfserver.
Run some performance/load testing on the app and see what happens, it
should you what pages are having issues
Run cfdebugger on those pages

Cheers Russ. Been out of the game for a while, but now I'm headlong in. Glad to 
see one of the old timers are still here. =) 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359722
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


introspect Java process OSX to determine Coldfusion Run Status?

2014-01-22 Thread Don

Was wondering if the above was possible. 

Seems I can retrieve a list of running processes. Of course since CF runs in 
Java, its impossible to determine what exactly is running in Java. Which is the 
data I am looking for. 

I fear that I'm going to be blocked by Java security at this point.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357484
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Problems with OSX installation 10.7

2014-01-18 Thread Don

Managed to figure this one out. So posting this here in case someone else runs 
into this issue.

In my Coldfusion10 folder 'wwwroot' was listed as an alias. 

My web site and CFIDE files were under another folder called Coldfusion Root. 

So I simply deleted the wwwroot alias created a new wwwroot and copied the 
contents of Coldfusion Root into it. 

Restarted Coldfusion10 and all is working fine again.





 I had CF10 beta for a while and was using it no problems. Stopped 
 using it, played around with osx built in web server. Came back to 
 using cf10 and pages would load. Just a blank page displayed for the 
 CF administrator.
 
 So I uninstall cf10 beta and install new version of cf10. 
 
 Install goes smoothly and everything works as it should.
 
 Restart computer and now back to blank screen again rather than the CF 
 Administrator.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357480
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Problems with OSX installation 10.7

2014-01-14 Thread Don

I had CF10 beta for a while and was using it no problems. Stopped using it, 
played around with osx built in web server. Came back to using cf10 and pages 
would load. Just a blank page displayed for the CF administrator.

So I uninstall cf10 beta and install new version of cf10. 

Install goes smoothly and everything works as it should.

Restart computer and now back to blank screen again rather than the CF 
Administrator.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357424
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


coldfusion/html projects

2013-08-28 Thread Don

Hey folks, anyone looking for a side developer? Would be willing to take on any 
CF/HTML work large or small.

Thanks 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356600
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CFPDF image extraction problem

2012-11-19 Thread Don L

Hi,

I'm using CF10 for Windows to extract png images from a PDF doc.
Here's the code:
cfpdf action=extractimage format=png overwrite=true
source=C:\ColdFusion10\cfusion\wwwroot\dev\myPDF.pdf
destination=#ExpandPath('/images')# /

fyi,
C:\ColdFusion10\cfusion\wwwroot\dev\images folder exists.

Err msg:
 An error occurred during EXTRACTIMAGE operation in the cfpdf tag.
Error: com.adobe.internal.pdftoolkit.core.exceptions.PDFFilterFormatException: 
DCT Error: -100 

What could be wrong?

Thanks in advance.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353253
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Recreate DB with ORM?

2012-10-18 Thread Don Drewson

I have a client who sent me an old site where they no longer have any
remnants of the database and they want to get the site up and running. I
was wondering if I can use the CF ORM with the create option to build it.
Is this possible? Would be using CF 9.01.

Thanks,
Don


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352937
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Recreate DB with ORM?

2012-10-18 Thread Don Drewson

Thanks guys.

I understand it is not going to magically recreate the DB as it once was,
just give me the tables and columns that are in the queries in the code is
all. Basically looking for it to do the grunt works. After that, I will go
in and finish designing it to add PK's, FK's, etc.

Thanks,
Don

On Thu, Oct 18, 2012 at 7:53 AM, Russ Michaels r...@michaels.me.uk wrote:


 Don,

 You can use ORM to create databases sure, but nothing will not just
 magically re-create a missing database for you, how would it know the field
 names, the data types, triggers, cascades, primary keys, foreign keys, the
 relationships between the different tables, stored procedure code etc.
 even using ORM you still need to know all this information in order to
 create your database schema.



 On Thu, Oct 18, 2012 at 3:45 PM, Don Drewson dondrew...@gmail.com wrote:

 
  I have a client who sent me an old site where they no longer have any
  remnants of the database and they want to get the site up and running. I
  was wondering if I can use the CF ORM with the create option to build it.
  Is this possible? Would be using CF 9.01.
 
  Thanks,
  Don
 
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352945
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Trimming extra white area for a CF generated PDF doc

2012-09-21 Thread Don L

Hi,

For CF9 or Railo 3.x, the following code generates extra white space like half 
a page at both the top and the bottom for a generated PDF doc when dynamic 
content exceeds one page, I wonder if we have a way to trim all these necessary 
white spaces.  It would be extremely desirable to have the ability to set 
dynamic height for the PDF doc.

cfdocument filename=myDoc.pdf format=pdf orientation=landscape 
fontEmbed=yes overwrite=yes
cfprocessingdirective suppressWhiteSpace = true
html dynamic content here...
/cfprocessingdirective
/cfdocument

Thanks in advance.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352701
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Trimming extra white area for a CF generated PDF doc

2012-09-21 Thread Don L

what if you enable the whitespace removal in the admin ?

On Fri, Sep 21, 2012 at 6:29 PM, D



Interesting thought, still not to avail.  And I should add, in most cases, the 
generated PDF is ok, many times it would be just one page, and when we have 
more than 5 line items the PDF also looks ok, natural flow to next page.  It's 
just the 3 or 4 line items that makes the PDF doc centered and having the extra 
top and bottom blanks.
Thanks tho. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352703
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Trimming extra white area for a CF generated PDF doc

2012-09-21 Thread Don L

what if you enable the whitespace removal in the admin ?

On Fri, Sep 21, 2012 at 6:29 PM, D



Ahe, what if I cheat, if it's 3 or 4 lines items I'll create some extra rows 
like 2 then the server would treat it just as 5 or 6 line items. Hmm, let me 
check, hang on. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352704
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Setting up database for mvc website

2012-07-31 Thread Don

I had to look up 'orthogonal' - And now I'm even more confused!

Thanks guys! =)


 Is this what you are asking? are there any architectural considerations
 in database design to match what is needed by an MVC architecture?
 
 I see that as a legit question as some specific MVC engines/frameworks
 that are by convention, such as CFWheels, prefer certain conventions
 in, for example, database naming.

 Yes, this is what I am asking. =).

As conventions are not the same as best practices, Matt's original
answer still stands.

 But, other than database naming are there any others? Or anything that
 goes deeper into Mvc integration besides ORM ?

No. As everyone else has already said here, relational database design
is orthogonal to application design.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite. 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352025
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Setting up database for mvc website

2012-07-29 Thread Don

Is this what you are asking? are there any architectural considerations 
in database design to match what is needed by an MVC architecture?

I see that as a legit question as some specific MVC engines/frameworks 
that are by convention, such as CFWheels, prefer certain conventions 
in, for example, database naming.

Yes, this is what I am asking. =). 

But, other than database naming are there any others? Or anything that 
goes deeper into Mvc integration besides ORM ?



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352014
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Setting up database for mvc website

2012-07-28 Thread Don

Speaking from a purist perspective, the database has nothing to do with
MVC.  Perhaps you should ask more specific questions so folks can have an
idea of what you're really after?

HTH

It doesn't help at all actually.

Anyone else? 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352003
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Setting up database for mvc website

2012-07-28 Thread Don

Sounds to me like you didn't understand the question!

Speaking from a purist perspective, the database has nothing to do with
MVC.  Perhaps you should ask more specific questions so folks can have an
idea of what you're really after?

HTH





 What are some best practices in structuring the website database to
 accomodate good integration with an MVC model?


 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352004
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Setting up database for mvc website

2012-07-27 Thread Don

What are some best practices in structuring the website database to accomodate 
good integration with an MVC model? 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352001
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: after a long hiatus back to talk about frameworks

2012-05-09 Thread Don

But my approach to frameworks has been to 'wait and see'. Because I don't like 
wasting my time. I need to do something on a daily basis other wise it wont 
stick.

I delayed learning any Framework and then just learned fusebox at a 
job/contract. 

I was going to ask, which frameworks are the most popular in terms of actual 
employment statistics but even then, it might all be a waste of time if my next 
contract doesn't use ( framework x,y, or z ). So I think I'll continue 
conserving my energy and just focus on CF. Maybe checkout FW/1 for my own 
projects from what a few here have said about it. didn't find the documention 
all that great though.




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351070
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: after a long hiatus back to talk about frameworks

2012-05-09 Thread Don

But focusing on 'which framework is more popular' and 'which framework
may go away' seems a bit silly.

I don't think so. The reason being is that I don't like wasting my time because 
if I don't use a thing everyday it doesn't get imprinted. For example - I've 
gotten semi proficient in java several times only to have the knowledge 
dissapear on account of lack of use.

Popularity would also be a good indicator of job prospect, which is a good 
indicator of how much money I can potentially make. Remember this ( for me ) 
about expending the least amount of energy for maximum results. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351074
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: after a long hiatus back to talk about frameworks

2012-05-09 Thread Don

My comment still applies. Even if you learn and forget all of those
frameworks in succession, because most of them feature MVC/OO/ORM/etc, that
stuff should stick.


Yes everyone's comment applies,I was not intending to diminish anyone's 
perspective. :) 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351076
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: after a long hiatus back to talk about frameworks

2012-05-09 Thread Don

Right...but...learning a new framework or two, depending on which you
choose and how you use 'em, will make you a better MVC'er, OO'er, ORM'er,
Frameworker, etc...

...if you take my meaning. And most/all of those things are likely to help
you land your next job, regardless of which framework(s) they do or do not
use.


Yes, Jon, that's a good point. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351077
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: after a long hiatus back to talk about frameworks

2012-05-09 Thread Don

I may just stick with FB for now, I already am comfortable with it. The path of 
least resistance... Lol 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351082
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: after a long hiatus back to talk about frameworks

2012-05-09 Thread Don

I think much of it  overshadows and diminishes what CFML's biggest
advantage has always been, which is simplicity to use and ease to learn,
CFML is itself a RAD Framework for JAVA don;t forget.
If a newbie comes along here they are invariably told to use OOP, use MVC,
use a framework, use cfscript and all the other most complex parts of CF,
which rather defeats the point of using CFML doesn't it.
The average newbie to CF really only needs to learn a handful of tags and
functions to do what he needs on a basic site, even CFC's are not required.
The  frameworks, OOP and MVC topic really belongs in the realm of advanced
developers who need this stuff and enterprise apps, the newbie and dabbler
really shouldn't need to feel pressured into learning this stuff if they
don;t need it.

On Wed, May 9, 2012 at 6:00 PM,  wrote:

Another excellent point. I mean ease of use was one of the reasons I chose and 
was directed at CF years ago.  Really, I am between contracts right now, I 
figure to apply some framework on personal projects to keep my skills up to a 
degree but also to allow for possibility of expansion of those projects onto 
higher levels in the future. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351083
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: after a long hiatus back to talk about frameworks

2012-05-09 Thread Don

Russ, did I meet you in the UK a few years ago, you offered me some beer on a 
job interview? Lol 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351084
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: after a long hiatus back to talk about frameworks

2012-05-09 Thread Don



 I was going to ask, which frameworks are the most popular in terms of
 actual employment statistics but even then, it might all be a waste of time
 if my next contract doesn't use ( framework x,y, or z ).


Maybe what you are looking for isn't going to be solved by a framework, but
by a better methodology. By far, the most popular way to write web
applications these days, an improvement over the old Fusebox days, and
certainly enabled (and sometimes forced) by all the frameworks, is MVC.

The Model-View-Controller pattern is pretty ideal for web applications, and
is one of the best tools we developers have these days. You can do it
without a framework, it's not hard (
www.dopefly.com/techblog/entry.cfm?entry=307 and
www.dopefly.com/techblog/entry.cfm?entry=308), and it's much more important
than marrying yourself to any specific framework.


nathan strutz
[www.dopefly.com] [hi.im/nathanstrutz] [about.me/nathanstrutz]




Yes thanks Nathan, this has been an excellent addition. I would much rather 
stick to my own style while integrating a MVC approach... I'm not big on 
abstraction and would rather keep it as simple as possible. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351095
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: after a long hiatus back to talk about frameworks

2012-05-09 Thread Don

Maybe what you are looking for isn't going to be solved by a framework, but
by a better methodology. By far, the most popular way to write web
applications these days, an improvement over the old Fusebox days, and
certainly enabled (and sometimes forced) by all the frameworks, is MVC.

The Model-View-Controller pattern is pretty ideal for web applications, and
is one of the best tools we developers have these days. You can do it
without a framework, it's not hard (
www.dopefly.com/techblog/entry.cfm?entry=307 and
www.dopefly.com/techblog/entry.cfm?entry=308), and it's much more important
than marrying yourself to any specific framework.

Hi Nathan, many thanks for your links. I really like how you've broken the 
whole MVC down into the most basic bite sized chunks your approach was very 
straight forward and easily digestible. IE - you wrote how I think. Well done 
and thanks again. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351096
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: after a long hiatus back to talk about frameworks

2012-05-08 Thread Don

some resources which may help you getting back into CF

www.cf411.com
www.cfsearch.com
www.cfmldeveloper.com

from these you can most likely find everything else you need






thanks guys. Wow, some old names I still remember. =) 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351061
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


after a long hiatus back to talk about frameworks

2012-05-07 Thread Don

Hi, its been a while since I did any CF work. I am wondering what framework 
seems to be popular right now. 

I did a bit of fusebox and liked it. But am wondering about the others out 
there. I noticed CF builder 2 didn't have any support for it as did CFEclipse. 
I find that odd. Has FB gone 'out of fashion' ?

I would like something that worked liked objects.. I can't remember if FB did 
that very well. 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351050
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Coldfusion 8 (Standard)

2011-11-20 Thread Don L

Hi,

I bought a standard version of Adobe Coldfusion 8 for $1,299 about three years 
ago. Initially intended to use it for a hosted app but change plan, so, never 
use it. If I don't transfer its ownership the money would be wasted.  If you 
really need cf9, you can still buy this version and then upgrade to cf9, of 
course, I'll transfer the ownership to you at a good price.  If interested, 
please drop me a line at do...@yahoo.com

Thanks.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348832
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


detecting mobile devices

2011-10-04 Thread Don

We have a requirement to 'detect mobile devices'.

I've done some priliminary research and see some are using WURFL file.
Is there anyone here using this?

Also was wondering what others have been using for this? and are there any 
recommendations.

Thanks 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347876
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: detecting mobile devices

2011-10-04 Thread Don

we sort of have this limitation using html/js only. No coldfusion 
unfortunately. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347880
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: detecting mobile devices

2011-10-04 Thread Don

Yes: use WURFL.

Does this sound like a resonable solution


download WURFL file, pick out the specific few things we are looking for and 
insert that into our database. Then when we get a user-agent that is mobile we 
could detect that with a query to our db. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347881
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: detecting mobile devices

2011-10-04 Thread Don

Honestly, that seems silly to me. If you have to use js then why obfuscate
it by adapting cf to js? Why not just approach it with js natively?

http://www.hand-interactive.com/resources/detect-mobile-javascript.htm


Given your description, I'm not sure you have understood the requirement. 

Given the nature of mobile devices. It would seem that JS is limited in what it 
can detect. Even that article you mention goes onto suggest WURFL for more 
succinct data.

Also, the article mentions to be able to detect SOME devices with Javascript 
- that's way off to what we want to accomplish. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347883
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: detecting mobile devices

2011-10-04 Thread Don

 Honestly, that seems silly to me. If you have to use js then why 
 obfuscate
 it by adapting cf to js? Why not just approach it with js natively?
 
 http://www.hand-interactive.com/resources/detect-mobile-javascript.
 htm
 
 
 Given your description, I'm not sure you have understood the 
 requirement. 
 
 Given the nature of mobile devices. It would seem that JS is limited 
 in what it can detect. Even that article you mention goes onto suggest 
 WURFL for more succinct data.
 
 Also, the article mentions to be able to detect SOME devices with 
 Javascript - that's way off to what we want to accomplish. 

Furthermore, that article you mention refers to JS library on MobileESP. But 
even on The MobileESP project website they state...

and JavaScript for more limited client-side detection.

Important Caveat: The MobileESP project code is lightweight and ideal for many 
web sites. However, this project is not meant to replace other projects 
offering greater specificity and control, such as WURFL or 
HandsetDetection.com.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347884
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: detecting mobile devices Anyone using : MobileRedirect?

2011-10-04 Thread Don

Anyone using : MobileRedirect?

http://mobilewebdeveloper.com/index.cfm/page/purchase/item/MobileRedirect

It SEEMS pretty good. They say...

identifies more than 96% of all mobile devices (test was conducted with the 
most recent copy of WURFL 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347901
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Anyone using : MobileRedirect?

2011-10-04 Thread Don

Anyone using : MobileRedirect?

http://mobilewebdeveloper.com/index.cfm/page/purchase/item/MobileRedirect

It SEEMS pretty good. They say...

identifies more than 96% of all mobile devices (test was conducted with the 
most recent copy of WURFL 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347903
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: detecting mobile devices Anyone using : MobileRedirect?

2011-10-04 Thread Don

check this out... a wurfl web service

http://www.wurflws.com/index.jsp


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347904
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


File Upload uploading open file

2011-03-07 Thread Don

Hi Folks =)

Trying to upload a file ( word doc ) that is concurrently OPEN in the OS.

Upon upload attempt via cffile coldfusion is seemingly returning a mime type 
error:

The MIME type of the uploaded file application/octet-stream was not accepted 
by the server.

is there a way to prevent (open) files from being uploaded?

how would I ignore/bypass this error so as to actually upload the original 
file? 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342800
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


file upload - preventing double or more full stops in file name

2011-03-07 Thread Don

Hi,

I would like to retrieve the original path of the file upload for the purposes 
of grabbing the initial file name and then checking to see how many full stops 
(.) are in the original file.

I need this to happen before I process it via CFFILE. Right now the form data 
posts back in a cfdump var=#form.b_original_form_filefield# as:

C:\JRun4\servers\cfusion25\SERVER-INF\temp\cfusion.war-tmp\neotmp4910092545170934955.tmp

which is sort of useless for my needs.

Is there a workaround? 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342810
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: file upload - preventing double or more full stops in file name

2011-03-07 Thread Don

  Why do you need to do this before you process it with CFFILE?

Because once its uploaded the server hacks off the last (.)

For example:

original file: somefile.mack.txt

renamed file on server: somefile.mack


  I would like to retrieve the original path of the file upload for 
 the purposes of grabbing the initial file name and then checking to 
 see how many full
  stops (.) are in the original file.
 
  I need this to happen before I process it via CFFILE. Right now 
 the form data posts back in a cfdump var=#form.
 b_original_form_filefield#
  as:
 
  C:\JRun4\servers\cfusion25\SERVER-INF\temp\cfusion.
 war-tmp\neotmp4910092545170934955.tmp
 
  which is sort of useless for my needs.
 
  Is there a workaround?
 
 Why do you need to do this before you process it with CFFILE? All 
 that
 happens when you use CFFILE ACTION=UPLOAD is that CF writes the 
 file
 to a specified location on the filesystem. The file has already been
 received by the web server, and stored in a temporary file location.
 So, write the file to the filesystem in one place, then move it
 somewhere else with a subsequent CFFILE if you really want to.
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 http://training.figleaf.com/
 
 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342812
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: file upload - preventing double or more full stops in file name

2011-03-07 Thread Don

Thanks guys.

IAN this caught my attention:

The client reads the file from the user's file system and encrypts it 
into the header of the request

I've been using fiddler to view the headers and see the data I want : 

200
Content-Disposition: form-data; name=b_file; filename=C:\Documents and 
Settings\dsdfsd\Desktop\clean up\test.docupload.doc

However I don't know how to access this via coldfusion. I've tried 
gethttprequestData but unfortunatley I think by that point my window of 
opportunity had past. somehow need to get at the request at an earlier stage.





 On 3/7/2011 11:40 AM, Don wrote:
  Why do you need to do this before you process it with CFFILE?
  Because once its uploaded the server hacks off the last (.)
 
  For example:
 
  original file: somefile.mack.txt
 
  renamed file on server: somefile.mack
 
 Well, as Dave indicated, ColdFusion is not actually involved in the 
 file 
 upload.  No matter that the parameter of the cffile... tag is called.  
 
 The flow is:
 
 User picks file with client (i.e. browser) file form control.
 
 The user submits the request.
 
 The client reads the file from the user's file system and encrypts it 
 
 into the header of the request.
 
 It then sends the request to the web server (i.e. IIS, Apache, etc).
 
 The web server decrypts the file from the header to a temporary 
 location. 
 (C:\JRun4\servers\cfusion25\SERVER-INF\temp\cfusion.
 war-tmp\neotmp4910092545170934955.tmp) 
 for example.
 
 The web server then tells ColdFusion about the uploaded file and where 
 
 it was.
 
 If you want to do anything with the file data before the last step, 
 you 
 will either have to have code running on the Client system OR you 
 might 
 be able to get some of the data from the raw request headers.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342819
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: file upload - preventing double or more full stops in file name

2011-03-07 Thread Don

William, Ah I get you. 

since the extension will be cut off and placed within another variable all I 
would have to do post file upload is search the server.filename for a(.). Easy.

Cheers.


 Please have a look at this post: http://www.williamoncoldfusion.
 com/index.php/knowledgebase/file-uploading
 
 If you are referring to the cffile.serverfilename key that is 
 available after the cffile upload command, that brings back somefile.
 mack, the extension is in a different key off of cffile of 
 serverfileext.  checkout this page as well: http://livedocs.adobe.
 com/coldfusion/8/htmldocs/help.html?content=Tags_f_10.html
 
 
 --
 William E. Seiter
 
 
 On Mar 7, 2011, Don danfar...@hotmail.com wrote: 
 
 
   Why do you need to do this before you process it with CFFILE?
 
 Because once its uploaded the server hacks off the last (.)
 
 For example:
 
 original file: somefile.mack.txt
 
 renamed file on server: somefile.mack
 
 
   I would like to retrieve the original path of the file upload for 
 
  the purposes of grabbing the initial file name and then checking to 
 
  see how many full
   stops (.) are in the original file.
  
   I need this to happen before I process it via CFFILE. Right now 
 
  the form data posts back in a cfdump var=#form.
  b_original_form_filefield#
   as:
  
   C:\JRun4\servers\cfusion25\SERVER-INF\temp\cfusion.
  war-tmp\neotmp4910092545170934955.tmp
  
   which is sort of useless for my needs.
  
   Is there a workaround?
  
  Why do you need to do this before you process it with CFFILE? All 
  that
  happens when you use CFFILE ACTION=UPLOAD is that CF writes the 
  file
  to a specified location on the filesystem. The file has already 
 been
  received by the web server, and stored in a temporary file location.
 
  So, write the file to the filesystem in one place, then move it
  somewhere else with a subsequent CFFILE if you really want to.
  
  Dave Watts, CTO, Fig Leaf Software
  http://www.figleaf.com/
  http://training.figleaf.com/
  
  Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
  GSA Schedule, and provides the highest caliber vendor-authorized
  instruction at our training centers, online, or onsite.
 
 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342820
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Fusebox seemingly clearing contents of session variables on relocation

2011-02-14 Thread Don

Hi guys, just came in this morning. thanks for the responses will try out the 
suggested code and get back to you.

I'm on CF9/Fusebox 5.5 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342189
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Fusebox seemingly clearing contents of session variables on relocation

2011-02-14 Thread Don

Thanks Matt your suggestion worked.


cfset session.myvariable = duplicate(form) /
cflocation url=foo.cfm /


Odd this is the first time I've encountered this specific behaviour in 
Coldfusion. Thanks a byunch was spinning my wheels on this. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342190
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Fusebox seemingly clearing contents of session variables on relocation

2011-02-12 Thread Don

I have some code where I am transferring the contents of a form submission into 
a session variable.

According to some cfdumps, the form variables do get set in session.

but after the cflocation redirect, the session variables are there but empty.

Any ideas?



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342166
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


checking CFAdmin mappings from CF log files

2011-01-26 Thread Don

Hi all.

I have a requirement to check any and all mappings within the CFAdmin but do 
not have access to the CF Admin. 

Would anyone know how to retrieve them from the log files ( as I do have access 
to these ) or maybe another method? 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341396
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Can CF catch this specific error?

2011-01-05 Thread Don

I want to try and catch this and only this specific error with CF. Possible? 
and if so how exactly would I do that?

coldfusion.tagext.io.FileUtils$InvalidUploadTypeException: The MIME type of the 
uploaded file image/pjpeg was not accepted by the server.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340481
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


An instance of CF 7, CF 8, CF 9 on single pc

2010-09-14 Thread Don

What would be the best way to do this? 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337002
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


XML/Schema Errors ( validating XML with Schema ) and XMLValidate.

2010-02-22 Thread Don

Hello

I'm Validating an XML object using code similar to the following:

cfset daOb = xmlParse(ca2.xml)
cfset myResults=XMLValidate(daOb, ca2_generated.xsd)

Regarding the XSD and errors generated, I notice that if I violate a 
restriction as per below ( say I specify 'THATShipper' vs. 'ThisShipper' I will 
get a generalised message ( such as : [Error] :2:23: cvc-elt.1: Cannot find 
the declaration of element 'ArrayOfPurchaseOrder' ) ( ArrayOfPurchase order is 
the parent XML element ). rather than anything useful pertaining to the 
specific item that was violated ( ie - line number, element number or anything 
else for that matter. It seem to simply refer to the parent XML element ( 
ArrayOfPurchaseOrder ).

xs:element name=ShipMethod
xs:simpleType
xs:restriction base=xs:string
xs:enumeration value=ThisShipper/
/xs:restriction
/xs:simpleType
/xs:element


Is there anything I could do at the Schema/XSD level to assure that I can get 
meaningful feedback as to what was violated? 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331031
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


more debugging info needed

2010-02-19 Thread Don

I am utilising XML parse ( when CF encounters a bum XML file it throws CF error 
). But I've found the information returned is very limited. For example - 'The 
entity name must immediately follow the '' in the entity reference.' - 
Obviously it would be nice to have more specific information such as line 
number that caused the error.

exploring the Factory debugging service, I am trying to retrieve more 
information ( than standard Coldfusion Debugger ) whilst parsing an XML using 
XMLParse. 

Any idea which direction I should be going in? 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330939
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


more debugging info needed

2010-02-19 Thread Don

I am utilising XML parse ( when CF encounters a bum XML file it throws CF error 
). But I've found the information returned is very limited. For example - 'The 
entity name must immediately follow the '' in the entity reference.' - 
Obviously it would be nice to have more specific information such as line 
number that caused the error.

exploring the Factory debugging service, I am trying to retrieve more 
information ( than standard Coldfusion Debugger ) whilst parsing an XML using 
XMLParse. 

Any idea which direction I should be going in? 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330940
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RegExp Question

2009-11-02 Thread Don L

I'm trying to break a large chunk of text, so, a user can click on MORE to to 
read the rest of it.
Using  the following technique has some success, however, it does not seem to 
be good enough.

-- cut off point, 500 characters
cfset brkR = MID(myTxt,500,5)
cfset brk = Find( , brkR)

cfoutput
#Left(myTxt,500+brk)#
then, upon clicking the MORE link, it display the rest as follows:
-- the main body of the txt
#Mid(myTxt,501+brk,Len(myTxt))#

/cfoutput

Attempt to use
cfset brk = REFind([\s], brkR)
does not help or I didn't do it right.

It sort of works, but an issue is, it now shows , nbsp; etc. special 
characters in the breaking area.  Question, what is a better way to do this?  
If we stick with this method, how to use RegExp to remove the special 
characters in the output.

Thanks. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327912
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: RegExp Question

2009-11-02 Thread Don L

There are a number of UDFs on cflib that will handle this...

http://cflib.org/udf/FormatTeaser
http://cflib.org/udf/FullLeft

... and probably a few others.  Browse the string library at
http://cflib.org/library/StrLib

On Mon, Nov 2, 2009 at 11:42 AM, D



Great.  Thanks Charlie.  One thing, I don't get it about RegExp in this case 
per the second link, why two brackets as [[:space:]] instead of one as 
[:space:] ? 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327918
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: (ot) Detect OS and CPU Architecture

2009-09-26 Thread Don L

Barney, thank you for your input.

I ran CGI.HTTP_USER_AGENT (cf) for it.
Here's what I got.

With Firefox 3.5 I get:
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.3) Gecko/20090824 
Firefox/3.5.3 (.NET CLR 3.5.30729) 

With IE7 I get:
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; 
Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30618) 

hmm, I can't seem to see anything that could be translated into cpu arch.  What 
else could we try?




Well, windows only runs on Intel, and it states 32/64 bit in the user  
agent.  Linux usually has an architecture in the user agent.  OSX is a  
wildcard, but universal binaries make it no big deal if it's PPC or  
Intel.

But to answer your question, JS is unable to determine it, and more to  
the point, unable to do anything architecture-specific anyway.

cheers,
barneyb

--
Barney Boisvert
bboisv...@gmail.com
http://www.barneyb.com/

On Sep 25, 2009, at 6:37 PM, D

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326662
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: (ot) Detect OS and CPU Architecture

2009-09-26 Thread Don L

You are a disgusting and despicable being and your rigidness is beyond words.

The question was to detect a user's OS and its CPU architecture not the 
server's.  Do you know how my app is run???  Got it now?  f off!  Told you a 
100 times! f off! I'll hunt you down one day, you fker!

 Common sense would dictate that you just maybe want to get this info 
 from a system that actually runs in the os and not a client-side 
 solution.
 
 Ok so what runs on pretty much every OS and integrates with 
 coldfusion?
 
 Well hopefully even you can figure it out but here is the variables 
 you'd used:
 
 os.nameThe name of OS name
 os.archThe OS architecture
 os.version The version of OS


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:32
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


(ot) Detect OS and CPU Architecture

2009-09-25 Thread Don L

Hi,

Preferably do it with javascript.
Did a bit of digging myself, neither navigator.userAgent nor 
navigator.appVersion command would suffice for the CPU part.  Hmm, is 
javascript simply unable to or I simply don't know better?

As always many thanks. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326654
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Search emails dynamically from a cf8 app

2009-09-13 Thread Don L

I'm thinking about providing an ability to search all emails for a user (from 
his/her pop3 server) while performing a search for some texts from the current 
app/ current database.

Yes, understand the cfpop tag would allow one to connect to a pop3 server and 
retrieve emails dynamically.  But say, an average user's inbox would have ~800 
emails.  I'm not sure how efficient this approach of pulling out ~800 or more 
emails and then run a query against it.  Am thinking loud here, how about Event 
Gateway (have never used it though)?  Wouldn't it be a more direct hence more 
efficient approach?
app - connector -- event gateway setup and process (search against the 
entire inbox for the user for a keyword/phrase) -- pass results back to app ?
is it something like that?

Thanks for your time. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326255
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Search emails dynamically from a cf8 app

2009-09-13 Thread Don L

  Yes, understand the cfpop tag would allow one to connect to a pop3 
...
  is it something like that?
 
 No, an event gateway wouldn't be any more direct. It would, in fact,
 be less direct - instead of CF talking to the mail server, something
 else would have to talk to the mail server.
 
 I don't think that searching POP mailboxes from CF is an especially
 good idea. If possible, I would fetch mail from the mailboxes
 periodically, and index that using Verity (or Solr or whatever). Or
 better yet, ditch the POP mailboxes entirely and switch to Google
 Apps, which is in my opinion better in almost all respects to hosting
 your own mailserver or using an ISPs server or whatever. Of course,
 being a Google Apps reseller/implementer/trainer I may be slightly
 biased. Google mail is easily searched, as you can imagine, and I
 think it would be pretty easy to get CF to provide an interface for
 that search if you want it.
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 

Thank you for your thoughts, Dave.  I wouldn't have control of user's mail 
service, be it pop3 server for client (Outlook) or else.


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326260
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: url-write and global error handling

2009-09-05 Thread Don L

Gerald Guido, it's totally inappropriate of you to make such speculation.  
Please stop messing around, I don't believe in your intention at this point.

 If you're using railo, why not ask on the railo list?

Given the three strike rule on the Railo mailing list, I would imagine that
he was banninated.

G!


-- 
Gerald Guido
http://www.myinternetisbroken.com

To invent, you need a good imagination and a pile of junk.
-- Thomas A. Edison 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326038
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: url-write and global error handling

2009-09-05 Thread Don L

I've REPEATEDLY asked this scumbag, to f off! Were the being born of a human 
mother it would know what to do.  List manager and everyone else, my apologies 
for the fact that this note has to be public.  The scumbag's intention is 
obviously evil, that is, to try to make me look bad by twisting facts and what 
not.

 He did ask this on the railo list, and then got his ass handed to him 
 again
 
 Einstein's ? isn't about url rewriting at all which I told him before 
 but since we all know how well he listens, I guess when you get 
 stomped on so many times this happens.
 
 His ? is how to change/hide the railo admin url location so the public 
 can't get to it. The only part of this that's url re-wrting is that's 
 what people suggest to do to hide the admin. 
 
 If I was him I would probably want to hide the admin as well since his 
 password is probably either duck duck or goose.
 
 1) disable url-write across board for Resin web server
 Why on frickin gods green earth would this be a good idea?
 Again what you are asking for REQUIRES URL RE-WRITING you twit
 
 2) global error handling
 Well it works for the rest of us, maybe you just don't know wtf you 
 are doing.


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326039
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: url-write and global error handling

2009-09-05 Thread Don L

btw, his speculation is false.

 Gerald Guido, it's totally inappropriate of you to make such 
 speculation.  Please stop messing around, I don't believe in your 
 intention at this point.
 
  If you're using railo, why not ask on the railo list?
 
 Given the three strike rule on the Railo mailing list, I would 
 imagine that
 he was banninated.
 


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326040
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


url-write and global error handling

2009-09-04 Thread Don L

A couple of things that I'd like to do with local deployment of my web app 
using an open source cfml engine.  FYI, I ran some quick search, unsatisfactory.

1) disable url-write across board for Resin web server
Know exactly how, not looking for something/block on a similar web server

The following code seems to touch on security, a quesion is when then how 
exactly to use this guy to disable admin access other than 127.0.0.1 across 
board?
And a related question, why this option?  vs at web root level, set something 
like if !(#CGI.script# contain 127.0.0.1) cfabort ?  for an application file 
(cfc or cfm)
// pls ignore my spelling and exact syntax 

resin:Allow url-pattern=/admin/*
  xmlns:resin=urn:java:com.caucho.resin
   resin:IfCron
 enable-at* 8 * * *
 disable-at* 16 * * *
   /resin:IfCron
 /resin:Allow


2) global error handling
in the Adobe coldfusion world, a global error handling template,
called at application level would capture any/all errors if they occur.  adobe 
cf handles three types (request, exception and ? forgot one)
However, it has not been my experience with open source cfml engine, that is, 
identical error handling mechanism(only one type, exception if memory serves), 
the app would randomly or sometimes complained
about bla bla file not found despite correct configuration of everything I 
think, directory mapping, customtags mapping etc. this sort of problem is real 
bad for new users, I'm sorry if I'm wrong, loose code, yes, but I would think 
only spotty not across board, and an app shouldn't pay such penality.

Thanks for your time. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326002
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: url-write and global error handling

2009-09-04 Thread Don L

Typo correction: url-write should have been url-rewrite

 A couple of things that I'd like to do with local deployment of my web 
 app using an open source cfml engine.  FYI, I ran some quick search, 
 unsatisfactory.
 
 1) disable url-write across board for Resin web server
 Know exactly how, not looking for something/block on a similar web 
 server
 
 The following code seems to touch on security, a quesion is when then 
 how exactly to use this guy to disable admin access other than 127.0.0.
 1 across board?
 And a related question, why this option?  vs at web root level, set 
 something like if !(#CGI.script# contain 127.0.0.1) cfabort ?  for 
 an application file (cfc or cfm)
 // pls ignore my spelling and exact syntax 
 
 resin:Allow url-pattern=/admin/*
  
 xmlns:resin=urn:java:com.caucho.resin
   
 resin:IfCron
 
 enable-at* 8 * * *
 
 disable-at* 16 * * *
   
 /resin:IfCron
 
 /resin:Allow
 
 
 2) global error handling
 in the Adobe coldfusion world, a global error handling template,
 called at application level would capture any/all errors if they occur.  
 adobe cf handles three types (request, exception and ? forgot one)
 However, it has not been my experience with open source cfml engine, 
 that is, identical error handling mechanism(only one type, exception 
 if memory serves), the app would randomly or sometimes complained
 about bla bla file not found despite correct configuration of 
 everything I think, directory mapping, customtags mapping etc. this 
 sort of problem is real bad for new users, I'm sorry if I'm wrong, 
 loose code, yes, but I would think only spotty not across board, and 
 an app shouldn't pay such penality.
 
 Thanks for your time. 


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326004
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Cookie and Browser

2009-09-03 Thread Don L

I'm wondering for coldfusion8 if a cf cookie set for IE7 would be available for 
Firefox 3.5 or vice verse.  It appears cf cookie set is not browser specific, 
however, when I extended a cf cookie for firefox 3.5, IE7 did not recognize it. 
 Am I missing something here? 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325973
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Cookie and Browser

2009-09-03 Thread Don L

 You cannot read a cookie set in FireFox with Internet Explorer and
 vice versa.  Cookies are browser specific.
 
 On Thu, Sep 3, 2009 at 9:07 AM, Don Ldo...@yahoo.com wrote:
 
...
 

ok, thank you. 


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325986
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Cookie and Browser

2009-09-03 Thread Don L

Just to make your head spin-- there is one annoying little caveat to
this.  Cookies sent to a Flash request in IE will be sent by Flash in FF
because the Flash VM shares the same memory space for cookies between
browsers.  This doesn't bode very well if you need to have a Flash
object make a request to a page secured by a login using cookies for
authentication in any browser other than IE.

http://swfupload.org/forum/generaldiscussion/383

~Brad

Thank you for your input, Brad, 'fortunately' I'm not using Flash for 
login/security stuff... 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325994
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


(ot) automatical re-diretion from youtube

2009-09-01 Thread Don L

hi all,

I'm wondering if there's a way to automatically launch/redirect to a url at the 
end of a youtube video (flash content) play, yeah, crazy.

Thanks. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325894
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: (ot) automatical re-diretion from youtube

2009-09-01 Thread Don L

There's a full js API to the YouTube player. Ideally, you'd hook into that,
listen for a FinishedPlaying event and then do as you wish.

http://tinyurl.com/noptmw :p

Dominic

Thanks but it seems a mess to have this little thing available, I mean, doing 
all the implementation for it.  more thoughts? 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325898
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: (ot) automatical re-diretion from youtube

2009-09-01 Thread Don L

It's a kludge, but if you know how long the video is, then remove the
controls and have it start as the page opens. Use a meta redirect to
redirect the page after so many seconds.

sorry not an option, the control has to be there, for one thing, for the 
existing users... 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325899
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: (ot) automatical re-diretion from youtube

2009-09-01 Thread Don L

  I'm wondering if there's a way to automatically launch/redirect to a 
 ...
 I would certainly hope not.
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/

hey dave 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325900
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: (ot) automatical re-diretion from youtube

2009-09-01 Thread Don L

Using the API would clearly be the *clean* option - but the problem is of
course one of time. However, I can't see another way of doing this; i.e.
detecting the end of a youtube video playing. I'd suggest you'd spend more
time figuring out a hack than you would picking up the API.

Dominic

Yes, Dominic, you're exactly right, I don't want to nor can afford much time 
for it.  yes time. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325908
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: (ot) automatical re-diretion from youtube

2009-09-01 Thread Don L

 I certainly wouldn't worry about redirecting them at the end of the 
 video.. I have seen the said video and you are better off figuring out 
 how to capture a browser close during the first 10 seconds if you plan 
 on getting any of those people. 

Yes, you're right, the quality of the video has to be up and up then we can 
talk about the next thing/url, hopefully a bunch of intelligent people would 
help me to figure that out... 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325909
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: (ot) automatical re-diretion from youtube

2009-09-01 Thread Don L

 +1 @Dominic
 
 I gotta believe that working with a published and documented API is, 
 by definition, the LEAST messy option out there.  If YouTube gives you 
 exactly what you need to get to where you want to be with a few lines 
 of JS, I would recommend doing that! 

The word,mess is loose on my end, key is to get thing done without having to 
spend too much time unless I want to that API programmer type but no.


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325910
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: (ot) automatical re-diretion from youtube

2009-09-01 Thread Don L

Using the API would clearly be the *clean* option - but the problem is of
course one of time. However, I can't see another way of doing this; i.e.
detecting the end of a youtube video playing. I'd suggest you'd spend more
time figuring out a hack than you would picking up the API.

Dominic

2009/9/1 Don L do...@yahoo.com



Dominic, have you implemented the API for this purpose?  If so I'd like to 
steal a few lines to save some time?  Thanks. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325913
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: ajax cfc not working for Access DB -- odd stuff

2009-08-20 Thread Don L

If the cfc is being hit, and with the right data, you can absolutely rule
out the cfajaxproxy tag. Can we clarify that the data being returned from
the method is the problem? Try posting a form directly to the cfc method,
e.g.

form method=post action=pathtocfc.cfc?method=fubar!--- I think that's
right, have never done it ---
!--- your fields, etc ---
/form

From there, debugging should be more straight forward.

Dominic

Forgot, I could simply use 
pathtocfc.cfc?method=fubarparam1=727param2='blablaText'
from URL to test it and did, it only returned these structures but action 
outcome.  But I've spent over 1.4 hours on it, there's another option, opted 
out... thanks though.


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325575
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


ajax cfc not working for Access DB -- odd stuff

2009-08-19 Thread Don L

I've moved on to an open source cfml engine, don't know what caused the 
following odd behavior, that is, my cfajaxproxy tag no longer works for an 
inline data editing function (meaning, it does not do database update for a set 
of data) while the same code works for ms sql server 2005 express (db syntax 
are exactly same for such a simple query) and since I'm using sync mode I 
can't use the setCallbackHandler method to do debugging.  Thought, could use 
more heads here... 

caller line
cfajaxproxy cfc=myCFC4inlineEdit jsclassname=UpdateObj2 /

cfc code and js code below,

cfcomponent output=false
cfset THIS.dsn=myDS

cffunction name=doUpdate access=remote

cfloop item=i collection=#arguments#
   cfif Left(i,6) IS someID
   cfset someid = arguments.#i#
 /cfif
 cfif Left(i,4) IS uaid
   cfset uaid = arguments.#i#
 /cfif
 cfif Left(i,5) IS whats
   cfset whats = arguments.#i#
 /cfif  
/cfloop

cfif not isdefined(arguments.userID)
   cfset arguments.someID = 'dummyID728932'
/cfif

cfset fmtwhats = REreplace(Evaluate(whats),','',ALL)
cfset fmwhats = REreplace(fmtwhats,'','',ALL)

cfparam name=result default=success
cftry
cfquery datasource=#THIS.dsn#
  update blablaTBL
set whats = '#fmwhats#'
where uaid = cfqueryPARAM value = #Evaluate(uaid)#
 
cfsqltype=CF_SQL_INTEGER
and sid = cfqueryPARAM value = 
#Evaluate(someid)#
 
cfsqltype=CF_SQL_VARCHAR 
 maxlength=128;  
/cfquery
cfcatch type=databasecfset result=failed
/cfcatch
/cftry

!---cfreturn #fmWhats#---
cfreturn #result#

/cffunction
/cfcomponent


// much credit goes to Sam Farmer for getting me started on this (JSON) approach
function callUpdateJS2(frm,row) {
rowUpdate(frm,row);
}

function handleResult(r) {
 console.log(r);
}

function rowUpdate(frm,row){
// var d = new DraftObj();
var d = new UpdateObj2();
d.setSyncMode(true);
d.setForm(frm);
d.setHTTPMethod('POST'); 
  // d.doUpdate();

// expect  d.doUpdate() to return failed or success string
// BUT it doesn't!
 
// update {notes} field; 05/28/2008
document.getElementById(row).innerHTML = d.doUpdate();
}


Forgive me about the formatting and typo if any.

Thanks. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325549
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: ajax cfc not working for Access DB -- odd stuff

2009-08-19 Thread Don L

 I've moved on to an open source cfml engine
Don't ever do that.

But seriously. First step of debugging ajax: install Firebug for Firefox if
you haven't already. Next, enable all the firebug console options for your
page and while viewing the console tab you should see your http post request
made by your proxy js object (when you fire that event). You will then be
able to examine the the data sent to your cfc and also the response.

If there is no http request sent then the problem may well be with the
cfajaxproxy code - if a request *is* sent, then we can safely move on from
the client side code.

With any luck, examining the http response will tell you exactly what's
going wrong and will be a cf / railo error page.

HTH

Dominic

Sorry, Dominic, I wasn't clear about the browser, the inline editing feature is 
IE specific, that is, Firefox has a hell time with it, hence, it's IE only, 
yes, I like Firefox's firebug and find it very helpful but not for this case.  
I have firebug lite set up for the IE7, but it didn't show http call etc. from 
cfajaxproxy as in FF/FB... more thoughts? thanks. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325552
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: ajax cfc not working for Access DB -- odd stuff

2009-08-19 Thread Don L

 I've moved on to an open source cfml engine
Don't ever do that.

But seriously. First step of debugging ajax: install Firebug for Firefox if
you haven't already. Next, enable all the firebug console options for your
page and while viewing the console tab you should see your http post request
made by your proxy js object (when you fire that event). You will then be
able to examine the the data sent to your cfc and also the response.

If there is no http request sent then the problem may well be with the
cfajaxproxy code - if a request *is* sent, then we can safely move on from
the client side code.

With any luck, examining the http response will tell you exactly what's
going wrong and will be a cf / railo error page.

HTH

Dominic

Very ODD.

The line of cfreturn #result# in the cfc should have been 
cfreturn true since we don't need data back from the cfc.

and was previously cfreturn true.  I've enabled the feature in FF.

case A, cfreturn true
ajax http post succeeds, RESPONSE: the {data} instead of TRUE ?

case B, in the cfc, cfset result=fielda, #fa#; fieldb, #fb#; memofield,#mf#
cfreturn #result#
(just for the heck of it),
ajax http post succeeds, RESPONSE: just the #mf# instead of fielda, #fa#; 
fieldb, #fb#; memofield,#mf# ?


FYI, the computer is totally offline and wireless device driver was turned off 
as well.



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325556
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: (ot) How to call a .cfm page from a MS SQL Server trigger or stored procedure

2009-08-15 Thread Don L

Sound like what needs to be done can't be done or very inconvenient to be done 
at db end hence you need to run some cfm page from db end.

Not sure if it's efficient, doable though.  call sp_shellcmd, (look it up for 
sp for shell command), have some utility like wget, then, wget http://yourURL; 
something.

 I've done a ton of Googling, (is that a word??) and so far I can't 
 find 
 the answer, so I figured I'd ask here.
 
 I've got a trigger that runs when certain tables are updated, which 
 updates some other tables, but I'd like it to call a .cfm page (either 
 
 on the database box or a different box) that does some other tasks.
 Is this possible?
 
 Specifics:
 DB Server: MS SQL Server 2005
 OS: Windows 2003
 
 Thanks!
 
 Michael Reick
 
 
 __ Information from ESET NOD32 Antivirus, version of virus 
 signature database 4336 (20090814) __
 
 The message was checked by ESET NOD32 Antivirus.
 
 http://www.eset.com
 


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325474
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


  1   2   3   4   5   6   7   8   9   10   >