I am working on a C# project. The problem is:
When program is making a post request no cookies are being sent to server. But actually, cookies are showing on browser. Because of this, program is returning back to home page and then then I redirect it to postdata method again where I am posting the data. This time I am getting correct data and cookies also present in cookie container.
I do not understand what is the problem and why post request does not accept any cookies at first attempt.