my problem is that during a page load i am starting an async task, it is a time consuming calculation. If the user requests for the task to be shown on click of a button i have to render the results or show that task is still processing. for that i am using a boolean variable which is set to true when the task starts and if on click of the button the value is still true i show processing symbol
When the async task completes i set the boolean value as false and store the calculated datatable in session. The problem is that in an inproc mode, this logic works absolutely fine. but the moment i move to state server for storing the session values, both the boolean value in session and the datatable show their initial state, i.e. the state they were in when the async task started . I checked my async task,(tried background thread and async callback delegate both methods) and they were updating the seesion values when the task was completed. But somehow the changes are not committed.
Am i missing some configueration? or is there any way i can commit the changes from async task to my session variables
View Complete Post