Silverlight caching HTTP POST which results in a 404
Posted
by Steav
on Stack Overflow
See other posts from Stack Overflow
or by Steav
Published on 2010-05-17T12:23:00Z
Indexed on
2010/05/17
13:00 UTC
Read the original article
Hit count: 214
Situation:
I am developing a Silverlight-Application which needs Component based on a local HTTP Listener.
The HTTP-Listener can't be 'required' to be installed and running when the Application starts, so the Application does the following:
- Handshake via HTTP POST
- If Connection failed open a Click-Once Setup to install the component.
So far so good.... now the Problem is:
If the HTTP POST for the Handshake fails, because the Listener is not running the POST is cached.... and the following Connection Attempts after the Service is running fail, because the HTTP POST is still in Cache after the first try.
NOTE: This is NOT a policy-problem.
I'm using SL4
PS: I allready tried adding a random parameter to the URL like
First try: Second try:
didn't work :-(
© Stack Overflow or respective owner