Jump to content

session_start() warning is coming????


Recommended Posts

Hi everyone,

 

I am facing such type of warning is coming in php file.How it can be resolved . I have also used session_start() function in php file as a first line in php code.

 

I have used it just prior to sending output to browser.But still warning is coming. I am so confused about this . Please help me .

I am sending what type of warning is coming. But i am unable to solve this warning. Please help me.

 

Such type of warning is coming-----------

 

Warning: session_start() [function.session-start]: open(/tmp/php-ses/sess_7dbaf8a556cd076ed8409da8908ea802, O_RDWR) failed: No such file or directory (2) in /home/vg002web01/12/46/1014612/web/login/user.main.php on line 2

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/vg002web01/12/46/1014612/web/login/user.main.php:2) in /home/vg002web01/12/46/1014612/web/login/user.main.php on line 2

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/vg002web01/12/46/1014612/web/login/user.main.php:2) in /home/vg002web01/12/46/1014612/web/login/user.main.php on line 2

 

Warning: Cannot modify header information - headers already sent by (output started at /home/vg002web01/12/46/1014612/web/login/user.main.php:2) in /home/vg002web01/12/46/1014612/web/login/user.main.php on line 9

 

 

Thanks,

Gagan

Link to comment
https://forums.phpfreaks.com/topic/147291-session_start-warning-is-coming/
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.