Brian's Corner - Forum

Message Boards => Site News => Topic started by: brian on Oct 3, 2021, 12:48 am

Title: Cookies Lightened
Post by: brian on Oct 3, 2021, 12:48 am
News settings were not sticking very long. Cookies set by JavaScript only stay for a week on Safari. The news feed query is done server side and embedded into the home page. These settings need to be cookies.

Moved the news cookie setting code into PHP to bypass the Safari limitation.

To minimize cookies, which are sent on every HTTP request, the links cookies have been isolated to the links pages.

In other news, button colors needed to be explicitly set for Safari 15. They turned blue if they linked to anything. Problem solved, along with other maintenance and security updates.