I need to be able to determine which page the user just came from to determine which links to display, such as breadcrumbs or links to the previous next item. This is basically the HTTP_REFERER functionality in PHP, but I need a way of tracking it across multiple pages. I also need to "support" the back button.
I have noticed that Faceb...
I'm currently using HTTP Analyzer V5 trial version which expires very soon.
Are there any [good] free tools for sniffing and inspecting the contents of HTTP packets, in a similar way to the above mentioned tool?
...
I read some articles about Comet tech. All of them mentioned that the long-life HTTP response should be Transfer-Encoding: chunked . I'm wondering why it should be chunked-encoded. If the response is not chunked-encoded, the client javascript can still read and parse the responded text, right?
Is there any special reason that Comet resp...
Hello,
I'm trying to create a simulation for our web Portal and need to add custom HTTP headers. I am to assume the user has already been authenticated and these headers are just for storing user information (ie, "test-header: role=user; oem=blahblah; id=123;").
I've setup a filter to extract the header information but I can't find a...
I'm in the need of a tool to help debugging a webapp - anyone know of some simple
client tools that allow you to easily send and construct customizable POST/GET/PUT/DELETE HTTP requests ?
...
Hello,
I want to get an edit token via a HTTP POST command. The API documentation says only
Edit token. You can get one of these through prop=info
Using action=query&prop=info&titles=Main Page&intoken=edit does not give me a token.
How to get it?
...
I'm writing an internal service that needs to touch a mod_perl2 instance for a long-running-process. The job is fired from a HTTP POST, and them mod_perl handler picks it up and does the work. It could take a long time, and is ready to be handled asynchronously, so I was hoping I could terminate the HTTP connection while it is running....
Is there any way to upload an entire folder using PHP?
...
Hello,
Is it possible for the apache2 user, http, to have environment variables like normal users do? How would I go about setting those up, if possible?
...
We run our web app in an Apache Tomcat 6 container. Our code uses SLF4J and Logback and rolls/purges just fine. The Tomcat log (catalina, stdout, etc.) just get deleted on a Tomcat service restart.
The problem is we also are doing some HTTP logging. As far as anyone can tell it's coming from this line in the Tomcat server.xml file.
<Va...
Hey guys,
I'm developing a REST api. To simplify my question, I have an API that allows people to create a new blogpost.
Blogposts can live in categories, and categories are specified by a category id. If a user would supply a category-id that doesn't exist, which HTTP error code is the most appropriate?
404 for Not Found seems bad, s...
After building a filepath (path, below) in a string (I am aware of Path in System.IO, but am using someone else's code and do not have the opportunity to refactor it to use Path). I am using a FileStream to deliver the file to the user (see below):
FileStream myStream = new FileStream(path, FileMode.Open, FileAccess.Read);
long fileSi...
I am attempting to download a document from my google apps account using the Google Documents List Data API and when i attempt to download a document from the server I get an HTTP error code 500.
I am able to authenticate against the documents service using the clientLogin strategy. Using the token i can then search my document feed ...
I have a web based application that allows a user to point their DNS at my IP and my app will serve up their content based on the domain name I see in the HTTP host header. I should point out this is done by the application, not by the actual HTTP server(apache), it is a rebranded app sort of thing. The problem I have is that I would l...
I'm implementing a SOAP client using Apache Axis 2. Since the SOAP client must handle heavy number of requests I am using a connection pool.
To do that I had to set a few transport layer configuration of my stub that was generated from a WSDL file:
stub._getServiceClient().getOptions().setProperty(HTTPConstants.REUSE_HTTP_CLIENT, Const...
Hi,
I have a set of asp.net pages which I wish they should only be accessible or loaded when they are loaded from an IFrame. If an attempt is made to access the pages directly via browser address bar then the page should not be displayed at all or display the message to the user.
I tried using cookies and sesions, but they are not that...
I have a web application that adds contextual information to XmlHttpRequest objects using the setRequestHeader API. I am using a custom header name (e.g. X-Foo) and a JSON structured value. It isn't part of the URL QueryString or POST body because it is meta information about the request.
Is there a practical size limit to the header ...
Suppose I have two servers and I have set up DNS round robin as following:
www IN A 192.168.0.2
www IN A 192.168.0.3
From this FAQ, it states that "all of the latest browsers (IE, Firefox, Safari, and Chrome) support a client retry (sometimes called browser retry). So when it times out because a server is down, it will retry...
Possible Duplicate:
Will it ever be possible to run all web traffic via HTTPS?
Why is the concept of having secure communication using encryption tied to confirming the website's identity in https? Wouldn't all users of the web benefit from even having their http traffic encrypted using a 256 bit key?
There are tons of sites t...
Ok so to start off, I'm not using any sort of web service. Right now I don't know a whole lot about the application receiving the XML other than it receives it. Big help there I know. I didn't write the receiving application but my company doesn't have any useful ways of testing the XML transmission phase.
I basically want to send an XM...