[Fwd: Possible bug with set-cookie]

Matteo Niccoli matteo.niccoli at staff.dada.net
Thu Oct 11 13:24:35 MSD 2007


Anyone can help me about this?

-------- Messaggio Originale  --------
Oggetto: Possible bug with set-cookie
Data: Thu, 04 Oct 2007 15:24:57 +0200
Da: Matteo Niccoli <matteo.niccoli at staff.dada.net>
A: nginx at sysoev.ru

Hi,

I have this script:

<?php
setcookie('testcookie',str_repeat('a',$_REQUEST['l']), (time()+(86400*30)));
?>

If I execute it, with:

http://$url/test.php?l=1799

it works.

If I switch from 1799 to 1800, nginx stop serving this page.

It appens only with nginx. Apache is works good maybe by deleting cookie or
simple overwriting another.

How can solve this?

Bye.








More information about the nginx mailing list