On Thu, Jun 7, 2012 at 5:15 PM, Tedd Sperling <tedd@xxxxxxxxxxxx> wrote: > Hi Daniel and gang: > > Considering I'm never afraid to show my ignorance, please review the following example. > > Because of the way I normally use sessions and considering this way works for me, I thought I knew what sessions were about -- but my faith is eroding. > > Cases in point > > 1. The following is the way I normally use sessions (with COOKIES turned ON): > > http://www.webbytedd.com/b/sessions > > It works. > > 2. Considering that people may have their COOKIES turned OFF, I tried this: > > http://www.webbytedd.com/b/sessions1/ > > It works when COOKIES are turned ON, but the SID does not appear in the URL -- I find that odd. > > However, if COOKIES are turned OFF, then SID does appear in the URL, but the process of passing session variables doesn't work -- I find that confusing. What's the point of passing the SID if it isn't going to be used? > > 3. Looking for an explanation, I came across Daniel's post to the PHP manual, which follows: > > http://www.webbytedd.com/b/sessions3 > > Now I am totally bonkers. > > What am I not getting? > > Cheers, > > tedd Hi Tedd, I assume you're running PHP 5.3 or later, then session.use_only_cookies in php.ini is default set to 1, which means it doesn't accept PHPSESSID. Change that to 0, and it will probably work. - Matijn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php