When the first page is loaded and the user does not
have any $_SESSION['profile'], biscuits runs function sessionStart().
This calls the js function autoLogin(), which loads
The js functions for login are in biscuits-login.js .
Visitors Device & Browser Footprint
This script should automatically log in this user based on a
'footprint' that this user left on the database.
The footprint should uniquely identify this user or visitor
The IP address should form only a part of this footprint
as it is very common for a group of visitors to be together
in a classroom on the same IP address.
Another way to achieve auto login is to save the password as a cookie
every time the user Logs in
and then when the visitor returns and the $_SESSION['profile'] is empty,
we get that cookie value and log this user on.
Fatal error: Call to a member function addUnloadCode() on a non-object in /home/leonwool/public_html/biscuits-12y/help/cookies.php on line 4