Author |
Topic |
|
Maxime
Average Member
France
521 Posts |
Posted - 18 November 2015 : 07:15:49
|
Hello,
I look for a mod for adminitrateur to stop all sessions opened by the Member. As my English is very bad, I do not know if this mod exists on SnitzBitz? |
Cordially, Maxime
Taxation consists in so plucking the goose to get the most out of feathers with the least possible cries.(Jean-Baptiste Colbert)
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 18 November 2015 : 07:59:20
|
I would very much doubt it, a users session is specific to a user instance so only they can clear their session, an administrator can't stop another users session. |
|
|
Maxime
Average Member
France
521 Posts |
Posted - 18 November 2015 : 08:13:48
|
HuwR Thanks for your answer. I had a php forum or I could close any open session by the members. |
Cordially, Maxime
Taxation consists in so plucking the goose to get the most out of feathers with the least possible cries.(Jean-Baptiste Colbert)
|
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 18 November 2015 : 08:21:16
|
PHP does not work the same way, PHP is an application so manages it's own session data, with ASP the webserver itself manages the sessions and you can only interact with your own session. I would consider it a huge security issue if it was any other way.
|
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 18 November 2015 : 08:28:25
|
it is possible for a particular user to clear their session by directing them to a page that kills their session, however if they then open another page they will get a new session.
What did you want to accomplish by killing someone's session? |
|
|
Maxime
Average Member
France
521 Posts |
Posted - 18 November 2015 : 08:51:23
|
I have had problems on my server last two days, the forum was broken and I asked the server administrator to verify that there was. But not create an account for them so that test. I gave an existing account of a member my brother and I wanted to kill security through session to give another password to this account. I do not know if the fact of change password simply if still connected. |
Cordially, Maxime
Taxation consists in so plucking the goose to get the most out of feathers with the least possible cries.(Jean-Baptiste Colbert)
|
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 18 November 2015 : 09:29:00
|
Sessions will be killed off automatically when a user closes there browser. Passwords are not stored in a users session, they are stored in a cookie if you tell the forum to remember you when you log in. Changing a members password will require them to use the new password the next time they visit the forum or the forum tries to authenticate them. |
|
|
Maxime
Average Member
France
521 Posts |
Posted - 18 November 2015 : 09:51:09
|
Thank you very much Huwr |
Cordially, Maxime
Taxation consists in so plucking the goose to get the most out of feathers with the least possible cries.(Jean-Baptiste Colbert)
|
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 24 December 2015 : 18:40:06
|
Here's how you could do it. You won't need a dbs file, the program will create the table the first time you use it. After you tell it to kick a member, the next time that member loads a page, he/she will have cookies deleted and be logged out.
Save the following as "admin_kick_member.asp" - I edited this to allow using either user names or member ids.
"inc_header.asp"
"admin_home.asp"
|
Edited by - Carefree on 25 December 2015 01:57:14 |
|
|
Webbo
Average Member
United Kingdom
982 Posts |
Posted - 25 December 2015 : 17:17:32
|
Does that just delete their cookie until they log back in again Carefree, or does it delete their cookie continuously like a ban tool ? |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 25 December 2015 : 21:28:51
|
No, it's a single deletion. So if you change a user's password, perhaps for a security reason (e.g., suspected hack), they'll be kicked out and have to log back in. Typically a hacker who gets another password will leave a window open with a macro-controlled screen refresh so they don't get logged out due to inactivity. This would prevent that. Banning would be much easier - just set the user account level to -1. |
|
|
|
Topic |
|