Re: Re: SESSION and include

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux