sebsauvage/Shaarli — pull request #155 by Sbgodin (2013-12-05 22:06:09+00:00)
Title: 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 destroyed 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
developer 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.

Please review this code and, as you wish:
* Accept this code, which is not likely to happen...
* Review this code adding comments on this pull request.
* Do your own ^^