Force logout user specific without Membership

Hello,

I want force logout a user specific without Membership. Example : I have two users online, one admin and one user.
Admin want change the password for the user and make him inactive. After the update from admin, i need to force logout this user specific. How can i do this ? It is possible to have many users and i don't want make logout admin too so the logout need to be specific.

When a user is connected, a Session is created but i don't use Membership.

Thanks for help.
bruno_boccaraAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bob LearnedCommented:
What type of web site are you using?  I could imagine a scenario for an MVC web site, with a filter that checks for membership.
0
bruno_boccaraAuthor Commented:
A SOA website but like i say. I don't have memberships.
0
Bob LearnedCommented:
Ok, let's say inactive status, instead membership.

I was wondering if it was ASP.NET web forms, or MVC platform?
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

bruno_boccaraAuthor Commented:
I use ASP.NET web forms but in SOA platform.  It's like MVC if i don't make mistake.
0
Bob LearnedCommented:
Service-Oriented Architecture (SOA) is usually related to a web service, and not a web site.  What template was used to create the web site?
0
bruno_boccaraAuthor Commented:
ASP.Net web forms so.
0
Bob LearnedCommented:
It might be possible to store a session variable, than when cleared would indicate that the member is now inactive.  You could have a base page that checks for the active status session variable, and handle appropriate when status changes to inactive.
0
bruno_boccaraAuthor Commented:
But with session, i can't know if the variable change because he keep the same variable even if database do modification.
0
Bob LearnedCommented:
Before each page request, you would need to check something, so it could be a value in database record, or a session variable.  Once the condition is met that the user is no longer active, all requests would transfer to a logout page.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bruno_boccaraAuthor Commented:
Thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.