uniqueness of session

This is a discussion on uniqueness of session within the PHP Language forums, part of the PHP Programming Forums category; On Apr 27, 8:09 am, Willem Bogaerts <w.bogae...@kratz.maardanzonderditstuk.nl> wrote: > > The INI ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 04-27-2007
shimmyshack
 
Posts: n/a
Default Re: uniqueness of session

On Apr 27, 8:09 am, Willem Bogaerts
<w.bogae...@kratz.maardanzonderditstuk.nl> wrote:
> > The INI setting session.use_cookies can be used to disable the use of
> > cookies for storing the session id remotely, and then I guess PHP will
> > just rely on the IP address and (probably) User-Agent header. In this
> > case, it may use the same session id for two computers under the same
> > router.

>
> It won't. Instead, PHP will rewrite your HTML output to inject the
> session parameter in your forms, URLs, etc. So when you switch off
> cookie-based session ID communication, PHP will try to use GET or POST.



this only happens if
session.use_trans_sid = 1
which it should not be (for security reasons)
allowing the rewriter to be active is a real issue, so for earlier
versions of php, yes this will come into play and various parts of the
html might be altered, but for later php versions, this doesnt happen,
which is much safer!


>
> Best regards,
> --
> Willem Bogaerts
>
> Application smith
> Kratz B.V.http://www.kratz.nl/



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 05:24 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0