Make the user variable non-static (an instance variable).
On Aug 19, 12:26 pm, kp <[email protected]> wrote: > here is my issue: > > The issue is that when user1 enter the login page he is allowed to > login but when a second user enters on another client at that time the > user variable is cheked and at that time the value that is obtained is > of user1 role. > > so in admin master page the if condition is false and pointer is moved > to else where the session values is null and getting object reference > not set to an instance.
