Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

How to set cookie string

Post Reply
ForestListener
Posts: 44
Joined: Sun Jul 07, 2019 1:46 pm

How to set cookie string

Post by ForestListener »

Hello.

Answer, please, if you want.

How to set Cookie string like:
1P_JAR=2019-12-19-19; NID=194=ES-6S2hog09cRztBy1NS_E4TbVpYIOS6Uc3m96DLw7kB9O7DEY7SuCCIJmr0OHGB169kmWZG4ymgop5jXhOnu5s9gfo25qzCkO9es-e7sJrtsmQwsA6eCM9X2nttG-A8CNrSL-imFay5_bhNuE9W57HHyCXyMXIKlgURi4JhExI; ANID=AHWqTUlk_jftc4qOlFShY91X3U0yoq9yQ8toiuvWCp75kUYrnNtVw4Ufvc7DFnZb

To use them on specified WebSite (for example, Google.com).

Thank you!!!
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: How to set cookie string

Post by salvadordf »

Hi,

The CookieVisitor demo shows how to set a cookie and you can also use JavaScript to do that :
https://stackoverflow.com/questions/482 ... rom-cookie
ForestListener
Posts: 44
Joined: Sun Jul 07, 2019 1:46 pm

Re: How to set cookie string

Post by ForestListener »

Thank you, Salvador!
ForestListener
Posts: 44
Joined: Sun Jul 07, 2019 1:46 pm

Re: How to set cookie string

Post by ForestListener »

Works fine.

But remember, property Secure must be set to True, when you set Cookie with prefix _
And set to False, when you set Cookie without prefix _

Have a good day!
Post Reply