Synchronous reading in session #5328
Unanswered
pnicosia80
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
is there a non-asynchronous way to read and set values in session, i.e. a synchronous alternative to this:
var resultSales = await ProtectedSessionStore.GetAsync<string>("MagoSalePerson");
await ProtectedSessionStore.SetAsync("MagoSalePerson", SalesPersonValue);
I need to set some c# properties that read and write from the session.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions