Domain mapping and global cart

i tried to use domain mapping but the global cart dosent show the products on the mapped domain....i get back to some other non-mapped (subdomain)site and the products in the cart reappear!.. is this how it supposed to work? or im doing something wrong??