Not exactly sure what the problem is since i have tested this code on a seperate server from my new one. I'll paste the section of the code where the session_start is kept.
<?
$item = mysql_query("SELECT * FROM inventory WHERE uid = '$uid' LIMIT 1");
$isint = is_numeric($areacode);
$intlen = strlen($areacode);
session_start(); // start session
?>
anyhow the i think the problem is with the server change to an apache server. I get several warnings all about session_start();
Warning: session_start(): open(C:\PHP\sessiondata\sess_8573930e18df67b3165b3f2eb4a275c0, O_RDWR) failed: No such file or directory (2) in C:\Apache2\WWWRoot\somecompany\shoppingcart.php on line 26
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\Apache2\WWWRoot\somecompany\shoppingcart.php:13) in C:\Apache2\WWWRoot\somecompany\shoppingcart.php on line 26
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\Apache2\WWWRoot\somecompany\shoppingcart.php:13) in C:\Apache2\WWWRoot\somecompany\shoppingcart.php on line 26