Session starts needs to be called on any page you use the session variable.
I believe  I moved it to the top of both header files (before including the
error.php file)
On Apr 14, 2014 11:12 PM, "Vance Anderson" <notifications@github.com> wrote:

> In header.php:
>
> > -		color:orange;
> > -		font-size:14px;
> > -		}
> > -		p.statsR
> > -		{
> > -		border-style:none;
> > -		border-width:5px;
> > -		border-color:orange;
> > -		width:250px;
> > -		color:orange;
> > -		font-size:14px;
> > -		}
> > -	</style>
> > -<!-- End of things that need to be taken out -->
> > +	<?php
> > +		session_start();
>
> Does it matter which session_start() is called: header or headerAnon?
>
> Is the one in header ever called? I'm trying to think of when the session
> in header would be called, since by default the user is on the login page
> where Anon is used.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/CST316TeamJ/SportsApp/pull/32/files#r11621110>
> .
>