Hi all. It's just a couple of days I've started playing with .NET. Now I have a question about how to make data persistent.
I thought that assigning values to the properties of a class made them persistent, without make use of Session, Cookies or posting data into forms. Something like that:
Default.aspx.cs:
public partial class _Default : System.Web.UI.Page
{
public int counter = 0;
protected void Page_Load(object sender, EventArgs e) { }
protected void myButton_Click(object sender, EventArgs e)
{
...
Go to the complete details ...