I think that my code is sending headers when creating a new session variable. This is causing problems as I have a header() function being called after the session is created. Therefore I am getting the following error:
Warning: Cannot add header information - headers already sent by (output started at C:\Intranet\php\login\session\session.class.php:40) in C:\Intranet\php\login\doLogin.class.php on line 74
I have tried putting ob_start before calling either of these classes but this is still not working - any suggestions.
Thanks