here goes:
environment: apache 2.042, solaris 8, php 4.2.3
register_globals are on (small intranet implementation, security risk low)
/tmp directory is owned by apache user (nobody)
sessions are enabled, session.auto_start is off
login script, initiating session is below; variables are returned from DB query:
session_name('creative_auth_session');
session_start();
session_register('$basic_access');
session_register('$admin_access');
session_register('$user_dept');
session_register('$user_logon');
session_register('$user_id');
header("Location:../copy/index.php");
redirection to template page, with the first lines as the following:
session_name();
session_start();
if (!$basic_access)
{
header("login_retry_page.php");
}
elseif ($basic_access == "0")
{
header("login_retry_page.php");
}
else
{
echo "the proper page";
}
the cookie is being set, but the variables set with session_register are not, apparently, because authentication if failing and redirecting to login page. this has been successfully done without sessions and just cookies, so the DB results are fine.
any clues, obvious silly oversights? thanks once again for your time.
knelson