sorry 😉
here's a snippet from change_profile.php which is called from edit_profile.php
<? session_start();
if ($remember_pass == "true") {
setcookie ("rememberpass", "true", time()+3600);
} else {
setcookie ("rememberpass", "false", time()+3600);
}
if (session_is_registered("valid_user")) {
and here is a snippet from designer.php which is called from designer_login.php which is a login page. i want them to be able to just access designer.php if they set their profile preference to "remember password"
<?
session_start();
if ($HTTP_COOKIE_VARS["rememberpass"] == "true") {
echo "remember pass is set to true";
}
echo "cookie var = ".$HTTP_COOKIE_VARS["rememberpass"];
this outputs nothing after cookievar.
thanks for your help 😃