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
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to