do not send cookie when session is passed in URL, same as it happens with GET/POST

This commit is contained in:
Stanislav Malyshev 2007-05-16 01:32:28 +00:00
parent 34c1426363
commit a66fbe2d5e

View File

@ -1275,6 +1275,7 @@ PHPAPI void php_session_start(TSRMLS_D)
p += lensess + 1;
if ((q = strpbrk(p, "/?\\"))) {
PS(id) = estrndup(p, q - p);
PS(send_cookie) = 0;
}
}