]> git.immae.eu Git - github/shaarli/Shaarli.git/commit - index.php
A real "Stay signed in": keep the connection
authorChristophe HENRY <christophe.henry@sbgodin.fr>
Thu, 5 Dec 2013 17:23:02 +0000 (18:23 +0100)
committerChristophe HENRY <christophe.henry@sbgodin.fr>
Thu, 5 Dec 2013 21:26:04 +0000 (22:26 +0100)
commitae00595b1ca1cdcbbef5090b1ab907c54be4aa48
tree8d5dd3266f990da84cb4516ca36b5fa5815488ba
parent067e66acfee19019ea3c1efa7f4ea305259bbd74
A real "Stay signed in": keep the connection

Instead of trusting the php session, it uses a cookie. The php session
sooner or later is distroyed if not used. It depends upon the server
settings. Using a cookie ensures that one really stays signed in.

Dev notes: I wanted to avoid merge conflicts, stay with the main
developper standards and keep the "index.php" in one file. That's why
the code may not be that nice. My own dev level my also explain.
index.php