Avanade interview question

What is the difference between session and viewstate