Error with change of code
this error came up when entering:
<?php if (!isset($_SESSION)) { session_start(); } ?>
Parse error: syntax error, unexpected '<' in /home/content/54/7456454/html/users_Profile.php on line 4
So I went to the first code that you referred to,
if (!isset($_SESSION)) { session_start(); } ?>
and the error went away.
the first 5 lines now read:
<?php
error_reporting(E_ALL);
ini_set('display_errors',1);
if (!isset($_SESSION)) { session_start(); } ?>
<?php
In regards to the pre-populated form with the name and profile not in our database, I was able to see that perhaps both remember me and auto-login had to be checked? My computer is remembering the cookie, however, only remembers the e-mail not the complete profile. Complete profile is not entered on the site until the registration page or the login. So Autologin only get the person to an empty profile page now. Perhaps that is what you saw, not the stranger customer not in our database.
Is my solution to only leave the remember me checked box on the login? and not both remember me and the auto login?
Thanx, Jason,