I went through the problem when i starting the session on php. It gave an error saying that
Warning: session_start() [function.session-start]: Cannot send session
cookie – headers already sent by (output started at
/hotel/svp/WWW/html/php/auth.php:9) in /hotel/svp/WWW/html/php/auth.php on
line 10
There is a space sending before the session starts. Before all the coding starts add the session top of the page to get rid of this problem