A Question of SESSION

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

____________________
tedd@xxxxxxxxxxxx
http://sperling.com


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




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux