...

View Full Version : Sessions and PHP Include Statement



cgeller100
05-28-2011, 01:30 AM
I am using sessions to store user data, but when I also use a PHP Include statement at the beginning of my file, the sessions do not work. When I comment out the include, the session works fine. Why would the include interfere with sessions and how can I rectify this?


[CODE]
<?php
session_start();
include('../Header.php');
?>
[CODE]


Thank You

Fumigator
05-28-2011, 09:39 AM
Something in Header.php is messing you up I suppose? I have no idea, I can't see that file.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum