G
Guest
Hello All,
I have a method is which I am accessing a session variable several times and
every time I retrieve it from session using Session["Variable"].ToString().
Is it advisable to retrieve this session variable and store it in a string
variable and access that string variable instead of session OR can I keep
following the way I have been accessing using Session["Variable"].ToString()?
Which one is an expensive operation?
Thanks for all ur pointers!!
I have a method is which I am accessing a session variable several times and
every time I retrieve it from session using Session["Variable"].ToString().
Is it advisable to retrieve this session variable and store it in a string
variable and access that string variable instead of session OR can I keep
following the way I have been accessing using Session["Variable"].ToString()?
Which one is an expensive operation?
Thanks for all ur pointers!!