V
V
Vasily2011-07-31 18:29:07
Microsoft Silverlight
Vasily, 2011-07-31 18:29:07

In Internet Explorer, Silverlight sends a GET request only once

Good afternoon. I ran into the following problem: using the WebClient in the Silverlight application, I get the URL at the click of a button, and so in Chrome, Firefox works as many times as I like, and in Internet Explorer, only one, and after clicking a new request is not sent. I don't get any errors.

The request itself is sent to another domain, could this be related to this or is there something wrong with IE?

The code itself is simple to disgrace:

WebClient webClient = new WebClient();
webClient.DownloadStringCompleted += new DownloadStringCompletedEventHandler(ReadAnswer);
webClient.DownloadStringAsync(new Uri(apiUrl));


Silver light 4.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Shedar, 2011-08-01
@qdx

Try adding a parameter with a random value to each request. Didn't work with Silverlight, but when sending requests from flash encountered more aggressive request caching in IE than in other browsers.

C
CrazySquirrel, 2011-07-31
@CrazySquirrel

OMG, IE is buggy even with native Silverlight...
Sorry for the offtopic, there's really nothing to advise!

Similar questions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question