"Cannot send session cookie - headers already sent error". means you've outputted some data on the page and then tried to set headers.
อ่านต่อ