Re: seesions problem
| From: | Seba | Date: | Fri, 27 Feb 2004 12:28:47 +0000 |
| Subject: | Re: seesions problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-178996@lists.php.net to get a copy of this message | ||
Last month I had thew same problem, but I don't remeber how I solved it.
Note that it is only a "Notice", and not an error message.
Set your php.ini to do not show notice messages.
Seba
Il ven, 2004-02-27 alle 13:16, Pance ha scritto:
> I've been using the same code to verify a persons login for more than a
> year - but I've been having some problems lately - I get past the login, but
> the session times-out after about 30 seconds or a minute. My new server is
> using PHP ver 4.3.3. I've also read the docs on "sessions" and I've taken
> their suggestion and have stopped using session_register("user_id"). I now
> use $_SESSION["user_id"]).
>
> But, like I said after about a short minute, I get the following error
> message:
>
> Notice: Undefined index: user_id in /home/pance/public_html/menu.php on line
> 13
>
> Has anybody else come accross this problem - and how did you solve it?
>
> Pance Stojkovski