Project

General

Profile

Forcing the user to login. How?

Added by Denis Tomashenko almost 15 years ago

Earlier every 24 hours I execute

rake tmp:sessions:clear
and user was relogin even he don't close the browser.

Now if user don't close the browser, but in authentication settings "autologin" is off and "authentication required" is on, he may not login a week, a month, a year, etc.

How I can clear information about user's session and forcing the user to login?