Client not returning server cookie

Hi friends,

During my server's communication with client, I add a cookie to the HTTP response. I also set the "Expires" property of cookie using

cookie.Expires = DateTime.Now.AddDays(1);

This used to work earlier but today I have seen that my client has stopped sending the cookie back to me in the same (TCP and HTTP) session.

I saw that in the HTTP response from my server, the Max-Age info about the cookie was missing. Does that mean that the way I set the Expires property of cookie did not work I can't seem to figure whats the problem.

Can anybody point out what could the possible problem be How can I ensure that I get the cookie back from client

Thanks n Regards,

Kunal




Answer this question

Client not returning server cookie

  • Adix

    Have you tried to examine the session with Fiddler
  • Client not returning server cookie