Michael Satterwhite <satterwh.X$NO$S$PAM@weblore.com> wrote in
news:Ow8Qd.57655$sr1.32504@fe2.texas.rr.com:
[color=blue][color=green][color=darkred]
>>> > The cookie SID storage method is going to result in the client
>>> > sending the SID cookie with each request to a qualified directory
>>> > regardless of the target page being a static file or script.
>>>
>>> Exactly what are you referring to here? I'm feeling very ignorant at
>>> this point.[/color]
>>
>> I don't know where to begin. You have read all the PHP docs that
>> pertain to sessions, right?[/color]
>
> Absolutely ... and have been using sessions. My question here is
> specific to: "What are you referring to by the "cookie SID storage
> method"?
>
> I know that I can send the SID in many ways, but it is my
> understanding that *I* have to send it (post, cookie, whatever).[/color]
Do yourself a favour and get the Firefox browser:
http://www.mozilla.org/products/firefox/
and then install the LiveHTTPHeaders extension:
http://livehttpheaders.mozdev.org/
With those installed, you can easily see the HTTP header
"conversation" between your browser and the server.
This will allow you to see what happens when you are
using sessions, including what happens when you are
using sessions, cookies are enabled, and you don't
explicitly "send" the session ID.
PHP will automatically propogate the session id in the
URL query string, if it can't be maintained in a cookie.
Try it yourself and see ;-)
Where I've found you may have to have your own code
explicity include the session id is when using the
header() function to redirect to a different page.
--
Dave Patton
Canadian Coordinator, Degree Confluence Project
http://www.confluence.org/
My website:
http://members.shaw.ca/davepatton/