Re: sessions
| From: | 1LT John W. Holmes | Date: | Thu, 05 Dec 2002 12:57:07 +0000 |
| Subject: | Re: sessions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-127135@lists.php.net to get a copy of this message | ||
> i have one script (index.php) which displays information (menu items)
> based on result from function check_valid_user(). This function checks
> if there is session_is_registered("valid_user").
>
> second script is for login.....it saves into session
> session_register("valid_user").....then it reloads parent window
> (index.php), which will then again check validity of user...but it
> does not work.....
>
> does anyone know why?
Yes... my magic PHP 8-ball says you are missing a semi-colon, period, or
quote, or your logic is wrong and something isn't working...
---John Holmes...
PS: :) Show us your code so we can see what's going on.