Apr 9th, 2010, 10:14 PM
Hey Hannes,
That's weird, I tested it out myself and it works okay.
So just to double check: every page that you go to AFTER logging in via the script and BEFORE linking to a Form Tools page has the session_start() stuff on it, correct?
Try this: add a little code to that page (or pages) to confirm that the login information is still in sessions.
That should output a whole thwack of information about the user who just logged in. If it doesn't output anything (just "Array( )") then we know that the sessions aren't being stored properly and that's why Form Tools is booting you out.
- Ben
That's weird, I tested it out myself and it works okay.
So just to double check: every page that you go to AFTER logging in via the script and BEFORE linking to a Form Tools page has the session_start() stuff on it, correct?
Try this: add a little code to that page (or pages) to confirm that the login information is still in sessions.
PHP Code:
<?php print_r($_SESSION["ft"]); ?>
That should output a whole thwack of information about the user who just logged in. If it doesn't output anything (just "Array( )") then we know that the sessions aren't being stored properly and that's why Form Tools is booting you out.
- Ben