I put the code in the first line of my index page to test it out, and for the first second it showed a white page with an error message and then it redirected to the index page. When the page showed up it had this error message at the top...
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/l/u/n/lunchpailbooks/html/index.php:2) in /home/content/l/u/n/lunchpailbooks/html/WA_eCart/WA_eCart_Definition_PHP.php on line 465