A http GET request with cookies and referer won't send out?

Two days I've been debuging, but still can't find why I'm in this situation:My program needs to login to a website, and then get web page which only logined members can get.First, I GET a login page for initial cookies (asp sessionId);Then, I send a POST with proper data (to login) and cookies I got in step 1.Last, I send a GET with the cookies I got in previous step to fetch the page which I really need.

The first and second step works pretty fine, but the last step failed. It Never send out a http GET message (oh, to be honest, sometimes, it sends out). I used HttpLook to make sure this.

When creating a distributed system you frequently need to provide for communication between two entities that are not in sync. Microsoft Message Queue Server (MSMQ) provides the kind of store-and-forward messaging in a pre-built infrastructure that can help you address these kinds of messaging needs. In the past, MSMQ was accessed using a COM wrapper. Now there's a .NET wrapper that lets you accomplish your messaging goals easily from your Framework-based code. To illustrate the use of the wrapper, the author builds a messaging application, sends MSMQ messages over the Web, and discusses messaging security.

ASP.NET is a flexible and extensible framework for server-side HTTP programming. While most people think of ASP.NET in terms of pages served, there is a lower-level infrastructure sitting beneath this page model. The underlying plumbing is based on a pipeline of app, module, and handler objects. Understanding how this pipeline works is key if you want to get the most out of ASP.NET as an HTTP server platform, while making your process more efficient, and keeping your server secure. This article introduces the architecture of the pipeline and shows how you can use it to add sophisticated functionality to an ASP.NET-based app.

I'm developing a web-site, that uses SWFUpload for
multiple files upload to the server. Page, that uploades files, is
accessable only to registered user. Authentication is done via
web-forms (authentication mode="Forms" in Web.config). Flash uploades
files to special web page - upload.aspx. In IE everything works great,
but Flash player in non-IE browser (in Firefox, for example) does not
send any cookies to upload.aspx. Because of it no sesion and no
authentication information is available in this page.

I can pass
all the information, necessary for uploading, in GET-parameters, which
upload.aspx recieve. But this is a serious security hole and I don't
want to expose session information. I can pass session identifier in
GET-request. But the question is the following: how can I restore
session information from the session identifier? How can I make
HttpContext.Current.User point to currently logged in user in this case?

I set up a test website on my local box and was able to access sharepoint search using the querySearch web service from SP. After I got it all working properly I transferred the code to the target website that is set up with anonymous access for all
people on the fab floor. However from this website I keep getting the 401 error. It can't be SP because the same code worked from my local website "localhost". Any suggestions? we don't want to have to have the fab people log in so
we can't not have the box anonymous. I would appreciate any suggestions very much!!!

I am running MOSS 3007 Standard on Windows 2003. When trying to upload files larger than about 29Mb, I am getting an HTTP 400 Bad request error. The error states "HTTP Error 400 - Request is badly formed." I am able to successfully upload a 28Mb file. Sharepoint
is configured to accept files up to 75Mb.

I have done a fair amount of research on this, but none of the solutions seem to apply to our environment. The two most likely candidates do not apply, for example we are NOT running URLScan (there are a variety of solutions suggesting this could be an issue
with uploads of 30Mb or more), and we are on 2003 with IIS6, so again the issue relating to 2008 and IIS7 do not apply.

The "Request is badly formed" part of the request is particularly confusing as most issues I have come across where this error is the symptom point to errors in custom code that is trying to talk to SharePoint. We have done none of our own custom coding
and this error is occurring when attempting a simple upload to a document library.

Trying to drag and drop the file across when the document library is open in windows explorer also fails.

I did come across someone saying they had a similar problem which was caused by a damaged content database, however in this case, it is occuring regardless of which content database I use, so either they are all corrupt

I want my request to go out through a specific IP Addresses. Is there a way to do that in WCF. The explanation of why I need this is a little long winded so i'd rather not get into that.
Here is sample code
string ipAddress = "192.168.0.32";
IService service;
ChannelFactory<IOmlService> factory = new ChannelFactory<IService>(new BasicHttpBinding(), new EndpointAddress("http://" + IPAddress + ":6996/IService"));
service = factory.CreateChannel();
service.Test();
Here is an example scenario to explain exactly what i'm looking for. Let's say I have two IPs on my machine (192.168.0.30 and 192.168.0.31). Both of them can hit 192.168.0.32. If i run this code now, it will hit the IP (.32) from any of my IPs (.30 or .31).
How can i force it to go through a specific IP of mine (say .30). Is there any way to do that using WCF?
Thanks

Hi All,
I created a ASP.NET web service, which was hosted on default visual studioserver, and on excecution of webservice it run .exe file which in turn update xml file.
Now i hosted this webservice on IIS 6.0 server, and when i run the service, itfails to execute the exe.When i run it on debug mode, i never get any exception.Code...public string HelloWorld() { Process myProcess = new Process(); try { myProcess.StartInfo.UseShellExecute = false; // You can start any process, myProcess.StartInfo.FileName = @"E:\Projects\some.exe"; myProcess.StartInfo.CreateNoWindow = true; myProcess.Start(); myProcess.Close(); myProcess.Dispose(); return "Suceess";
}&n

I am connecting to a WCF based webservice. For certain methods, the input contains a list of objects/structures. When the number of items in this list increases beyond a certain number, the service fails with
HTTP/1.1 400 Bad Request when I try to test the same using SOAPUI. I tried changing the web.config file with the following changes:
<httpRuntime maxRequestLength="2097151" />
<binding name="basicHTTP" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:01:00" sendTimeout="00:01:00" maxReceivedMessageSize="4194304" maxBufferSize="98547" maxBufferPoolSize="258547">
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
</binding>
Kangkan

I am trying to do a soap request from a WebCTRL server. I went to add a service reference, entered the URL to my wsdl and (after prompting me for a username and password) it added the reference and I can create an instance of the service object and makes calls against it.
ÃÂ
Dim eval As New WebCTRL_Eval.EvalClient
eval.Open()
Debug.Print(eval.getValue("#reception_40/lstat"))
ÃÂ
I get this back from the server, on openÃÂ and getvalue.
ÃÂ
The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Basic realm="SOAP Access"'.
ÃÂ
I understand that it is the HTTP authentication that I need to setup or configure, but just dont understand how to do it.
ÃÂ
I have tried
eval.ClientCredentials.UserName.UserName = "myusername"
eval.ClientCredentials.UserName.Password = "mypassword"
ÃÂ
How do I change the client authentication scheme and provide my credentials to it?
ÃÂ
Here is what is on my app.config file.
ÃÂ
<system.serviceModel>
ÃÂ <bindings>
ÃÂ <wsHttpBinding>
ÃÂ ÃÂ <binding name="EvalSoapBinding"
ÃÂ ÃÂ ÃÂ bypassProxyOnLocal="false"
ÃÂ ÃÂ ÃÂ transactionFlow="false"
ÃÂ ÃÂ ÃÂ hostNameComparisonMode="StrongWildcard"
ÃÂ ÃÂ ÃÂ maxBufferPoolSize="524288"
ÃÂ ÃÂ ÃÂ maxReceivedMessageSize="65536"
ÃÂ ÃÂ ÃÂ messageEncoding="Text&quot

Hi everyone,
I have been developing a webapp with vs2008 with .net 3.5 and yesterday moved to vs2010 and .net 4.0. I moved the solution folder to my new computer with vs2010 and it began the process of converting it for .net 4. After this everything appears to work fine but now when i use the login page i get a HTTP Error 400 - Bad Request when redirected to the client area page when i succesfully login, i dont know why this is happening. If I have take out the %2f from the url and replaced it with / the pages loads fine? why has this suddenly stopped working?
Any ideas as to why has sudddenly started happening?!

hi all, i have been developing an mobile to asp site app. All of a sudden i am getting http 408 request timed outerror after just a couple of seconds. This can happen and then i can try again and it'll work fine. Could anyone please offer suggestions to try. I am stumped.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
public partial class login : System.Web.UI.Page
{
String username;
String password;
String phoneNumber;
String deviceType;
String dbPassword;
SqlConnection cnn = null;
SqlCommand cmd = null;
string sql = null;
SqlDataReader reader;
System.Collections.Specialized.NameValueCollection nvc;
protected void Page_Load(object sender, EventArgs e)
{
try{
Server.ScriptTimeout = 3000;
Response.Cache.SetCacheability(HttpCacheability.NoCache);
if (!string.IsNullOrEmpty(Page.Request.Headers["user