enable-trans-sid appends a session id to URLs, but it works in conjunction
with php's session functions.  Simply compiling with --enable-trans-sid or
appending it to the URL yourself will not maintain session.

using functions like session_start() and the registering of session
variables ($_SESSION['something'] = "foo";) will establish/maintain a
session.

enable-trans-sid will only append a session ID to the URL for you if
needed... it's main use is for maintaining session across multiple pages
whilst not relying on cookies.

simply converting your files to .php and compiling with enable-trans-sid
will not give you sessions.


Justin French



on 30/06/02 5:47 AM, Tim Stoop ([EMAIL PROTECTED]) wrote:

> Hi people,
> 
> Just a question, I'm building components for a customer who wants some
> interactivity within his site, but still wants to build the site himself.
> One thing that would be interesting would be Session management. Now, if I
> just tell him to make all his own pages with .php ext instead of .html,
> would did be enough if --enable-trans-sid is used (and php.ini is correctly
> configured)? It seems to work here, but I want to know if I forgot
> something important...


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

Reply via email to