curl-users
COOKIES EXPIRES AFTER CERTAIN TIME
Date: Fri, 29 Jun 2007 18:52:05 -0400
I am downloading the files from the site and I am successful into that
without any issues of size or what so ever But recently I am facing a new
problem and which is that the cookies expire after some time first I
thought that it was issue with the curl but when I goto the page of the site
from where I grab the cookies and click on the button it redirects me to the
login page. Here is the thing I grab from HTTPLiveHeader
http://cantstopme.info/cgi-bin/nph-proxy.pl/000010A/http/www.partminer.com/s
ervlet/com.ftz.security.SessionServlet=3fdestination=3d=252Findex.html
GET
/cgi-bin/nph-proxy.pl/000010A/http/www.partminer.com/servlet/com.ftz.securit
y.SessionServlet=3fdestination=3d=252Findex.html HTTP/1.1
Host: cantstopme.info
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.4)
Gecko/20070515 Firefox/2.0.0.4
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=
0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer:
http://cantstopme.info/cgi-bin/nph-proxy.pl/000010A/http/www.partminer.com/
Cookie: COOKIE%3bftz%3b%2f%3b%2epartminer%2ecom=ftz%3b;
COOKIE%3bJSESSIONID%3b%2f%3b%2epartminer%2ecom=00007HBkkq6JkHbCAa6eyOKfbp1%3
a%2d1%3b; COOKIE%3buserlevel%3b%2f%3bwww%2epartminer%2ecom=8881895020%3b;
COOKIE%3busertype%3b%2f%3bwww%2epartminer%2ecom=8164478078%3b;
COOKIE%3buseraddons%3b%2f%3bwww%2epartminer%2ecom=3113594379%3b;
COOKIE%3bemailcookie%3b%2f%3b%2epartminer%2ecom=mfair%40partminer%2ecom%3b;
COOKIE%3bgname%3b%2f%3b%2epartminer%2ecom=Melissa%3b;
COOKIE%3bsname%3b%2f%3b%2epartminer%2ecom=Fair%3b
HTTP/1.x 302 Moved Temporarily
Server: IBM_HTTP_Server/2.0.47.1 Apache/2.0.47 (Unix)
Location:
http://cantstopme.info/cgi-bin/nph-proxy.pl/000010A/http/www.partminer.com/i
ndex.html
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 1465
Content-Type: text/html
Content-Language: en-US
Expires: Fri, 29 Jun 2007 22:23:20 GMT
Pragma: no-cache
Date: Fri, 29 Jun 2007 22:23:20 GMT
Connection: close
Set-Cookie: COOKIE%3bemailcookie%3b%2f%3b%2epartminer%2ecom=%3b;
Expires=Thu, 01-Jan-1970 00:00:10 GMT; path=/cgi-bin/nph-proxy.pl/
Set-Cookie:
COOKIE%3bemailcookie%3b%2f%3b%2epartminer%2ecom=mfair%40partminer%2ecom%3b;
Expires=Sat, 28-Jun-2008 22:28:39 GMT; path=/cgi-bin/nph-proxy.pl/
Set-Cookie: COOKIE%3bpassword%3b%2f%3b%2epartminer%2ecom=%3b; Expires=Thu,
01-Jan-1970 00:00:10 GMT; path=/cgi-bin/nph-proxy.pl/
Set-Cookie: COOKIE%3bgname%3b%2f%3b%2epartminer%2ecom=%3b; Expires=Thu,
01-Jan-1970 00:00:10 GMT; path=/cgi-bin/nph-proxy.pl/
Set-Cookie: COOKIE%3bgname%3b%2f%3b%2epartminer%2ecom=Melissa%3b;
Expires=Sat, 28-Jun-2008 22:28:39 GMT; path=/cgi-bin/nph-proxy.pl/
Set-Cookie: COOKIE%3bsname%3b%2f%3b%2epartminer%2ecom=%3b; Expires=Thu,
01-Jan-1970 00:00:10 GMT; path=/cgi-bin/nph-proxy.pl/
Set-Cookie: COOKIE%3bsname%3b%2f%3b%2epartminer%2ecom=Fair%3b; Expires=Sat,
28-Jun-2008 22:28:39 GMT; path=/cgi-bin/nph-proxy.pl/
----------------------------------------------------------
http://cantstopme.info/cgi-bin/nph-proxy.pl/000010A/http/www.partminer.com/i
ndex.html
GET /cgi-bin/nph-proxy.pl/000010A/http/www.partminer.com/index.html HTTP/1.1
Host: cantstopme.info
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.4)
Gecko/20070515 Firefox/2.0.0.4
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=
0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer:
http://cantstopme.info/cgi-bin/nph-proxy.pl/000010A/http/www.partminer.com/
Cookie: COOKIE%3bftz%3b%2f%3b%2epartminer%2ecom=ftz%3b;
COOKIE%3bJSESSIONID%3b%2f%3b%2epartminer%2ecom=00007HBkkq6JkHbCAa6eyOKfbp1%3
a%2d1%3b; COOKIE%3buserlevel%3b%2f%3bwww%2epartminer%2ecom=8881895020%3b;
COOKIE%3busertype%3b%2f%3bwww%2epartminer%2ecom=8164478078%3b;
COOKIE%3buseraddons%3b%2f%3bwww%2epartminer%2ecom=3113594379%3b;
COOKIE%3bemailcookie%3b%2f%3b%2epartminer%2ecom=mfair%40partminer%2ecom%3b;
COOKIE%3bgname%3b%2f%3b%2epartminer%2ecom=Melissa%3b;
COOKIE%3bsname%3b%2f%3b%2epartminer%2ecom=Fair%3b
If-Modified-Since: Sun, 15 Jan 2006 03:10:40 GMT
If-None-Match: "5d0156-bc9-b05ac00"
HTTP/1.x 200 OK
Server: IBM_HTTP_Server/2.0.47.1 Apache/2.0.47 (Unix)
Last-Modified: Sun, 15 Jan 2006 03:10:40 GMT
Etag: "5d0156-bc9-b05ac00"
Content-Type: text/html
Vary: Accept-Encoding
Expires: Fri, 29 Jun 2007 22:23:42 GMT
Pragma: no-cache
Date: Fri, 29 Jun 2007 22:23:42 GMT
Content-Length: 3499
Connection: close
----------------------------------------------------------
And while download curl I am using the -trace-ascii option and I get zero
in all the column.
Any sort of help would be appreciated.
Thank you