I have a script like:
search control, where our data entry users enter a user ID and search for their data and navigate through the various pages associated with that user.
So, in my MVC application, right now I am setting up a session to maintain the user ID in the session variable. And every method on the page (e.g. editing, updating..etc) I check if the user session exists. Can I do this all over the world, so I donβt need to check every time? Like in global.asax
protected void Application_Start() { }
or write your own session verification method.
Please help me how to do this.
thanks
c # asp.net-mvc session
user1882705
source share