Does a cookie have to be set in the http header?
Would like to set cookies from the server (CGI - C) Can it be set after the header has been printed? Thanks. ...
Would like to set cookies from the server (CGI - C) Can it be set after the header has been printed? Thanks. ...
I have an image with an onclick. When the click event fires, I want to send an HTTP POST and have the window.location redirect to the response to the POST. How can I do that? ...
How is, for example, a shopping cart cookie set? Once something is added to the cart it "creates" the cookie but how does the next page know to send a new http header with this new cookie to the client? How is a cookie dynamically set based on user input? Is this functionality dependent on anything else? I did see this example, but ...
We're in the middle of writing a lot of URL rewrite code that would basically take ourdomain.com/SomeTag and some something dynamic to figure out what to display. Now if the Tag doesn't exist in our system, we're gonna display some information helping them finding what they were looking for. And now the question came up, do we need to...
I'm uploading a multipart chunk of data using HttpPost and feeding it into an HttpClient objects execute method as follows: HttpPost loginPost = new HttpPost(LOGIN_URL); List<NameValuePair> params = new ArrayList<NameValuePair>(); params.add(new BasicNameValuePair("_email", mEmailAddress)); params.add(new BasicNameValuePair("lpassword",...
If you want to build a website/mashup using 10+ services (twitter, facebook, linkedin, github, stackoverflow, etc.), and you also want to optimize your application... Can you check if a URL's content is expired, without having to GET all of the pages content? If you could do that, then you could keep a local cache of their content in y...
I'm trying to write my 1st Ruby program, but have a big problem. The code has to download 32 mp3 files over http. It actually downloads a few, but then timeouts. I've tried setting a timeout period, but it makes no difference. Run the code under Windows, Cygwin and Mac OS X with the same result. This is the code: require 'rubygems' requ...
Having looked at several available http server libraries I have not yet found what I am looking for and am sure I can't be the first to have this set of requirements. I need a library which presents an API which is 'pipelined'. Pipelining is used to describe an HTTP feature where multiple HTTP requests can be sent across a TCP link at a...
Hello, Is there any way to access a movie plaing in VLC through HTTP in jpeg/png format. You see, what I want, is to have a movie playing in my local VLC player, and access currently playing frame through something like http://localhost:9999/current.jpg Is there sucha way, or maybe someother tool can provide it? Thanx a lot in advan...
Hi, my software-house is developing a component for advertisement in some of ours portals. The advertisement is click based, thus the source portal that more originates click's is the winner. My preucupation is about "fake clicks", malicious HTTP clients raising requests. It's possible for a attacker to falsify the IP source address of a...
Is there a simple way to create a low priority transfer of a file? I have many files on my server and sometimes i am transferring other things too. Is there an easy way i can make my application transfer slowly when my network is busy? ...
I’ve had a bit of feedback from some threat and vulnerability folks relating to websites returning HTTP 500 response codes. Essentially the advice is that all possible measures must be taken to avoid the server throwing a 500 (i.e. extensive form input validation) which is fine. However, the advice also suggested that attempts to compro...
I have a web application where the first request may take a few seconds as some singletons are initialised. I've used the mod_proxy and jsvc construction mentioned in this question and described on this page to connect apache with tomcat (data is served via SSL) For the sample Tomcat application, everything works as it should. However,...
Hi, I find that HTTP Streaming / Server Push is quite promising for my project. Does someone have any clue on how to implement this in Windows Mobile? .NET / Native / other implementations are welcomed. Preferably with permissive license. some links on HTTP Steaming / Server Push: - Push Technology - Streaming HTTP / Server Push - Cro...
Let me say I have a route/action for showing content pages like this: /Page/{slug} where {slug} can be anything that a visitor types in but if left empty it defaults to "Default". I have my route definition handle the case where {slug} is empty or Default or anything else, so that is setup fine. Now, what do you do in those cases wh...
I am doing HTTP POSTs very frequently (>= 1/sec) to an API endpoint and I want to make sure I'm doing it efficiently. My goal is to succeed or fail as soon as possible, especially since I have separate code to retry failed POSTs. There is a nice page of HttpClient performance tips, but I'm not sure if exhaustively implementing them all w...
We have a library with very complex logic implemented in C. It has a command line interface with not too complex string-based arguments. In order to access this, we would like to wrap the library so that it can be accessed with simple XML RPC or even straightforward HTTP POST calls. Having some experience with Java, my first idea would ...
Session variables and cookies seem very similar to me. I understand the technical differences, but how do you decide when to use one vs. the other? ...
On my site i can trigger certain things using GET request like the ability to hide or delete a comment. I am not very worried but it would be pretty annoying if someone design an attack using img src= url to delete comments or emails. Is there a way to prevent this? I am using httponlycookies for the login data. if someone does img src ...
Hi, I am wondering, if I create a new HttpRequest, and put the content of a simple file inside this request, would I be able to read the content on the server side by aspx page? in other words would that be equivalent to upload control? Thanks! ...