Try this for page 2:
In your version session_start() should be sent before any other output
is sent.
Jochem
Thomas Edward Lawrence wrote:
this is page1.php
Next page
this is page2.php
when I come back to page1.php from page2.php , this is result :
page1.php ( run at first time)
It is not a browser warning but a warning from the php interpretor!
The out put you see is generated by php.exe
Jochem
Thomas Edward Lawrence wrote:
Excellent , thank so much , and I also want to ask why my browser warns this
when I run page1.php at first time , whether I must make something in
ph
Excellent , thank so much , and I also want to ask why my browser warns this
when I run page1.php at first time , whether I must make something in
php.ini , I use IE6 , win2k , thank for your anwsering .
Warning: Cannot send session cookie - headers already sent by (output
started at C:\PHP\baita