Advertisement

Disable Cookies

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Locked
Hendrikdebeer
Joomla! Apprentice
Joomla! Apprentice
Posts: 30
Joined: Fri Oct 10, 2014 1:26 pm

Disable Cookies

Post by Hendrikdebeer » Tue Mar 05, 2019 7:54 pm

Good day

How do I delete cookies on a website?

I have read through the document listed below, but can't find the Global configuration -> Statistics option under the Global settings - please advise.

https://docs.joomla.org/Disable_all_coo ... _in_Joomla

Advertisement
annahersh
Joomla! Guru
Joomla! Guru
Posts: 734
Joined: Wed Aug 15, 2018 8:23 pm

Re: Disable Cookies

Post by annahersh » Wed Mar 06, 2019 6:56 am

The document link is for Joomla 1.0 which is clearly stated in the very first sentence.

See the post at https://stackoverflow.com/questions/438 ... joomla-3-x

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Disable Cookies

Post by sozzled » Wed Mar 06, 2019 7:18 am

I'm not entirely sure that Joomla works without cookies. I could be wrong. And, more to the point, so what? Does anyone really benefit if you were able to disable cookie handling?

User avatar
AMurray
Joomla! Master
Joomla! Master
Posts: 10710
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Disable Cookies

Post by AMurray » Wed Mar 06, 2019 10:10 pm

I don't think you can delete cookies on a website (?), since they are stored locally, in the user's computer browser(s) and Joomla sites do depend on them. The best you can do is alert the user to the fact the site does use them, given them the choice of accept/deny cookies - but be prepared for degraded functionality of the site (that's as I see it anyway). The JED has many of the "this site uses cookies" alert plugins.

The irony I see is that a cookie would surely have to be used, to "remember" the fact the user doesn't want to use cookies on a website! I'm not sure how else the website would know that the user previously refused cookies if it can't use cookies to save the setting.

Cookies can be handy for many reasons - such as retaining the data-entry of a previously filled web form, or remembering passwords etc (OK if you're the sole user of a computer, not so good if it's a shared or public computer). Cookies might also be used for example to keep track of online purchases in your "shopping cart" until you check-out.

Anyway, I would agree with @sozzled that Joomla (or its extensions) are not likely to work without cookies but that could be said of any website these days.

I found a somewhat related public ticket discussion on Akeeba's site about cookies, that might clarify some of the issues about how/why Joomla uses cookies. https://www.akeebabackup.com/support/ad ... uests.html.
Regards - A Murray
Global Support Moderator

User avatar
JAVesey
Joomla! Hero
Joomla! Hero
Posts: 2826
Joined: Tue May 14, 2013 1:21 pm
Location: Cardiff, Wales, UK
Contact:

Re: Disable Cookies

Post by JAVesey » Wed Mar 06, 2019 10:49 pm

Hendrikdebeer wrote: Tue Mar 05, 2019 7:54 pmHow do I delete cookies on a website?
You don't. They are not stored on a website. They are stored in a viewer's browser.

If you mean "how do I stop a website from generating/sending them to a browser?" then my response is a simple question:

"Why do you want to do this? It's pointless and you'll break much of a website's functionality."
John V
Cardiff, Wales, UK

Joomla 5.3.1 "live" site on PHP 8.3.16 and MariaDB 10.11.10 (with b/c plugin enabled)
Joomla 5.3.1 on MAMP Pro 7.2.5 with PHP 8.3.14 and MySQL 8.0.40 (with b/c plugin enabled)

User avatar
AMurray
Joomla! Master
Joomla! Master
Posts: 10710
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Disable Cookies

Post by AMurray » Thu Mar 07, 2019 9:20 am

Of course if you use the incognito / private window functions of browsers these days, they don't save cookies - that doesn't mean websites don't use them. Refer to the help guide for your browser, look up private browsing or similar phrase (google chrome calls it "incognito", firefox, "private browsing")..
Regards - A Murray
Global Support Moderator

Advertisement

Locked

Return to “General Questions/New to Joomla! 3.x”