Re: Re: SESSION and include

From: Date: Wed, 08 Feb 2006 16:22:01 +0000
Subject: Re: Re: SESSION and include
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-230109@lists.php.net to get a copy of this message
Fredrik Tillman wrote:
IN PAGE.PHP <?php session_start(); include "data.php"; if (empty($_SESSION['user_level'])) { echo ("Session is empty");} ?> [More code here]
Hit me if i am wrong, but doesn't it start a new session here? Would you mind removing the session_start() from that file and test it again? btw please try what i mentioned earlier. it's easier to locate the problem. Thanks. Barry -- Smileys rule (cX.x)C --o(^_^o) Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)

« previous php.general (#230109) next »