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
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
2 Answer(s)
-
0
You can inject
IHttpContextAccessorand then remove the __PerRequestSessionCache of the ItemsMarkdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Thanks it works !
PS : Awesome support for ANZ :)
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)