Ask a Question related to ASP.NET Web Services, Design and Development.
-
RT #1
CookieContainer not working reliably ASP.NET webclient
Calling a .NET webservice (win2k3) from an ASP.NET webservice client
(xp). There is a farm of win2k3 servers hosting the webservice behind a
load balancer.
One part of our webservice is stateful by design and the session state
is achieved by the load balancer by inserting a cookie into the
response headers.
On the client, we are appropriately using the CookieContainer and
assigning the CookieContainer object to the proxy object as it is
supposed to be (there is a single instance of the proxy object and the
cookiecontainer object).
private OurWebService m_ws = new OurWebService();
private CookieContainer m_cookies;
later in the code while invoking a method on the webservice
if ( m_cookies == null )
m_cookies = new CookieContainer();
if ( m_ws.CookieContainer == null )
m_ws.CookieContainer = m_cookies;
m_ws.CallMethod();
We notice that sometimes the cookies are getting sent down as part of
the request header in the above call - and at other times they are
not!! When they dont get sent down, the cookiecontainer does not
contain the cookie at all. This is very random behavior and has us
completely mystified.
Any clues as to why?
Thanks
RT Guest
-
CFMX 7 will not start reliably on JRun 4 - no errormessage
I've been having a problem for a while with JRun 4 and MX. I thought upgraded to MX 7 would solve it but no luck. Basically MX is configured to... -
FH doesn't reliably snap to grid or guides
Since I've used FH I've had problems with objects not snapping to grid or guides reliably. Sometimes it does. Sometimes it doesn't. This has gone on... -
Can I reliably get a Flash movie's image off-screen?
Subject says it all - embedded fonts are unreliable, but why can't I use Flash to render stuff (with font outlines embedded in the Flash movie)... -
CookieContainer with WebClient
Any help appreciated ... I am trying to connect to a site that requires authentication through cookies, and be able to navigate through several... -
Which DVD player reliably plays JPEGs
The other option you can look at are software that turns your movies and photos (jpg, gif, etc) into a VCD. Then that VCD can be played on any...



Reply With Quote

