CF Page Won't Stop Executing

2006-04-19 Thread powell
Am I in the middle of a brain-burp, or is it not in fact the case that CF used 
to stop executing the current page if the user hit their stop button and opened 
a new CF page?  I have pages that continue to execute even after the user hits 
STOP and REFRESH - so now I have a couple of copies of the same killer page 
executing at the same time!  Am I remembering things wrong, or is this how it 
is supposed to be?  If the latter, then what actually stops a page from 
executing before it finishes on its own?

That sound you hear in the background is the the heap memory on my server 
slowly being eaten away.  My 6th sense sees out of memory and ringing phones 
in my future.

thanks
Reed

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238078
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF Page Won't Stop Executing

2006-04-19 Thread Thomas Chiverton
On Wednesday 19 April 2006 14:43, [EMAIL PROTECTED] [EMAIL PROTECTED] 
wrote:
 Am I in the middle of a brain-burp, or is it not in fact the case that CF
 used to stop executing the current page if the user hit their stop button

Don't recall CF6 ever being able to do that.

-- 

Tom Chiverton 
Advanced ColdFusion Programmer

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238081
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF Page Won't Stop Executing

2006-04-19 Thread James Holmes
I'm not sure about that either. As for stopping a long running
request, use the CF Admin option to stop a page running longer than x
seconds.

There's also Fusion Reactor or SeeFusion, which can both selectively
terminate running CF requests.

On 4/19/06, Thomas Chiverton [EMAIL PROTECTED] wrote:
 On Wednesday 19 April 2006 14:43, [EMAIL PROTECTED] [EMAIL PROTECTED]
 wrote:
  Am I in the middle of a brain-burp, or is it not in fact the case that CF
  used to stop executing the current page if the user hit their stop button

 Don't recall CF6 ever being able to do that.


--
CFAJAX docs and other useful articles:
http://jr-holmes.coldfusionjournal.com/

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238084
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF Page Won't Stop Executing

2006-04-19 Thread powell
Thanks, I was afraid that I was working with old recollections.  I've been 
looking at both FusionReactor and SeeFusion, so now it's time to move forward.  
I like FusionReactor better because it handle all of the installation itself.  
SeeFusion is nice because it shows more info on queries, but their installation 
process is crap - virtually nothing is automated.

So I guess the bottom line is that with any of the CFMX versions there is no 
protection from users getting impatient waiting for a page that legitimately 
takes a few seconds to process, and repeatedly hit REFRESH?

Reed

I'm not sure about that either. As for stopping a long running
request, use the CF Admin option to stop a page running longer than x
seconds.

There's also Fusion Reactor or SeeFusion, which can both selectively
terminate running CF requests.

On 4/19/06, Thomas Chiverton [EMAIL PROTECTED] wrote:
 On Wednesday 19 April 2006 14:43, [EMAIL PROTECTED] [EMAIL PROTECTED]
 wrote:
  Am I in the middle of a brain-burp, or is it not in fact the case that CF
  used to stop executing the current page if the user hit their stop button

 Don't recall CF6 ever being able to do that.


--
CFAJAX docs and other useful articles:
http://jr-holmes.coldfusionjournal.com/

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238090
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF Page Won't Stop Executing

2006-04-19 Thread Dan G. Switzer, II
Reed,

Am I in the middle of a brain-burp, or is it not in fact the case that CF
used to stop executing the current page if the user hit their stop button
and opened a new CF page?  I have pages that continue to execute even after
the user hits STOP and REFRESH - so now I have a couple of copies of the
same killer page executing at the same time!  Am I remembering things
wrong, or is this how it is supposed to be?  If the latter, then what
actually stops a page from executing before it finishes on its own?

Clicking Stop in a web browser has never stop the server processing a
request, all it does is tells the browser to stop listening for a response.

In order to actually kill that process, you'd need access to the Java
threads--or use a tool like SeeFusion (http://www.seefusion.com/) which will
allow you to kill a running process.

-Dan


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238091
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF Page Won't Stop Executing

2006-04-19 Thread powell
I realize that the STOP alone doesn't have an effect on the currently executing 
page - but didn't CF (pre-MX I guess) used to stop the current request when it 
saw a new request from the same browser?  I'm pretty sure that I used to be 
able to stop runnaway pages by hitting STOP and then browsing to another CF 
page - but maybe I'm just halucinating.

Reed,

Am I in the middle of a brain-burp, or is it not in fact the case that CF
used to stop executing the current page if the user hit their stop button
and opened a new CF page?  I have pages that continue to execute even after
the user hits STOP and REFRESH - so now I have a couple of copies of the
same killer page executing at the same time!  Am I remembering things
wrong, or is this how it is supposed to be?  If the latter, then what
actually stops a page from executing before it finishes on its own?

Clicking Stop in a web browser has never stop the server processing a
request, all it does is tells the browser to stop listening for a response.

In order to actually kill that process, you'd need access to the Java
threads--or use a tool like SeeFusion (http://www.seefusion.com/) which will
allow you to kill a running process.

-Dan

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238095
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF Page Won't Stop Executing

2006-04-19 Thread Thomas Chiverton
On Wednesday 19 April 2006 15:34, [EMAIL PROTECTED] [EMAIL PROTECTED] 
wrote:
 So I guess the bottom line is that with any of the CFMX versions there is
 no protection from users getting impatient waiting for a page that
 legitimately takes a few seconds to process, and repeatedly hit REFRESH?

Not without rolling your own (set a seesion variable at the top of the page if 
it's not set, unset it at the footer. If the session variable is present at 
the top of the page, tell the user to be more patient).

-- 

Tom Chiverton 
Advanced ColdFusion Programmer

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238097
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF Page Won't Stop Executing

2006-04-19 Thread Thomas Chiverton
On Wednesday 19 April 2006 15:45, [EMAIL PROTECTED] [EMAIL PROTECTED] 
wrote:
 that I used to be able to stop runnaway pages by hitting STOP and then
 browsing to another CF page - but maybe I'm just halucinating.

And how did CF know the difference between that, and a multi-frame'd page ?

-- 

Tom Chiverton 
Advanced ColdFusion Programmer

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238099
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF Page Won't Stop Executing

2006-04-19 Thread Dan G. Switzer, II
I realize that the STOP alone doesn't have an effect on the currently
executing page - but didn't CF (pre-MX I guess) used to stop the current
request when it saw a new request from the same browser?  I'm pretty sure
that I used to be able to stop runnaway pages by hitting STOP and then
browsing to another CF page - but maybe I'm just halucinating.

No. There are a lot better tools for tracking what's happening in processes
w/CFMX than there ever was in earlier versions. 

The one exception to CF killing a thread when a connections is closed might
be if you were using CFFLUSH to dump the output stream to the browser. It's
possible if the browser has killed the connection and the CFFLUSH goes to
process and can't dump out the output stream, that it'll therefore error and
kill the process. I have not tested this though, but I could see CF erroring
if the connection has closed.

-Dan


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238101
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF Page Won't Stop Executing

2006-04-19 Thread Eric J. Hoffman
Hitting the stop button previously only stopped your browser interacting
with the server.  It still runs any process it was told to before.  
 





Eric J. Hoffman
Managing Partner
2081 Industrial Blvd
StillwaterMN55082
mail: [EMAIL PROTECTED]
www: http://www.ejhassociates.com
tel: 651.717.4105
fax: 651.717.4115
mob: 651.245.2717



This message contains confidential information and is intended only for [EMAIL 
PROTECTED] If you are not cf-talk@houseoffusion.com you should not disseminate, 
distribute or copy this e-mail. Please notify [EMAIL PROTECTED] immediately by 
e-mail if you have received this e-mail by mistake and delete this e-mail from 
your system. E-mail transmission cannot be guaranteed to be secure or 
error-free as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses. Eric J. Hoffman therefore does 
not accept liability for any errors or omissions in the contents of this 
message, which arise as a result of e-mail transmission. If verification is 
required please request a hard-copy version.


-Original Message-

From: [EMAIL PROTECTED] [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 19, 2006 8:43 AM
To: CF-Talk
Subject: CF Page Won't Stop Executing

Am I in the middle of a brain-burp, or is it not in fact the case that
CF used to stop executing the current page if the user hit their stop
button and opened a new CF page?  I have pages that continue to execute
even after the user hits STOP and REFRESH - so now I have a couple of
copies of the same killer page executing at the same time!  Am I
remembering things wrong, or is this how it is supposed to be?  If the
latter, then what actually stops a page from executing before it
finishes on its own?

That sound you hear in the background is the the heap memory on my
server slowly being eaten away.  My 6th sense sees out of memory and
ringing phones in my future.

thanks
Reed



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238102
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CF Page Won't Stop Executing

2006-04-19 Thread Denny Valliant
On 4/19/06, Dan G. Switzer, II [EMAIL PROTECTED] wrote:

 The one exception to CF killing a thread when a connections is closed
 might
 be if you were using CFFLUSH to dump the output stream to the browser.
 It's


Seems to be hit and miss. I've got a long running page that uses cfflush,
sometimes it stops running (when browser go away), mostly it doesn't.

Maybe the confusion is in the socketWhatNot error or whatever, that one that
happens when they've hit cancel or whatnot when CF tried to send more? That
sorta lends to the idea that somehow the browser can effect stuff or
whatever.

Ball of conciseness this day, ain't I? Apologies... I must need a break.

Anybody got a kit-kat? *inhaled-laugh* *groan*
:D


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238234
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF Page Won't Stop Executing

2006-04-19 Thread Dan G. Switzer, II
Denny,

Seems to be hit and miss. I've got a long running page that uses cfflush,
sometimes it stops running (when browser go away), mostly it doesn't.

Maybe the confusion is in the socketWhatNot error or whatever, that one

Thanks for the information. That's pretty much what I figured, but that was
the only way I thought that the process might be killed if the connection
with the client socket was closed. 

-Dan


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238236
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54