I am currently using Application.Current.Properties to store all the user sessions. What do i do to erase all of the user session from Application.Current.Properties after log out?
I don't think you want to clear all properties since you could use that to store other settings. You should just delete the items that are relevant to a session.
Answers
Application.Current.Properties.Clear()
I don't think you want to clear all properties since you could use that to store other settings. You should just delete the items that are relevant to a session.