force every user to re-login force every user to re-login
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

force every user to re-login

Started by alanlai, July 31, 2008, 05:54:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

alanlai

Lately I got many user on my site.

And I really want them to re-login using there password

so how can I clear there password saved "cookie", and force them back to the login page?

because I really want to clear so "non-active" users~

thanks

Nibbler

You could empty the sessions table using phpmyadmin, but I don't really see the point.

Joachim Müller

You could as well change your cookie name. This would force everyone to log in once more - it would be the same as if you were deleting all your user's cookies. Make sure to use a valid cookie name (no dots or similar invalid characters). As Nibbler suggested though: it's very hard to understand what you're trying to accomplish and what should be the benefit except annoying your users.

Nibbler

The login cookie does not use the cookie prefix, so that won't work.