ah .... and there is no way to simulate that?

i want "close" the connection with the server if the request take a
long time, and do something default like a message or other stuff ...
what can i do?

On 27 Gen, 12:30, Mike Alsup <mal...@gmail.com> wrote:
> > With the jsonp option i'm able to do cross domain request but i can't
> > control the timeout and i'm wondering about why?
>
> > On 27 Gen, 12:22, Stefano Corallo <stefan...@gmail.com> wrote:
>
> > > yes ok but i've set the jsonp option to avoid this problem like
> > > explained in
>
> > >http://bob.pythonmac.org/archives/2005/12/05/remote-json-jsonp/
>
> > > that i've foundhttp://docs.jquery.com/Ajax/jQuery.ajax#options
>
> This is because ajax is not being used.  There are no readystatechange
> callbacks and there is no way to cancel an outstanding jsonp request.
> In other words, there is no way to reliably implement "timeout".

Reply via email to