I am working on my localhost,why I am getting this Php warning session_regenerate_id()?..sometimes I can login withoug this error. How can i fix this,I am still learning of this framework.
Thank you in advance.
C:\yii_1.1.15\web\CHttpSession.php(181)
{
170 session_id($value);
171 }
172
173 /**
174 * Updates the current session id with a newly generated one .
175 * Please refer to {@link http://php.net/session_regenerate_id} for more details.
176 * @param boolean $deleteOldSession Whether to delete the old associated session file or not.
177 * @since 1.1.8
178 */
179 public function regenerateID($deleteOldSession=false)
180 {
181 session_regenerate_id($deleteOldSession);
182 }
183
184 /**
185 * @return string the current session name
186 */
187 public function getSessionName()
188 {
189 return session_name();
190 }
191
192 /**
193 * @param string $value the session name for the current session, must be an alphanumeric string, defaults to PHPSESSID
{
159 session_id($value);
160 }
161 /**
162 * Updates the current session id with a newly generated one .
163 * Please refer to {@link http://php.net/session_regenerate_id} for more details.
164 * @param boolean $deleteOldSession Whether to delete the old associated session file or not.
165 * @since 1.1.8
166 */
167 public function regenerateID($deleteOldSession=false)
168 {
169 if($this->getIsStarted())
170 session_regenerate_id($deleteOldSession);
171 }
172 /**
173 * @return string the current session name
174 */
175 public function getSessionName()
176 {
177 return session_name();
178 }
179 /**
180 * @param string $value the session name for the current session, must be an alphanumeric string, defaults to PHPSESSID
181 */
182 public function setSessionName($value)