Re: Re: old guy newbie needs some help

From: Date: Sun, 18 Jul 2004 17:41:49 +0000
Subject: Re: Re: old guy newbie needs some help
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-190923@lists.php.net to get a copy of this message
On Sunday 18 July 2004 16:08, Harlequin wrote: > New myself but have started reading around sessions and found that you need > two things enabled at the server end: > > track_vars Recent versions of PHP have track_vars enabled, period. > trans-sid I believe you mean: session.use_trans_sid This is not strictly needed. It is only needed if you want to support clients that have disabled all forms of cookies. Read the docs for more info. > and bruce is right - you need to make sure the session_start command is > immediately after the opening PHP tag. Not strictly correct. Use session_start() *before* *any* *output* - the archives keep pointing this out. A quick search on the error message "cannot send headers" will lead to loads of answers. Yet people still keep asking this question over and over. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Divide the number of servings by two when reading the directions for reconstituting anything freeze-dried -- Murphy's Laws of Camping n16 */

« previous php.general (#190923) next »