Introducing Radical.sh

Forget Code launches a powerful code generator for building API's

Storing values in session in C#

It is similar to view state.

Synatx:
  1. Session[id] = value;


Example:
  1. //Storing UserName in Session
  2. Session["UserName"] = txtUser.Text;