static page methods limitation with ajax calls

static page methods limitation with ajax calls


Hi
I am using page methods with jquery ajax and the limitation that it
must be static is quite inconvenient. I need to retrieve some data
tables and I managed to insert them in Session. but the code become
not nice, because every time I need to write something like
dataTable = (Type)HttpContext.Current.Session["dataTable"]
what can I do about it.
thanks