Re: [Tiki-users] Can't keep logged in

Bernard Sfez via TikiWiki-users <[email protected]> Sat, 12 Aug 2023 10:21:35 +0300
Newsgroups gmane.comp.cms.tiki.user
Message-ID <[email protected]>
Thank Volker and Jonny,

Related to this, while I can’t say it is a direct relation, I have seen a kind reversed behavior.

On a Tiki26 I’m running (the famous kindergarten of my wife) 🤣 using Chrome OSX.

I log as admin.
I switch to another user (a parent) and do stuff
I go back to the “login” page and logout.

The user (parent) seems to be in an in between state and can still see its stuff.
For an exemple clicking on the homepage link, he is redirect to its group homepage. (Something Anonymous shouldn’t be able to see).

I have to (hard) refresh the browser from the login page to be finally considered as anonymous and see the login module.
I can’t say it is happening 100% but it happened at least 3 or 4 times now. May be it help for diagnose your issue ?

Good luck,
Bernard

> On 11 Aug 2023, at 13:18, Jonny Bradley via TikiWiki-users <[email protected]> wrote:
> 
> Thanks Volker
> 
> Interesting, a while ago Firefox and Safari brought in a maximum lifetime for client-side cookies of 7 days, so i added a mechanism to turn a client-side one into a server-side one which could last as long as requested (https://gitlab.com/tikiwiki/tiki/-/commit/7f799019) so i wonder if that has changed somehow for these browsers - will try and investigate when i get time, thanks for the report!
> 
> jonny
> 
> 
> 
>> On 10 Aug 2023, at 14:28, Volker Wysk <[email protected]> wrote:
>> 
>> Hi, Jonny!
>> 
>> It's Firefox here.
>> 
>> Volker
>> 
>> 
>> Am Donnerstag, dem 10.08.2023 um 11:00 +0100 schrieb Jonny Bradley via
>> TikiWiki-users:
>>> Hi Volker
>>> 
>>> Yes, i can confirm this seems to be broken - in Safari at least, i logged into https://tiki.org/ with "remember me" checked, quit the browser and went back and i was logged out.
>>> 
>>> It seems ok in Brave though... anyone else finding this?
>>> 
>>> jonny
>>> 
>>> 
>>> 
>>> 
>>>> On 9 Aug 2023, at 12:54, Volker Wysk <[email protected]> wrote:
>>>> 
>>>> Nope, it doesn't work. Has anyone an idea how to keep logged in? Or is this
>>>> a bug?
>>>> 
>>>> TIA,
>>>> Volker
>>>> 
>>>> Am Dienstag, dem 08.08.2023 um 15:13 +0200 schrieb Volker Wysk:
>>>>> Hi.
>>>>> 
>>>>> It appears to work now, after my settings mentioned below. Perhaps I had a
>>>>> stale cookie lying around...
>>>>> 
>>>>> Volker
>>>>> 
>>>>> Am Dienstag, dem 08.08.2023 um 10:33 +0200 schrieb Volker Wysk:
>>>>>> Hi!
>>>>>> 
>>>>>> I've upgraded my Tiki from 25 zu 26, a few days ago. I had configured it
>>>>>> such that I don't need to re-login all the time. This worked in Tiki 25.
>>>>>> 
>>>>>> Now, I have to login anew every half hour, or some time like this.
>>>>>> 
>>>>>> I've set this in the "Cookies" section in the "Log in" control panel:
>>>>>> 
>>>>>> Remember me: Always
>>>>>> Duration: 1 year
>>>>>> Refresh the remember-me cookie expiration: yes
>>>>>> Domain: (my dyndns domain name)
>>>>>> Path: /tiki/
>>>>>> 
>>>>>> Is it a bug? How do I get the Tiki 25 behavior back?
>>>>>> 
>>>>>> Cheers,
>>>>>> Volker
>>>>>> _______________________________________________
>>>>>> TikiWiki-users mailing list
>>>>>> [email protected]
>>>>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-users
>>>>> 
>>>>> _______________________________________________
>>>>> TikiWiki-users mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-users
>>>> 
>>>> _______________________________________________
>>>> TikiWiki-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-users
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> TikiWiki-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-users
>> 
>> _______________________________________________
>> TikiWiki-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-users
> 
> 
> 
> _______________________________________________
> TikiWiki-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-users



_______________________________________________
TikiWiki-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-users