Welcome Guest, Not a member yet? Register   Sign In
session_start problem
#1

[eluser]dimis[/eluser]
I have 2 models that have controls at php session variables.
So I extend model class as
Code:
class My_Model extends Model {  
    function My_Model()
    {
        parent::Model();
        @session_start();


    }
}
and the 2 models extends this class .
At my log file I see that
Code:
ERROR - 2008-11-05 12:44:05 --> Severity: Notice  -->
A session had already been started -
ignoring session_start() C:\xampp\htdocs\dslook\system\application\libraries\My_Model.php 7
.
Is there any problem with that and how can I solve it?


Messages In This Thread
session_start problem - by El Forum - 11-05-2008, 04:45 AM
session_start problem - by El Forum - 11-05-2008, 11:40 AM
session_start problem - by El Forum - 11-05-2008, 12:06 PM
session_start problem - by El Forum - 11-05-2008, 01:01 PM
session_start problem - by El Forum - 11-06-2008, 12:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB