• Welcome to Brian's Corner.
 

Cookies Lightened

Started by brian, Oct 3, 2021, 12:48 am

Previous topic - Next topic

brian

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.


Home - Forum - Gallery - Links - Mail
Weather - About