not working cookie on remote login by curl
this is sajji
i want to write a php app that show users data from IBSng system to my site.
in this system user can login from :
and see their information on bellow url :
i need help immiatly , for help i created demo user :
username: demo , password: demo
u can login and see the information,
what i want to do is using cURL and get this information to show the users on their account on my site. i had been sended the data to server and save cookie for picking information up, but after getting cookie it's seems that i'm not logged in. this is my tokken cookie:
IBS_SESSID=7p9ncv5adb0im1f5fqf51oj4c1
it's seems ok , but when i request the home page login form comming up and header of that is:
HTTP/1.1 100 Continue HTTP/1.1 200 OK Date: Fri, 09 Aug 2013 22:05:01 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Set-Cookie: IBS_SESSID=7p9ncv5adb0im1f5fqf51oj4c1; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Vary: Accept-Encoding Connection: close Transfer-Encoding: chunked Content-Type: text/html; charset=UTF-8.
as you see my cookie is not vali any more :( , i don't know what i must do anymore.
i'm waiting for your PRO answers
链接地址: http://www.djcxy.com/p/62428.html上一篇: Magento前端Cookie正在被复制
下一篇: 没有通过curl远程登录工作cookie