A
alex
Why is is happening????
3 lines of code:
1)if (Request.Cookies["test"] == null) // evaluates to TRUE (no cookie
from client)
2)Response.Cookies.Add("test"); // add cookie to send to client
3)if (Request.Cookies["test"] == null) // evaluates to FALSE!!!!
Why in the world adding cookie to Response cookies collection would
affect Request cookies collection. Is it a bug? I can't believe it is
by design.
3 lines of code:
1)if (Request.Cookies["test"] == null) // evaluates to TRUE (no cookie
from client)
2)Response.Cookies.Add("test"); // add cookie to send to client
3)if (Request.Cookies["test"] == null) // evaluates to FALSE!!!!
Why in the world adding cookie to Response cookies collection would
affect Request cookies collection. Is it a bug? I can't believe it is
by design.