Use native session functions
Native headers_sent()