-
-
Notifications
You must be signed in to change notification settings - Fork 757
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stay connected checkbox - Add cookie #115
Comments
@tcitworld intéressé pour regarder ce bug ? |
je viens de mettre à jour la classe Session (http://tontof.net/kriss/php5/session). quelqu'un peut tester avec la branche de dev please ? |
Oui, je regarde cela, ça me semble solvable plus facilement que les histoires de cache. |
je crois que ça doit être bon en fait ... regarde la branche de dev et dis moi quoi. |
Yep, je te dis ça tout de suite. |
Hum, non il ne me semble pas que ça fonctionne. J'ai juste viré les données de session mais gardé les cookies et je suis quand même déconnecté. |
Autant pour moi, y a pas de système de cookies du tout en fait. |
Bizarre, j'avais testé avec Chromium tout à l'heure et ça me semblait mieux ... Bon, faudra encore corriger ça. |
Can you re-test please? I made some changes today. |
It doesn't seems so. I'll see the code this week-end. |
It seems to be fixed: a0aa150 |
Can't believe I've missed this. So obvious. Well, at least it's done. |
cc'ing myself for updates :) |
And copying the stuff I wrote in #401: One of the most annoying things with both the web interface and especially the browser extensions is that the user log in is very badly remembered. Because of that I continuously need to re-login. For almost every page I want to poche, the app forgot who I am and I need to log in again which makes it very cumbersome. Instead, on one device, I should only ever need to log in once and everything should be remembered. Until I log out (if I ever do …) of course. |
It's not a bug, it's a feature. We use a Session class (http://tontof.net/kriss/php5/session) which don't use cookie. So, cookie or not for wallabag? |
I do another try after deleting all my cookies. |
There are 2 aspects of application and server work flow related to this task:
According to above, @nicosomb , what do you think: maybe will be good to write some small help file about server config if sessions are closed unexpectedly? I find, that lines like ini_set('session.gc_maxlifetime',6000) in the code are bad practice as will not necessary solve the problem and will try to take unnecessary responsibility. Or we should try to go this way? What do you think? |
If we can avoid bad pratice, it's better (we have enough bad pratices in wallabag...). But, what about people with shared hosting? |
this last commit, however, may cause some problems in some environments. And, of course, it will not fix a problem in shared environament when different applications store it's session data in one directory: http://www.php.net/manual/en/session.configuration.php#ini.session.gc-maxlifetime - session max live time will be minimum value. I think, will write some howto file. |
shred hosting itself is not a problem. |
fix of #115, server relater config value added
Yeaaah ! It works for me :) !! |
Still have this error message with my docker/nginx/php-fpm default config:
I have this since removal of |
Hi @bobmaerten , yes, you can add session.auto_start = 1 to your php.ini, or just try my last fix mariroz@6fa3f70 now or after it will be merged by @nicosomb . |
Dammit, still doesn't work. Either with your patch, nor session.auto_start = 1, nor both. |
@bobmaerten , n.p. - will try to repeat and fix, I think, tomorrow. |
It's probably my setup though. If it works on your configs, it's fine, I'll adapt the docker image to match. |
@bobmaerten, I repeated you error and hope, now it's fixed. Could you pls try updated dev branch once more? |
Just tried again, and still not functionnal. Switched back on master branch to be sure, and it work. Is it working on framabag-like config? could you list it, BTW? |
@bobmaerten, could you pls let me know a bit more about your php configuration: I need phpinfo() output, if possible. |
Sure, here it is. Maybe this will help! Le ven. 21 mars 2014 16:54:51 CET, mariroz a écrit :
|
@bobmaerten , phpinfo not received (maybe, attachment not accepted by github?), could you pls try another way. |
Sorry, I thought of that right after sending reply mail. here is a link: https://owncloud.univ-lille3.fr/public.php?service=files&t=ccae623cc108de4e4ab0807bac3202b3 |
@bobmaerten, could you pls try my last fix, see pull request #582. |
\o/ Hurray seems to work as expected! Long shot for a localhost/0.0.0.0 problem. |
:) glad to hear it. |
Can I close this issue ? \o/ |
👍 don't forget to merge #582 :) |
Done two hours ago ;-) |
pas sur que ça fonctionne. à tester.
The text was updated successfully, but these errors were encountered: