i'm getting warning in all pages where i used session function...

warnings are displayed before redirecting to the page...
some help to solve this...

here the warning message,

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Inetpub\vhosts\agamudaiyarsalem.com\httpdocs\profile edit.php:2) in C:\Inetpub\vhosts\agamudaiyarsalem.com\httpdocs\profile edit.php on line 3

Recommended Answers

All 2 Replies

Did you do any research at all or did you just post the question? There has been numerous threads over this that will tell you the answer.

Search for them. Also the php.net manual has the answer as well.

if you are printing anything in that page, so don't print anything over there .

Also write ob_start(); after session_start();

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.