Getting some troubles when using CookieHelper Kentico

Ha Son Nguyen Tat asked on September 21, 2015 09:36

Hi Kentico Experts, In current time, I was getting some troubles when using CookieHelper Kentico. Particularly, I've gotten an extremely trouble problem in process of setting and getting cookie value when the page was redirected to another page. For example, When it was in the same page,setting and getting value of Cookie Helper was normal. However, when it was redirected to another page, value of Cookie Helper was set and gotten to be abnormal, sometimes value of Cookie Helper removed some information in this which I didn't understand what is reason. Hoping you to help me in the difficult time. Thank you so much!

Recent Answers


Maarten van den Hooven answered on September 21, 2015 09:59

Hi, you could consider to use the ASP.NET Response.Cookies and Request.Cookies instead of the CookieHelper. (that what I did in previous projects)

For more information see ASP cookies on W3Schools or ASP.NET Cookies Overview on MSDN

But as you can see on DevNet the CookieHelper should also work.

If you still have problems, can you then show your code and give an exact example of what is going wrong so we have more detail to investigate the problem.

If this answer helped you, please vote for my answer :-)

0 votesVote for this answer Mark as a Correct answer

Maarten van den Hooven answered on September 23, 2015 07:56

Hi Ha Son Nguyen Tat, did you solved your problem and if so what was the solution?

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.