R
RAM
Hello,
I am learning ASP.NET 2.0. Could you explain me please the difference when
to use fields of a System.Web.UI.Page-derived class and whem I must use
Session variable instead. For example I have a class PZ : System.Web.UI.Page
and I need to remember CurrentPosition (int) of aspataList. Can I use
private field of PZ class (even in multiuser ASP.NET application) or I have
to use Session["CurrentPosition"]? For unknown reason I have null in
PositionsTable (DataTable, field) after next page unload/load although I
assign non-null object to PositionsTable in some event-handler function.
Please help. Thank you!
/RAM/
I am learning ASP.NET 2.0. Could you explain me please the difference when
to use fields of a System.Web.UI.Page-derived class and whem I must use
Session variable instead. For example I have a class PZ : System.Web.UI.Page
and I need to remember CurrentPosition (int) of aspataList. Can I use
private field of PZ class (even in multiuser ASP.NET application) or I have
to use Session["CurrentPosition"]? For unknown reason I have null in
PositionsTable (DataTable, field) after next page unload/load although I
assign non-null object to PositionsTable in some event-handler function.
Please help. Thank you!
/RAM/