Note that SID is only defined if the client didn ' t sent the right cookie .
See also session_start( ) .