View Single Post
  #2 (permalink)  
Old Jul 18th, 2006, 17:38
daninmanchester daninmanchester is offline
Junior Member
Join Date: Jul 2006
Location: Manchester
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Maintaining state information across applications and pageloads

My advice would be to use caching.
Typically I don't use session variables ad what I do is request the user data from the database each time. However if the data has already been requested the method would load it from cache rather than the database.

e.g.

Friend Function LoadMember(MemberId) as MemberObject
Dim obj as Object = Cache("Member" & MemberId.ToString)



End fucntion
Reply With Quote