Question about CHttpSession open function diffre from1.1 and 1.0

I have a Question about CHttpSession->open()'s implementation between yii1.1.6 and yii1.0.6.

Following is 1.1.6:




    public function open()

    {

        if($this->getUseCustomStorage())

            @session_set_save_handler(array($this,'openSession'),array($this,'closeSession'),array($this,'readSession'),array($this,'writeSession'),array($this,

'destroySession'),array($this,'gcSession'));

        @session_start();

    }



This is yii1.0.6




        if(session_id()==='')

        {

            if($this->getUseCustomStorage())

                session_set_save_handler(array($this,'openSession'),array($this,'closeSession'),array($this,'readSession'),array($this,'writeSession'),array($this,

'destroySession'),array($this,'gcSession'));

            session_start();

        }



Why 1.1.6 excute session_start() with ‘@’ despite of session_id’s existence?

Error will be trigged and cannot be displayed if open is called second time in one page;

Here you can see the ticket that caused the change.

Please check the link