Y
Yash
Hi,
I have a very basic question regarding session state management in SQL
Server.
In a SINGLE page request, if multiple session variables are accessed,
will there be multiple roundtrips to the ASPState DB to retrieve the
values of the variables?
E.g.
void func(){
a = Session["AVAL"] ;
b = Session["BVAL"] ;
}
Will this cause 2 round-trips?
I would assume that the session data is retrieved just once on first
access during the page lifecycle. Please confirm my understanding.
Thanks,
Yash
I have a very basic question regarding session state management in SQL
Server.
In a SINGLE page request, if multiple session variables are accessed,
will there be multiple roundtrips to the ASPState DB to retrieve the
values of the variables?
E.g.
void func(){
a = Session["AVAL"] ;
b = Session["BVAL"] ;
}
Will this cause 2 round-trips?
I would assume that the session data is retrieved just once on first
access during the page lifecycle. Please confirm my understanding.
Thanks,
Yash