Reputation: 113
I am trying to read cookie without post back. I used WebMethod to save the cookie, but cannot find way to retrieve it. For some reason, I cannot find Request.Cookies collection so that I can retrieve the value of it. Any help will be appreciated!
Upvotes: 3
Views: 5502
Reputation: 4599
use this in your web method
HttpContext.Current.Request.Cookies
Upvotes: 9