SteveO Posted May 23, 2008 Share Posted May 23, 2008 Is there any way to use HTTP Post with your browsers cookies? I don't have a code example, I'm just asking if it's possible. Scenario: I want to log into a website, then HTTP POST to go to a page. Whenever I HTTP POST, it doesn't use the cookies from the browser, so technically I'm not even logged in. Is there any way to use HTTP POST with the browsers cookies? Link to comment Share on other sites More sharing options...
weaponx Posted May 23, 2008 Share Posted May 23, 2008 This might be tricky, you can modify the script here:#525259You will need to add a new request header:$oHTTP.SetRequestHeader('Cookie','key=value')Here is an example in ASP:http://blog.netnerds.net/2006/04/asp-susta...using-vbscript/I think it uses POST to login to whatever website, then it uses the cookie from the returned header on subsequent calls. Link to comment Share on other sites More sharing options...
SteveO Posted May 24, 2008 Author Share Posted May 24, 2008 Ok, Thanks WeaponX, I'll give this a try. Really appreciate it. =) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now