coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: alanlai on July 31, 2008, 05:54:47 PM

Title: force every user to re-login
Post by: alanlai on July 31, 2008, 05:54:47 PM
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
Title: Re: force every user to re-login
Post by: Nibbler on July 31, 2008, 05:57:53 PM
You could empty the sessions table using phpmyadmin, but I don't really see the point.
Title: Re: force every user to re-login
Post by: Joachim Müller on August 01, 2008, 07:41:57 AM
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.
Title: Re: force every user to re-login
Post by: Nibbler on August 01, 2008, 10:24:40 AM
The login cookie does not use the cookie prefix, so that won't work.