I've been trying to accomplish this with MSXML2.ServerXMLHTTP, but this seems impossible. I really need to preserve the current session between my current ASP script and the page that I'm trying to load.
Is there any way to do this with the Chilkat HTTP Request object? Can I add the cookie header to make it work? Or is there another way?
asked Mar 31 '14 at 10:09
There are many possible ways to do it with Chilkat HTTP. In general, the HTTP protocol is stateless (I'm sure everyone knows this) and to maintain a session requires a persistent piece of information that identifies the session,and is sent with each HTTP request belonging to the session.
This can be accomplished with cookies. It can also be accomplished with ad-hoc session ID's in a request header field, or as a request parameter (such as URL-encoded within the URL for GET's or within the request body for POSTs/Puts/etc.
There is no single answer -- it really depends on how you wish to design your session handling within your application.
answered Mar 31 '14 at 14:28