Hi all,
i’m having some trouble with async and session value. I need some async methods that i can wait, so at certain point i’m sure that methods are completed and all the changed are pushed to the client.
I attached a commented sample, i’m doing something wrong ?
Thanks for help, i appreciate it!
Hi Simone,
please find attached a reworked version of your code.
In general the following construct ensures that the code is run in context and the client is updated when the code finished:
Application.Update(this, () =>
{
}
We´ll investigate your code closer to see why the session is cleared.
Best regards
Frank
Hi Frank,
thanks for your sample!
I have apply your workaround to the main project and seems to work.
If you have any update, please let me know.
Please login first to submit.