TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
M B
NA
10
25.5k
Read browser cookie using C#.Net,Asp.Net
Apr 15 2016 2:12 AM
Hi Team,
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.I used the below code to read all the cookies in browser. But, i couldn't get the cookie that i am looking for.
HttpCookie cookie = Request.Cookies["cookiename"];
//Check to make sure the cookie exists
if (cookie != null)
{
//Write the cookie value
String strCookieValue = cookie.Value.ToString();
//lblCookie.Text = "The cookie contains: " + strCookieValue + "";
}
please Help
Reply
Answers (
5
)
Asp.net
How to convert numeric string value to int number