Session headers (in fact ANY headers) cannot be sent if you have already sent any output to the browser.
Check you aren't doing any output before this line (i.e. print, echo etc.). Also check that there aren't any new lines or spaces before your <?php tags!