Sto avendo impostando un cookie e facendo un redirect 302
In Chrome il cookie non viene impostato (non ho ancora testato safari), in altri browser stavo avendo lo stesso problema fino a quando ho aggiunto Path=/
al un problema cookie e ora funziona.Perché non posso impostare un cookie e il reindirizzamento?
Ecco come appare l'intestazione; lo stato è 302 Found
Content-Type text/html; charset=iso-8859-1
Expires Thu, 01 Jan 1970 00:00:00 GMT
Set-Cookie alasca-flash=error-Message<Required<error-Name<Required<error-Sex<Required<error-Age<Required<;Path=/
Location /messages/sdf
Content-Length 0
Server Jetty(6.1.x)
Qualche idea sul perché il cookie non è impostato? O qualche soluzione alternativa?
Questo ha funzionato per me ' 'Set-Cookie': 'authenticatedUser = tcjebfkbskuv; Path = /'' –