[aur-dev] [PATCH] Remeber user between sessions (FS#8845)
Hi all, this patch add a checkbox for "remember me" action which create a cookie for 30 days. -- Andrea `BaSh` Scarpino Arch Linux Trusted User Linux User: #430842
On Sun, Jun 29, 2008 at 5:28 AM, BaSh <bash.lnx@gmail.com> wrote:
Hi all, this patch add a checkbox for "remember me" action which create a cookie for 30 days.
I'm interested to see this working but have you tested it out? I haven't tried it yet but from what I remember the AUR also has its own timeout for sessions in the database, I don't think just keeping the cookie longer is enough to keep the sessions alive. -- Callan Barrett
Hi Callan, 2008/6/29 Callan Barrett <wizzomafizzo@gmail.com>:
I'm interested to see this working but have you tested it out? I haven't tried it yet but from what I remember the AUR also has its own timeout for sessions in the database, I don't think just keeping the cookie longer is enough to keep the sessions alive. The previous patch don't work, but I fixed it and now it works for me. (I tested it)
I watched the files which use LastUpdateTS for Sessions table in the database and I think isn't necessary edit others files for use cookie to keep the session. Thanks -- Andrea `BaSh` Scarpino Arch Linux Trusted User Linux User: #430842
rewrote with git-format-patch -- Andrea `BaSh` Scarpino Arch Linux Trusted User Linux User: #430842
On Tue, Jul 08, 2008 at 06:58:25PM +0200, Andrea Scarpino wrote:
rewrote with git-format-patch
This seems to work. Pushed a slightly modified version to testing.
participants (4)
-
Andrea Scarpino
-
BaSh
-
Callan Barrett
-
Loui