Simple examples on how server side and client side sessions work