0
sbenfares created
Hi,
In my app, i'm using SessionCache LoginInformation ViewModel in my layout view to display the user.surname.
I have a form for updating the surname if needed, how can i update the SessionCache LoginInformation after posting my form ?
Because now it keeps the cached value, and it's different from my database value.
Thanks
2 Answer(s)
-
0
You can inject
IHttpContextAccessor
and then remove the __PerRequestSessionCache of the Items -
0
Thanks it works !
PS : Awesome support for ANZ :)
Have an answer to this question?
Log in
and write your answer.