**** Hello, I think wget cannot to store more than one cookie at the time. This is a bug? Installed from wget-cvs_1.9.1-20040319_i386.deb Some log entries following:
Best regards, Valdas **** DEBUG output created by Wget 1.9+cvs-dev on linux-gnu. Created socket 8. Releasing 0x8090868 (new refcount 1). Connected 8 to SSL 0x8090948 ---request begin--- POST /public/login.asp HTTP/1.0 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0) Accept: */* Host: multi. Connection: Keep-Alive Content-Type: application/x-www-form-urlencoded Content-Length: 97 ---request end--- [POST data: MfcISAPICommand=Login&PAGE_ID=283135&XRez=&YRez] HTTP request sent, awaiting response... ---response begin--- HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Mon, 12 Jul 2004 12:43:03 GMT Connection: keep-alive Connection: Keep-Alive Content-Length: 436 Content-Type: text/html **** Received cookie Nr1: **** Set-Cookie: ASPSESSIONIDCSSQCSQS=IEMNPBBCDFEKLBANCGOEBLPD; path=/ Cache-control: private ---response end--- 200 OK Registered socket 8 for persistent reuse. **** Stored to file cookie Nr1: **** Stored cookie multi. -1 (ANY) / <session> <insecure> [expiry none] ASPSESSIONIDCSSQCSQS IEMNPBBCDFEKLBANCGOEBLPD Length: 436 [text/html] 0K 100% 7.58 KB/s 15:41:55 (7.58 KB/s) - `./2.htm' saved [436/436] **** Saved all cookies (No1) **** Saving cookies to ./cookies.txt. Done saving cookies. DEBUG output created by Wget 1.9+cvs-dev on linux-gnu. **** Read from file cookie (No1) **** Stored cookie multi. -1 (ANY) / <session> <insecure> [expiry none] ASPSESSIONIDCSSQCSQS IEMNPBBCDFEKLBANCGOEBLPD --15:41:55-- https://multi./SSL/MultiWeb.dll => `./3.htm' Created socket 8. Releasing 0x8092178 (new refcount 1). Connected 8 to SSL 0x8092258 ---request begin--- POST /SSL/MultiWeb.dll HTTP/1.0 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0) Accept: */* Host: multi. Connection: Keep-Alive **** Sending cookie Nr1 **** Cookie: ASPSESSIONIDCSSQCSQS=IEMNPBBCDFEKLBANCGOEBLPD Content-Type: application/x-www-form-urlencoded Content-Length: 85 ---request end--- [POST data: MfcISAPICommand=Login&PAGE_ID=283135] HTTP request sent, awaiting response... ---response begin--- HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Mon, 12 Jul 2004 12:43:03 GMT Cache-Control: no-cache Content-Type: text/html **** ATTENTION! Received cookies Nr2 and Nr3: **** Set-Cookie: ltnid1=1089636115EEEEE16734; path=/; domain=.lt; Set-Cookie: ltsid1=0000000232; path=/; domain=.lt; ---response end--- 200 OK cdm: 1 2 3 4 5 6Cookie coming from multi.lt attempted to set domain to lt **** ATTENTION! Stored cookie Nr2 But NOT cookie Nr3!: **** Stored cookie multi. -1 (ANY) / <session> <insecure> [expiry none] ltnid1 1089636115EEEEE16734 Length: unspecified [text/html] 0K .. 143.00 KB/s Closed 8/SSL 0x8092258 15:41:55 (143.00 KB/s) - `./3.htm' saved [2997] Saving cookies to ./cookies.txt. Done saving cookies. DEBUG output created by Wget 1.9+cvs-dev on linux-gnu. **** Read from file cookies (Nr1, Nr2 BUT NOT Nr3!) **** Stored cookie multi. -1 (ANY) / <session> <insecure> [expiry none] ltnid1 1089636115EEEEE16734 Stored cookie multi. -1 (ANY) / <session> <insecure> [expiry none] ASPSESSIONIDCSSQCSQS IEMNPBBCDFEKLBANCGOEBLPD --15:41:55-- http://www1./scripts/Net.dll?Sivu?SID=283135 => `./4.htm' Created socket 8. Releasing 0x8086008 (new refcount 1). ---request begin--- GET /scripts/Net.dll?Sivu?SID=283135 HTTP/1.0 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0) Accept: */* Host: www1. Connection: Keep-Alive ---request end--- HTTP request sent, awaiting response... ---response begin--- HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Mon, 12 Jul 2004 12:41:54 GMT Cache-Control: no-cache Content-Type: text/html ---response end--- 200 OK Length: unspecified [text/html] 0K 10.71 MB/s Closed fd 8 15:41:55 (10.71 MB/s) - `./4.htm' saved [674] Saving cookies to ./cookies.txt. Done saving cookies. **** Content of cookies file after all sesions Only cookies Nr1 and Nr2 stored: **** # HTTP cookie file. # Generated by Wget on 2004-07-12 15:41:55. # Edit at your own risk. multi. FALSE / FALSE 0 ASPSESSIONIDCSSQCSQS IEMNPBBCDFEKLBANCGOEBLPD multi. FALSE / FALSE 0 ltnid1 1089636115EEEEE16734