if i remove session_start that shows undefined index
Main Topics
Browse All TopicsHow Could i Avoid this Error
MY Ecims2.php contains 5 files
I would already set the session for myinformation.php
How Could i avoid this warning
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\wamp\www\LeftMainMenu.p
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
hello stmani2005, , Please note that in your Warning statement the php file for the warning is LeftMainMenu.php , I would guess that on line 178 of that file there is a require or include statement for the php file that has the session_start() in it. If you can not move this include statement above line 143 in LeftMainMenu.php, , then you will need to take the session_start() out of the included file and place it in the LeftMainMenu.php, , , maybe at it's beginning, or at least above line 143
the $_SESSION variable is valid for any PHP file that are in any include statement that is used in the myinformation.php or others that are included in those php files, , One single session_start( ) is all that is allowed for any php run, no matter how many separate files may be used. BUT you say something about "in frame", frames (framesets, IFrame) can change the way the php files are used, But I can not know this from what you have given so far.
Business Accounts
Answer for Membership
by: QualitySoftwareDevelopmentPosted on 2009-08-26 at 05:06:33ID: 25186621
If the session_start() is already set you don't need to do it again if the file is include in the other file where the session_start() is set.