02-28-2012 05:47 AM
I have a MCV application that run on pc and blackberry.On computer works fine but on blackberry when i read cookie show nothing.
In index function i create the cookie :
HttpCookie cookie =newHttpCookie("CTest","test");
Then ,I open a page and on save button I read if this cookie exist :
HttpCookie cookie =Request.Cookies["CTest"];
if(cookie ==null|| cookie.Value!="test")
ViewData["QuestMessage"]="Your browser must accept cookies!";
Always enter in this if and i receive message that my browser doesn't accept cookies, but i enter on blackberry and cookies exist. Can somebody tell me what is it the problem?