Re: [PHP] Re: why are session only working with cookies?

2005-05-18 Thread Brian V Bonini
On Mon, 2005-05-16 at 22:10, Richard Lynch wrote: Let him fight with phpIniDir some other day. Something interesting maybe: http://gfx.gfx-design.com/session_test.php Hit your browsers refresh button. I would think SID is NOT supposed to change with every page refresh..?? ?php

Re: [PHP] Re: why are session only working with cookies?

2005-05-18 Thread Jason Barnett
Brian V Bonini wrote: On Mon, 2005-05-16 at 22:10, Richard Lynch wrote: Let him fight with phpIniDir some other day. Something interesting maybe: http://gfx.gfx-design.com/session_test.php Hit your browsers refresh button. I would think SID is NOT supposed to change with every page refresh..??

Re: [PHP] Re: why are session only working with cookies?

2005-05-18 Thread Jason Barnett
Please keep questions regarding PHP problems on the list instead of in my inbox. Thanks. Brian V Bonini wrote: On Wed, 2005-05-18 at 12:58, Jason Barnett wrote: Brian V Bonini wrote: On Mon, 2005-05-16 at 22:10, Richard Lynch wrote: Let him fight with phpIniDir some other day. Something

Re: [PHP] Re: why are session only working with cookies?

2005-05-17 Thread Brian V Bonini
On Mon, 2005-05-16 at 22:10, Richard Lynch wrote: Does ?php phpinfo();? show the same /path/to/php.ini as the one you edit? Yup To be 100% certain, use 'stop' to stop Apache and then do: ps aux | grep httpd You should see only the grep httpd output, or no output at all. Did that...

Re: [PHP] Re: why are session only working with cookies?

2005-05-17 Thread Jason Barnett
Brian V Bonini wrote: ... Still no go... Other changes in php.ini DO take effect, just not this I'm at a loss By any chance are you changing PHP values through Apache's conf file? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: why are session only working with cookies?

2005-05-17 Thread Brian V Bonini
On Tue, 2005-05-17 at 09:53, Jason Barnett wrote: Brian V Bonini wrote: ... Still no go... Other changes in php.ini DO take effect, just not this I'm at a loss By any chance are you changing PHP values through Apache's conf file? I am, in ANOTHER virtual hosts container

Re: [PHP] Re: why are session only working with cookies?

2005-05-17 Thread Jason Wong
On Tuesday 17 May 2005 21:01, Brian V Bonini wrote: Still no go... Other changes in php.ini DO take effect, just not this I'm at a loss What version of PHP are you using? In older versions (have a look at the changelog) you had to configure with --enable-trans-sid, in newer versions

Re: [PHP] Re: why are session only working with cookies?

2005-05-17 Thread Richard Lynch
On Tuesday 17 May 2005 21:01, Brian V Bonini wrote: Still no go... Other changes in php.ini DO take effect, just not this I'm at a loss Does phpinfo() show trans_sid as on or off? -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Re: why are session only working with cookies?

2005-05-17 Thread Brian V Bonini
On Tue, 2005-05-17 at 15:58, Richard Lynch wrote: On Tuesday 17 May 2005 21:01, Brian V Bonini wrote: Still no go... Other changes in php.ini DO take effect, just not this I'm at a loss Does phpinfo() show trans_sid as on or off? Shows it as 0 or 1 depending on how I set it at

Re: [PHP] Re: why are session only working with cookies?

2005-05-16 Thread Brian V Bonini
On Sat, 2005-05-14 at 22:44, Richard Lynch wrote: Using Cookies, or using URL, the session DATA will be stored on the server in /tmp files -- Unless you change php.ini to store them somewhere else, in which case, again, the Cookie and URL only holds the ID and all the data goes wherever you

Re: [PHP] Re: why are session only working with cookies?

2005-05-16 Thread Jason Barnett
Brian V Bonini wrote: On Fri, 2005-05-13 at 23:31, Jason Wong wrote: On Saturday 14 May 2005 09:42, Brian V Bonini wrote: Yeah, I know session support is there and I DO NOT have it set to use ONLY cookies. But if I disable cookies in the browser stuff relying on sessions stops working. I'm using

Re: [PHP] Re: why are session only working with cookies?

2005-05-16 Thread Richard Lynch
On Mon, May 16, 2005 6:24 am, Brian V Bonini said: On Sat, 2005-05-14 at 22:44, Richard Lynch wrote: Using Cookies, or using URL, the session DATA will be stored on the server in /tmp files -- Unless you change php.ini to store them somewhere else, in which case, again, the Cookie and URL

Re: [PHP] Re: why are session only working with cookies?

2005-05-14 Thread Brian V Bonini
On Fri, 2005-05-13 at 23:31, Jason Wong wrote: On Saturday 14 May 2005 09:42, Brian V Bonini wrote: Yeah, I know session support is there and I DO NOT have it set to use ONLY cookies. But if I disable cookies in the browser stuff relying on sessions stops working. I'm using 5.0.3

Re: [PHP] Re: why are session only working with cookies?

2005-05-14 Thread Richard Lynch
On Sat, May 14, 2005 7:49 am, Brian V Bonini said: On Fri, 2005-05-13 at 23:31, Jason Wong wrote: On Saturday 14 May 2005 09:42, Brian V Bonini wrote: Yeah, I know session support is there and I DO NOT have it set to use ONLY cookies. But if I disable cookies in the browser stuff relying on

[PHP] Re: why are session only working with cookies?

2005-05-13 Thread Jason Barnett
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

Re: [PHP] Re: why are session only working with cookies?

2005-05-13 Thread Brian V Bonini
On Fri, 2005-05-13 at 17:51, Jason Barnett wrote: 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

Re: [PHP] Re: why are session only working with cookies?

2005-05-13 Thread Jason Wong
On Saturday 14 May 2005 09:42, Brian V Bonini wrote: Yeah, I know session support is there and I DO NOT have it set to use ONLY cookies. But if I disable cookies in the browser stuff relying on sessions stops working. I'm using 5.0.3 session.use_trans_sid 0 0 Set that to 1. Sessions *are*