Those are actually working. The Sessions for OrderID, giftID, etc... are removed correctly.
The products in the cart are not being removed. When I changed it to a COOKIE base cart this started happening.The code does not execute. I tried moving the code to the <HEAD> to test it and it removed the cart items properly.
But this is the success page so obviously I need the items in the cart still.
How can I fix this?