[ciapug] PHP Sessions

ciapug@cialug.org ciapug@cialug.org
Thu, 23 Oct 2003 14:23:34 -0400


Quoting Lathrop Preston <laith@prestonfam.org>:

> How are you setting the session vars...
> 
> are you issuing a session start on all pages?
> 
> Laith
> 
> _______________________________________________
> ciapug mailing list
> ciapug@cialug.org
> http://cialug.org/mailman/listinfo/ciapug
> 

Yes, I include a file on every page with session_start(); as the first line. I
set the session vars in this manner:

$_SESSION['user'] = $username;

This same method works on another Mandrake 9.1 box with Apache 2.0 as well. I'm
so totally confused...