What alternative is there for cookies? I was thinking about cookies but wasn't sure if that was the way to go about it...

I am creating a small site which will allow you to purchase things but after they have purchased I want to redirects them to another page saying "thanks shopping with us" blah blah and a summary of what they bought on that previous page (ie. What it was, the total price etc).


Any help on how to do this?