Post by thbr02 » Tue Feb 21, 2023 5:17 pm

I'm looking for a way to search for cookies set at my website. I'm looking for a way to search the frontend but also how to find where they are set at backend so I can disable unwanted cookies. Does anyone have some tips for me where to start?

Active Member

Posts

Joined
Wed Jun 22, 2011 10:30 pm
Location - Sweden

Post by ADD Creative » Tue Feb 21, 2023 6:22 pm

First. viewtopic.php?t=200480

Use your web browser's developer tool to view your cookies.

If you want to find in your code search your PHP files for 'setcookie' (https://www.php.net/manual/en/function.setcookie.php). Depending on version you may want to search for 'session_start'.

Depending on your theme and extensiosn you may also have cookies being set via JavaScript.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by sarafoster » Thu Mar 09, 2023 1:59 pm

To search for cookies set at your website, you can use your web browser's developer tools to inspect the cookies stored for a specific page or domain. For example, in Google Chrome, you can open the Developer Console, go to the "Application" tab, and then expand the "Cookies" section to view all the cookies set by the current domain.
To find where cookies are set on the backend, you will need to check your server-side code to see where cookies are being created and stored. This will depend on the programming language and framework used for your website. Typically, cookies are set using server-side scripting languages like PHP or JavaScript, and the code will be located in files on your server.

Newbie

Posts

Joined
Wed Mar 01, 2023 4:02 pm
Who is online

Users browsing this forum: No registered users and 14 guests