cookie in google chromehttp://forums.asp.net/t/1798121.aspx/1?cookie+in+google+chromeFri, 04 May 2012 13:30:09 -040017981214956556http://forums.asp.net/p/1798121/4956556.aspx/1?cookie+in+google+chromecookie in google chrome <p>Hi,</p> <p>I was able to save and read cookie using -Request.Cookies - in IE and FireFox.&nbsp; But I could not read in Chrome.&nbsp; It is always null.&nbsp; The following is my code to save and read the cookie:</p> <p>//Save</p> <p>HttpCookie test= new HttpCookie(&quot;data&quot;);</p> <p>test.Values[&quot;Name&quot;] = &quot;hello&quot;;&nbsp;</p> <p>&nbsp;</p> <p>//Read</p> <p>if (Request.Cookies[&quot;data&quot;] != null) &nbsp;</p> <p>txtNm.Text = Server.HtmlDecode(Request.Cookies[&quot;data&quot;][&quot;Name&quot;].ToString());</p> <p>&nbsp;</p> <p>Can someone help me?</p> <p>Thanks!</p> <p>&nbsp;</p> 2012-04-29T02:44:54-04:004956597http://forums.asp.net/p/1798121/4956597.aspx/1?Re+cookie+in+google+chromeRe: cookie in google chrome <p>check this link this may help you out</p> <p><a href="https://support.google.com/chrome/bin/answer.py?hl=en&amp;answer=95647&amp;p=cpn_cookies">https://support.google.com/chrome/bin/answer.py?hl=en&amp;answer=95647&amp;p=cpn_cookies</a></p> 2012-04-29T05:45:35-04:004956723http://forums.asp.net/p/1798121/4956723.aspx/1?Re+cookie+in+google+chromeRe: cookie in google chrome <p>check your google chrome settings....</p> <p>Thanks,</p> 2012-04-29T10:19:24-04:004956745http://forums.asp.net/p/1798121/4956745.aspx/1?Re+cookie+in+google+chromeRe: cookie in google chrome <p>Hello,</p> <p>If it does not save only in Chrome, then it's a browser setting that prevents the cookie from saving.</p> <p>Go to the setting in Google Chrome. It will open up a new tab. From there, click &quot;Under the Hood&quot;. Under the &quot;Content Settings&quot;, you will see a sub category, <strong>Cookies.&nbsp;</strong>From the radio button list, choose&nbsp;<strong>Allow local data to be set (recommended).&nbsp;</strong>And also make sure you have&nbsp;<strong>unchecked&nbsp;</strong>&quot;<span>Block third-party cookies and site data&quot;.&nbsp;</span></p> <p><span>Try again. Now it will work.</span></p> 2012-04-29T10:56:59-04:004956986http://forums.asp.net/p/1798121/4956986.aspx/1?Re+cookie+in+google+chromeRe: cookie in google chrome <p>Thank you all for replying.&nbsp; I have already did what you have suggested but it still does not work.</p> <p>&nbsp;</p> <p>&nbsp;</p> 2012-04-29T14:17:37-04:004956991http://forums.asp.net/p/1798121/4956991.aspx/1?Re+cookie+in+google+chromeRe: cookie in google chrome <p>Hi,</p> <p>It's strange. I suspect your Chrome installation is not stable. Can you reinstall it or can you check it on another PC?</p> 2012-04-29T14:24:35-04:004956995http://forums.asp.net/p/1798121/4956995.aspx/1?Re+cookie+in+google+chromeRe: cookie in google chrome <p>I also tried on another pc with Windows XP and Windows 7.&nbsp; Uninstall Chrome on both and reinstall but still the same.&nbsp; That's really strange. :-(</p> 2012-04-29T14:35:18-04:004965747http://forums.asp.net/p/1798121/4965747.aspx/1?Re+cookie+in+google+chromeRe: cookie in google chrome <p>Hi,</p> <p>The problem may be due to your don't enable cookie in Google Chrome. You can enable cookie in chrome with the below link.</p> <p><a href="http://support.google.com/accounts/bin/answer.py?hl=en&amp;answer=61416">http://support.google.com/accounts/bin/answer.py?hl=en&amp;answer=61416</a></p> <p><a href="http://www.chromefans.org/chrome-tutorial/how-to-manage-cookies-data-in-google-chrome.htm">http://www.chromefans.org/chrome-tutorial/how-to-manage-cookies-data-in-google-chrome.htm</a></p> 2012-05-04T13:30:09-04:00