savannah-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[savannah-help-public] [sr #109694] replace SV_THEME cookie with db stor


From: Peter Liscovius
Subject: [savannah-help-public] [sr #109694] replace SV_THEME cookie with db stored user preference
Date: Wed, 19 Jun 2019 15:51:10 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:67.0) Gecko/20100101 Firefox/67.0

Follow-up Comment #3, sr #109694 (project administration):

Yea, extra themes in addition to a default theme is not important.

Netherless it is still very confusing together with the SV_THEME cookies on
both domains savannah.gnu.org and savannah.nongnu.org
as each stores cookie in browser separate value for the duration of the
session.

Try:

1. Clear browser cookies (or retest later without clearing them in a second
test)
2. Login on savannah.gnu.org with login to 'brother nongnu' checked box. 
3. Go straight 'My Account Conf' https://savannah.gnu.org/my/admin/ (watch
gnu/nongnu)
4. Change theme dropdown, click 'Update'. (Looks ok, it looks like savannah,
also SV_THEME of savannah.gnu.org cookie changes to Savannah)
5. Follow link to the brother site, like clicking 'Get support' for going to
https://savannah.nongnu.org/support/?group=administration
   BAM! The savannah.nongnu.org shows a different theme and SV_THME cookie of
savannah.nongnu.org is the other theme name.
6. Click 'My Account Conf' https://savannah.nongnu.org/my/admin/ (watch the
diiference to point 3.!)
7. Change theme dropdown to 'DarkSlate', click .Update'. (Looks like
DarkSlate, SV_THEME of savannah.nongnu.org cookie changed to DarkSlate)
8. Click left bottom link 'Gnu Savannah' savannah.gnu.org .
   BAM! Then savannah.gnu.org shows not the DarkSlate, but the Savannah
theme.

As both sites use the same database, it is IMHO not necessary to set any
SV_THEME cookie or read any SV_THEME cookie, as the information can be read
from savane user database (and probably possible without the cost of an extra
sql query because user info must be read in any case from database?)


    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/support/?109694>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]