You need to sign in to do that
Don't have an account?

AJAX (apex:actionFunction) and Controller State?
When an VisualForce AJAX (apex:actionFunction) is invovked does the controller remain in state?
Example: Controller is initialized and an sObject is retrieved and saved on a class variable called "obj" . The actionFunction is invoked, would the sObject still be available in the class variable "obj'?
I ran some tests and obj is null but I would figure that it would still be set?
Thanks
Yes, actionfunction causes a postback so the viewstate will be used to maintain the controller state. I've relied on this many times.
Can you post your code?