Ramcin

WinHTTP Cookies problem

2 posts in this topic

#1 ·  Posted

Hi, i have one problem. I cant get cookies to msgbox...

Only result:

http://imgur.com/a/HPATq

 

How to get this cookie ?
Here is code:

[...]

Func get_area_id()

    $area_request = _WinHttpOpenRequest($http_connect, "GET", "/hunt_conf.php", "HTTP/1.1", $http_host)
    _WinHttpSendRequest($area_request)
    _WinHttpReceiveResponse($area_request)
    Global $sHeader = _WinHttpQueryHeaders($area_request)
    MsgBox(0, "Header", $sHeader) ;<==== result
    
EndFunc

 

VERY SORRY FOR MY BAD ENGLISH

Share this post


Link to post
Share on other sites



#2 ·  Posted

are you sure the php file creates a cookie?

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now