Scott Taylor wrote:
> How exactly do sessions work?  I've heard that if cookies are disabled
> that a session will then pass it's variables in the url (through GET).
> Yet when I manually disable cookies none of my pages work (because the
> $_SESSION variables do not seem to be working).

The variables themselves aren't passed, only a session ID, and that is only
passed through GET/POST if transparent SID support is enabled (it is
disabled by default).  You can change the "session.use_trans_sid" setting in
your php.ini file or if your server supports .htaccess you can create one
and add "php_flag session.use_trans_sid on" to it.  For more information see
the manual: http://www.php.net/manual/en/ref.session.php

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

Reply via email to