I already had that article but probably didn't read it through.
I am not getting the answer from the server (the 302 response that redirect to welcome.php) that holds the set-cookie I need..
This is what happens:
loginUser.php with login info receive a HTTP 200 OK ret code
a welcome.php is opened (this has the cookie info I need to register)
after a few seconds a redirect to an index.php is performed
This is a log of HTTP monitor
Code:
POST /logUser.php HTTP/1.1
Accept: */*
Referer: http://www.vinix.it/login.php
Accept-Language: it
Content-Type: application/x-www-form-urlencoded
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Host: www.vinix.it
Content-Length: 86
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: PHPSESSID=7d1caa5e92e57159996ac5fb1cae3b55; __utma=233413529.929838416.1209659074.1209682496.1209728277.4; __utmz=233413529.1209659074.1.1.u
HTTP/1.1 302 Found
Date: Fri, 02 May 2008 11:38:55 GMT
Server: Apache
X-Powered-By: PHP/5.1.6
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
Set-Cookie: vinixCookie[mail]=i----------; expires=Sun, 01-Jun-2008 11:38:55 GMT
Set-Cookie: vinixCookie[ID]=2----; expires=Sun, 01-Jun-2008 11:38:55 GMT
Set-Cookie: vinixCookie[pw]=c33e--------------------; expires=Sun, 01-Jun-2008 11:38:55 GMT
Location: welcome.php
Content-Length: 0
Connection: close
Content-Type: text/html
GET /welcome.php HTTP/1.1
Accept: */*
Referer: http://www.vinix.it/login.php
Accept-Language: it
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Host: www.vinix.it
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: PHPSESSID=7d1caa5e92e57159996ac5fb1cae3b55; vinixCookie[mail]=info%40......it; vinixCookie[ID]=26112; vinixCookie[pw]=c...............................a21670dc; __utma=233413529.929838416.1209659074.1209682496.1209728277.4; __utmz=233413529.1209659074.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); __utmb=233413529; __utmc=233413529