1
Answer

Read Cookie Value in asp.net

vijay kumar

vijay kumar

13y
1.3k
1
Hi Techies,

     I have a requirement in my application that i need to read a cookie from the browser which is created by the other application. I am not able to read the cookie value. The cookie is a session cookie which will expires when browser lost the session. I used the below code to read all the cookies in browser. But, i couldn't get the cookie that i am looking for.

Request.ServerVariables["HTTP_COOKIE"];

Please help me in reading the cookie value through .NET application.

Regards,
Vijay Kumar E,
Answers (1)
0
Administrator

Administrator

Admin 2.3k 1.3m 22y
I have a specific problem as follows. See i have one button and i have written a function onclick of this button in my code behind form. ok. Which will be executed when that button is clicked. But that code is server side. Now I want to check if any of the checkbox in my datagrid is checked or not on click of this button? how to do this? Please help? Regards. kash
0
Administrator

Administrator

Admin 2.3k 1.3m 22y
Is there a specific question here? You can still have javascript error checking with asp.net validation controls by the way.