In relation to postbacks, you can use a simple piece of code:

VB Code:
  1. Sub Page_Load( ... )
  2.     If Not IsPostBack Then
  3.        
  4.     End If
  5. End Sub

So. Just do the SQL stuff once, store into the cache, and then that's that.


In relation to storing user preferences, there are lots of ways of doing it. How are users selecting parameters, by tickboxes on forms or textboxes or what?