View Single Post

  #30 (permalink)  
Old 12-06-2006
Sanders Kaufman
 
Posts: n/a
Default Re: Session Management for Newbie

Jerry Stuckle wrote:
> Sanders Kaufman wrote:


>> One more thing - on the session token.
>> I notice that PHP puts it in the query string.
>> Is it possible to force that into a cookie?
>>
>> I know this will mess with folks who turn cookies off, but I'm
>> accounting for that elsehow.

>
> PHP can put it in a cookie if the user has cookies enabled. This is
> controlled by the session.use_cookies and session.use_only_cookie in
> your php.ini file.


I would need my app to handle that gracefully. Is there a built-in
function to programatically determine which way it's set?
Reply With Quote