URL.RequestTimeout

2000-10-14 Thread Peter Theobald

html
font size=3I have a specific page that I know will take longer than 60
seconds to process. I want to change the Timeout for that page. The only
way I know how is to pass quot;mypage.cfm?RequestTimeout=300quot; (for
example) in the URL.br
I tried setting lt;cfset URL.RequestTimeout=300gt; on the first line of
the page but that doesn't work.br
br
It seems stupid to me that the page that is designed to take a long time
cannot set it's timeout, but every other page in the site that calls it
must set the timeout on the URL...br
br
Is there a better way?br
/fontbr

font size=3br
---br
Peter Theobald, Chief Technology Officerbr
LiquidStreaming
a href="http://www.liquidstreaming.com/" 
eudora="autourl"http://www.liquidstreaming.com/abr
[EMAIL PROTECTED]br
Phone 1.212.545.1232 x204 Fax 1.212.545.0938br
/font/html

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: URL.RequestTimeout

2000-10-14 Thread Jim McAtee

 I have a specific page that I know will take longer than 60 seconds to
process. I want to change the Timeout for that page. The only way I know how
is to pass "mypage.cfm?RequestTimeout=300" (for example) in the URL.
 I tried setting cfset URL.RequestTimeout=300 on the first line of the
page but that doesn't work.

 It seems stupid to me that the page that is designed to take a long time
cannot set it's timeout, but every other page in the site that calls it must
set the timeout on the URL...

 Is there a better way?


If you're worried about having to modify all your calls to the page... You
could create a "wrapper" page having the original page name and do a
redirect to the orginal page, with a new name and the necessary timeout
value in the url.

cflocation url="originalpage.cfm?RequestTimeout=60"


Jim

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.