Get Cookie values using jQuery in ASP.Net

Last Reply 9 months ago By dharmendr

Posted 9 months ago

how to get cookie value in one page to another page use jquery with ajax call .

we have use two pages . 

it's login page. i have set cookie value.

HttpCookie cookie = new HttpCookie("IsValidLogin");

cookie["UserId"] = "12345";

i will get cookie value another page.

AjaxCall('<%= cookie.set["UserID"] %>');-- How to get here cookie value. 

Please solve my problem

Posted 9 months ago