What is difference between Session and Caching ?

How to set cookie value in C#?