Advanced search  

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]

Pages: [1]   Go Down

Author Topic: force every user to re-login  (Read 3125 times)

0 Members and 1 Guest are viewing this topic.

alanlai

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 53
    • Goddess
force every user to re-login
« 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

Nibbler

  • Guest
Re: force every user to re-login
« Reply #1 on: July 31, 2008, 05:57:53 pm »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: force every user to re-login
« Reply #2 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.
Logged

Nibbler

  • Guest
Re: force every user to re-login
« Reply #3 on: August 01, 2008, 10:24:40 am »

The login cookie does not use the cookie prefix, so that won't work.
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.