J
J. Ptak
Hey Tibby.
The proper way to create a session variable is:
Session["VarName"] = value;
Or you can use the Add method as:
Session.Add("VarName", value);
Either way will work.
Next to remove an item from the session state:
Session.Remove("VarName");
To clear all items from the session state use:
Session.Clear();
HTH.
Jeff Ptak
The proper way to create a session variable is:
Session["VarName"] = value;
Or you can use the Add method as:
Session.Add("VarName", value);
Either way will work.
Next to remove an item from the session state:
Session.Remove("VarName");
To clear all items from the session state use:
Session.Clear();
HTH.
Jeff Ptak