Thank you Brian for your response,
That worked for me....
Bill Peddy
Web Developer
ECS Team - ITS-EPA II -
Contractor
voice: (919) 541-1329
fax: (919) 541-3700
|------------>
| From: |
|------------>
>---------------------------------------------------------------------------------------------------------------------------------------|
|Brian Klaas <[email protected]>
|
>---------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To: |
|------------>
>---------------------------------------------------------------------------------------------------------------------------------------|
|Mach-II for CFML <[email protected]>
|
>---------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date: |
|------------>
>---------------------------------------------------------------------------------------------------------------------------------------|
|12/07/2010 09:15 AM
|
>---------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject: |
|------------>
>---------------------------------------------------------------------------------------------------------------------------------------|
|[Mach-II] Re: How do you add a requestTimeout parameter to an event?
|
>---------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Sent by: |
|------------>
>---------------------------------------------------------------------------------------------------------------------------------------|
|[email protected]
|
>---------------------------------------------------------------------------------------------------------------------------------------|
You'll need to do this in a listener (or filter, or plugin, if
appropriate).
<cfsetting requestTimeout="2500" />
This will make that request have a timeout longer than the standard
value set up for the application.
AFAIK, there's nothing in the framework that dynamically adjusts the
request timeout based on a URL or FORM variable.
brian
On Dec 7, 9:04 am, [email protected] wrote:
> I have a long running event and I want to add the requestTimeout
> parameter.
> How do I do it?
>
> This is my form:
>
> <form name="search" action="#cgi.script_name#" method="post"
> onSubmit="return validate(this);">
> <input type="Hidden" name="event" value="#event.getArg
('submitEvent')#">
> </form>
>
> I would like the url to end up as something like this:
> index.cfm?event=reportEvent&RequestTimeout=2500
>
> If I add &RequestTimeout=2500 to submitEvent value I get event
(with
> &RequestTimeout=2500 at the end) doesn't exist.
>
> Any Ideas?
> I am running 1.8 release.
>
> Thanks,
>
> Bill Peddy
> Web Developer
> ECS Team - ITS-EPA II -
> Contractor
> voice: (919) 541-1329
> fax: (919) 541-3700
--
You received this message because you are subscribed to Mach-II for CFML
list.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
SVN: http://svn.mach-ii.com/machii/
Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/
--
You received this message because you are subscribed to Mach-II for CFML list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
SVN: http://svn.mach-ii.com/machii/
Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/