Re: why are session only working with cookies?
| From: | Jason Barnett | Date: | Fri, 13 May 2005 21:51:58 +0000 |
| Subject: | Re: why are session only working with cookies? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-215180@lists.php.net to get a copy of this message | ||
Brian V Bonini wrote:
Everything in php.ini seems to be correct. Is there soem thign I'm supposed to pass to 'configure' at compile time?Session support is now built-in by default, so unless you specifically compile without it then you should have support for sessions in your build. Although yes, there are several php.ini settings that can modify cookie behavior: <?php /** http://php.net/manual/en/ref.session.php#ini.session.use-only-cookies Don't force PHP to only use cookie propagation for session */ ini_set('session.use_only_cookies', 0); /** http://php.net/manual/en/ref.session.php#ini.session.use-trans-sid Optional, may not even work for your version of PHP */ ini_set('session.use_trans_sid', 1); ?>