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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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.