I have also question of how to get nopcommerce customer cookie using javascript? I have tried to many things to get cookies but did not succeed. I think nopcommerce saves the cookies in httponly secure format so client side script did not read cokies values. please help how to get it?
I have also question of how to get nopcommerce customer cookie using javascript? I have tried to many things to get cookies but did not succeed. I think nopcommerce saves the cookies in httponly secure format so client side script did not read cokies values. please help how to get it?
Nop.Customer value save in http Mode. If the HttpOnly flag (optional) is included in the HTTP response header, the cookie cannot be accessed through client side script (again if the browser supports this flag). As a result, even if a cross-site scripting (XSS) flaw exists, and a user accidentally accesses a link that exploits this flaw, the browser (primarily Internet Explorer) will not reveal the cookie to a third party.
I need to get the Cookie in my method and Decrypt the value how can i do this? i use decrypt method which i created but it throwing exeption. in Nop is there any facility to decrpt the encrypted cookie?