httprequest

Using My Own Callback with an HttpRequest Object

I'm writing an Http Request without the use of a library (another script was having conflits...) But Im having trouble with the scope of my object. Below is the calling script, then the Ajax_Request object follows. function loadCard(e) { var element = e.target; if($('overlay')) { return false; //something is already over the layout } ...

How to read XML data from a URL by using vb.NET and save

Hi, friends i am able to get xml file by sing bytes, perhaps which is getting some problem, can u suggest me alternate method to do the same thing to save xml file. Try Dim strUrl As String = "http://xyz.com" Dim wr As HttpWebRequest = CType(WebRequest.Create(strUrl), HttpWebRequest) Dim ws As HttpWebResponse ...

Type 'System.Web.HttpRequest' cannot be serialized

Hi There. I am trying to design an Picture Upload feature into a web site. I am using ASP.NET 3.5, C#, and WCF. I have been asked to accomplish the following: 1) Make the Uploader a Web Service 2) Return progress updates to the user as files are uploaded. 3) Log other relevant user-selected options in the database. So, I have s...

ASP.NET MVC - ActionFilterAttribute to validate POST data

Hello there, Actually I have an application that is using a WebService to retrieve some clients information. So I was validating the login information inside my ActionResult like: [AcceptVerbs(HttpVerbs.Post)] public ActionResult ClientLogin(FormCollection collection) { if(Client.validate(collection["username"], collection["passwor...

HTTP Request Object and processing local requests

I have a web application that uses the CDO Message object to email reports. For example: Dim objCDO Set objCDO = Server.CreateObject("CDO.Message") objCDO.CreateMHTMLBody "http://server/report.asp" The problem is that when it makes its request to IIS, it does not inherit the ASP session identity of the logged in user i.e. the session...

Search order of HttpRequest indexer

If you do a simple index into Request's items via Request[key], it looks in 4 locations. What's the order? Someone makes a guess on that page at "Cookies, ServerVariables, Form and QueryString". Does anyone know for sure? Documentation would be a bonus :) ...

local host network monitor and httpservlet request

I have two Tomcat servers on my machine that communicate with one another. 1) Can someone recommend on a good (free) network sniffer so I'll be able to monitor the requests/ response that being sent between them? 2) How can I inspect the request in java code? to see what the header and the body consists and their structures? thanks a...

Tracking and testing for abusive clients in PHP

Now there is a subject that could be taken many ways. Hopefully I will be able to de-obfuscate it as I describe my problem and start getting suggestions. I am developing a site that will be replacing an existing one. Historically one of the problems we have had is spider bots coming in and sucking down all out content. Now we don't m...

add text in http request string url

Hello all ok i made a midlet through which i can connect to server pages and get soem information as response. For example i made a midlet through which i acced url: http://example.com/?u=nepal&t=1 Now i want to change the value of u as per users input. I made a text field through which users can input desired name in u=* Now how ca...

listening and accessing to all the request made by firefox

I am developing an addon which will modify all the http request made by firefox. So, I want to listen and modify all the request url made by browser from different sites. How can I get an access to different http request url and modify them. Is there any event which is fired in firefox before requesting any http-request. So, please sugge...

Request Monitoring in Chrome

In Firefox, I use Firebug which allows me to view every http request my ajax calls are making. I've switched over my development to Chrome and am liking it so far. My only complaint, however, is that the developer tools don't seem to allow you to view each ajax request. I've had it happen once where the Resources panel showed multiple...

Additional Ascii char 'Â' added in JSP request

Hi, I am facing the same issue in tomcat & jsp as listed in below asp issue http://stackoverflow.com/questions/350429/classic-asp-gremlims-getting-a-ainserted-into-text-whenever-an-html-special-cha Using tomcat 5 and jsp. When I type in a string containing like ±20°C and submit to another JSP the resultant parameter after submit is ±2...

sending http request to apache through a python script

All, How do we send a http request through a python script.which will login and in turn call another link? Thanks. ...

C# - HttpWebRequest - POST

I am trying to make an Http POST to an Apache web server. I am finding that setting ContentLength seems to be required for the request to work. I would rather create an XmlWriter directly from GetRequestStream() and set SendChunked to true, but the request hangs indefinitely when doing so. Here is how my request is created: priva...

script to click a link at a certain time

I am interested in writing a script that goes to a website and clicks a link at a certain time. How do I go about doing something like this? ...

Checking if a website is up via Python

By using python, how can I check if a website is up? From what I read, I need to check the "HTTP HEAD" and see status code "200 OK", but how to do so ? Cheers Related How do you send a HEAD HTTP request in Python? ...

How to generate sample 401, 403 http responses?

I want to generate sample http 401 403 responses in fiddler, how do I do that? is there any sites I can point to get this? ...

how to request to a remote server with cookies included (PHP/javascript)

hi I want to send a request including cookies to a HTTP website. How I can do this? I sent a request without cookies as a first-time visit and tracked the header there was a cookie inside responded header like this: Set-cookie: ERIGHTS=VQPFIWEdiYEtW4Eko2T3bikz4H2dDx2FtH-zlTTRFyzW+urkCU7bwGj2w== Set-cookie: WLSESSION=1512202892.20480....

What HTTP Status Codes Should Programmers be Concerned With?

So, if you look at the List of HTTP Status Codes, there are probably a number of them that would be useful while programming. The server might handle some things, like protocols, but a lot of these codes could be useful in telling the browser the actual status of the page. So, my question is which of these status codes should we be con...

Pages loads twice on Firefox?

Hello all, I thought I had answered this question before thanks to StackOverFlow, but I hastily took an answer and it turns out not to be the real cause to my problem. I have checked my Apache Access Log: This is me browsing my web app on Google Chrome Browser. 127.0.0.1 - - [06/Jan/2010:22:17:35 +0000] "GET /webs/end/new.php HTTP/1...