Re: SESSION variables

From: Date: Sun, 12 Oct 2008 01:12:14 +0000
Subject: Re: SESSION variables
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-281734@lists.php.net to get a copy of this message
I did some more testing. The URL is the problem. Logins are from On Sat, 2008-10-11 at 19:59 -0400, Daniel Brown wrote: > On Sat, Oct 11, 2008 at 7:49 PM, Ron Piggott <ron.php@actsministries.org> wrote: > > I am programming a blog. > > > > index.php sets up the layout for the web page. This includes the > > heading, left hand and bottom menus. > > > > The content is loaded by the command: > > > > include($filename); > > > > the $_SESSION variables aren't available to files like blog.php . The > > session variables only work in the initial file, index.php. > > Did you remember to add session_start() to the head of the master > file that's including the other files? >

« previous php.general (#281734) next »