session_start |
Update |
|
Actually, it does not matter in what order I put the session_ lines, the same error occurs on each of the lines and PhpED will not continue even though this is just a "warning". There apparently is something I need to do with the session before I can use any of the session functions. I need to insure the session has started so I can put values into $_SESSION that will be carried forward to invoked web pages.
|
||||||||||||
|
Guru master
|
Are you by any chance adding data to the session that is created by php extensions? For example simplexml or something?
If so you should actually serialize() those objects before you add them to your session as PHP cannot re-instantiate objects automatically when they are not known natively. The fact that the error is triggered in session_start means that it is trying to restore an object you put in earlier but is unable to. |
||||||||||||
|
|
What you see is the ENTIRE file. There is no other code associated with this failure that adds or subtracts or executes in any way.
|
||||||||||||
|
Guru master
|
Might as well be, don't forget that a cookie is set for the entire domain. If you experimented with sessions in another file there might still be session data that is restored when you call session_start.
Try to delete any relevant cookies, perhaps that will solve your problem. |
||||||||||||
|
session start |
|
Thanks... it was session related. When I started a new session, the problem disappeared.
|
||||||||||||
|
session_start |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by